# run-autopilot-pharma-sweep

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

Autopilot decision gate for pharmaceutical company monitoring sweep. Takes company FAERS metrics and determines: alert level and action. Uses absolute thresholds (microgram trees cannot compute ratios between two variables). For delta-based detection, compute ratios upstream in the sweep script and pass as pre-computed inputs (death_ratio, report_delta_pct).

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

- `new_signals` *integer* (required) — Input parameter: new_signals
- `death_count` *integer* (required) — Input parameter: death_count
- `total_reports` *integer* (required) — Input parameter: total_reports
- `death_ratio` *number* (required) — Input parameter: death_ratio
- `report_delta_pct` *number* (required) — Input parameter: report_delta_pct

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__microgram__run-autopilot-pharma-sweep",
    "arguments": {
      "new_signals": 0,
      "death_count": 0,
      "total_reports": 0,
      "death_ratio": 0,
      "report_delta_pct": 0
    }
  }
}
```

## Related

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