# run-pharma-head-to-head

`station__microgram__run-pharma-head-to-head` · external (needs EXECUTION_BACKEND_URL configured) · domain `microgram` · pv-relevance `pv-core`

Head-to-head comparison of two pharmaceutical companies based on FAERS data. Compares report volume, death rate, and signal count to determine which company has the stronger safety profile and the magnitude of the difference.

> **Note:** This tool routes through an external execution backend. If `EXECUTION_BACKEND_URL` is unset on the server, calls return JSON-RPC error `-32603 "Tool execution backend not configured"`. Tools with `backend: native` execute in-process and are always callable.

## Agent metadata

- `idempotent`: unknown
- `read_only`: unknown
- `expected_latency_ms`: unknown (not yet contract-tested)
- `cost_tokens_estimate`: unknown

## Input schema

- `company_b_signals` *integer* (required) — Input parameter: company_b_signals
- `company_a_deaths` *integer* (required) — Input parameter: company_a_deaths
- `company_b_deaths` *integer* (required) — Input parameter: company_b_deaths
- `company_a_signals` *integer* (required) — Input parameter: company_a_signals
- `company_b_reports` *integer* (required) — Input parameter: company_b_reports
- `company_a_reports` *integer* (required) — Input parameter: company_a_reports

## Example call

```json
POST /api/mcp
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__microgram__run-pharma-head-to-head",
    "arguments": {
      "company_b_signals": 0,
      "company_a_deaths": 0,
      "company_b_deaths": 0,
      "company_a_signals": 0,
      "company_b_reports": 0,
      "company_a_reports": 0
    }
  }
}
```

## Related

- [/tools](/tools) — all 3062 tools
- [/tools/microgram__run-pharma-head-to-head](/tools/microgram__run-pharma-head-to-head) — HTML page
- [/tools/microgram__run-pharma-head-to-head/json](/tools/microgram__run-pharma-head-to-head/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
