# run-label-gap-detector

`station__microgram__run-label-gap-detector` · external (needs EXECUTION_BACKEND_URL configured) · domain `microgram` · pv-relevance `pv-core`

Detects when a FAERS signal exists for a drug-event pair but the event is NOT on the drug current label

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

- `on_label` *boolean* (required) — Input parameter: on_label
- `case_count` *integer* (required) — Input parameter: case_count
- `prr` *number* (required) — Input parameter: prr
- `signal_detected` *boolean* (required) — Input parameter: signal_detected

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__microgram__run-label-gap-detector",
    "arguments": {
      "on_label": false,
      "case_count": 0,
      "prr": 0,
      "signal_detected": false
    }
  }
}
```

## Related

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