# run-pharma-competitive-rank

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

Classifies a company's competitive position in FAERS relative to a named competitor. Accepts a pre-computed relative_ratio (total_reports / competitor_total_reports) and applies threshold comparisons to assign dominant, peer, or minor reporter status.

> **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

- `competitor_total_reports` *integer* (required) — Input parameter: competitor_total_reports
- `relative_ratio` *number* (required) — Input parameter: relative_ratio
- `total_reports` *integer* (required) — Input parameter: total_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-competitive-rank",
    "arguments": {
      "competitor_total_reports": 0,
      "relative_ratio": 0,
      "total_reports": 0
    }
  }
}
```

## Related

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