Microgram: drug-comparison
Differential drug safety classification: compares two drug profiles by pre-computed signal ratio and PRR ratio to determine which has worse safety profile
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
signal_count_anumberrequired — Input variable signal_count_asignal_count_bnumberrequired — Input variable signal_count_bsignal_rationumberrequired — signal_count_a / signal_count_b (999 if b=0 and a>0, 1.0 if both=0)prr_rationumberrequired — prr_max_a / prr_max_b (999 if b=0 and a>0, 1.0 if both=0)
Example call
POST /api/mcp
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "station__algovigilance__microgram-drug-comparison",
"arguments": {
"signal_count_a": 0,
"signal_count_b": 0,
"signal_ratio": 0,
"prr_ratio": 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-drug-comparison/raw.md — this page's Markdown twin