# compute-benefit-risk

`station__calculate__compute-benefit-risk` · external (needs EXECUTION_BACKEND_URL configured) · domain `calculate` · pv-relevance `non-pv`

Compute a quantitative benefit-risk ratio using the QBR framework. Scores benefit (efficacy × population impact) against risk (severity × frequency × detectability).

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

- `efficacy_score` *number* (required) — Drug efficacy score (0.0-1.0)
- `population_impact` *number* (required) — Fraction of population that benefits (0.0-1.0)
- `risk_severity` *number* (required) — Severity of the primary risk (0.0-1.0, where 1.0 = fatal)
- `risk_frequency` *number* (required) — Frequency of the primary risk (0.0-1.0)
- `risk_detectability` *number* (required) — How detectable is the risk before harm (0.0-1.0, where 1.0 = easily detected)

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__calculate__compute-benefit-risk",
    "arguments": {
      "efficacy_score": 0,
      "population_impact": 0,
      "risk_severity": 0,
      "risk_frequency": 0,
      "risk_detectability": 0
    }
  }
}
```

## Related

- [/tools](/tools) — all 3062 tools
- [/tools/calculate__compute-benefit-risk](/tools/calculate__compute-benefit-risk) — HTML page
- [/tools/calculate__compute-benefit-risk/json](/tools/calculate__compute-benefit-risk/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
