# run-eig-priority-ranker

`station__microgram__run-eig-priority-ranker` · external (needs EXECUTION_BACKEND_URL configured) · domain `microgram` · pv-relevance `pv-core`

EIG Priority Ranker (ALG-2025-012): ranks which drug-event pair to investigate next. EIG(c) = σ⁻¹ · |θ - 0.5| · Σw(1-σ). Three factors: uncertainty (σ⁻¹ — higher uncertainty = more to learn), extremity (|θ - 0.5| — how far from 50/50 = how decisive), propagation (Σw(1-σ) — how many adjacent drugs benefit from this investigation).

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

- `propagation_count` *integer* (required) — Input parameter: propagation_count
- `uncertainty_level` *string* (required) — Input parameter: uncertainty_level
- `extremity_level` *string* (required) — Input parameter: extremity_level

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__microgram__run-eig-priority-ranker",
    "arguments": {
      "propagation_count": 0,
      "uncertainty_level": "",
      "extremity_level": ""
    }
  }
}
```

## Related

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