Microgram: autopilot-pharma-sweep
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).
Taxonomy
Linnaean classification joined from the algovigilance taxonomy index via the parent config's rank.
| Rank | Value |
|---|---|
| domain | Substrata |
| kingdom | Constructa |
| phylum | Configa |
| class | station-config |
| order | algovigilance |
| family | mcp-tool-config |
Characteristics:
- substrate:
config - domain:
pv - lifecycle:
continuous - authority:
read - compounding:
producer - io:
agent-request→tool-response
Input schema
total_reportsnumberrequired — Input variable total_reportsdeath_countnumber — Input variable death_countnew_signalsnumber — Count of reactions with PRR > 2 AND chi2 > 4 from upstream analysisdeath_rationumber — Pre-computed death_count/prior_deaths ratio from sweep script. >1.2 = spike.report_delta_pctnumber — Pre-computed (total - prior) / prior * 100 from sweep script. >10 = surge.
Example call
POST /api/mcp
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "station__algovigilance__microgram-autopilot-pharma-sweep",
"arguments": {
"total_reports": 0
}
}
}How to invoke from a client
From any MCP-aware client, add https://algovigilance.com/api/mcp as an MCP server, then call this tool by name. From a raw HTTP client, send the JSON-RPC body above to /api/mcp.
Agent-friendly formats
Working inside an AI assistant? Use the Copy for AI button at the top of this page (or view the raw Markdown) to paste a clean, token-budgeted version of this tool's contract into your conversation.
Related
- All tools (7718 live)
- /api/mcp — endpoint
- /AGENTS.md — agent guide
- /tools/algovigilance__microgram-autopilot-pharma-sweep/raw.md — this page's Markdown twin