# decision-matrix

`station__signal-theory__decision-matrix` · external (needs EXECUTION_BACKEND_URL configured) · domain `signal-theory` · pv-relevance `pv-core`

Compute SDT decision matrix metrics from a 2×2 classification table (hits, misses, false alarms, correct rejections). Returns sensitivity, specificity, PPV, NPV, accuracy, F1, MCC, d-prime, and response bias.

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

- `hits` *integer* (required) — True positives
- `misses` *integer* (required) — False negatives
- `false_alarms` *integer* (required) — False positives
- `correct_rejections` *integer* (required) — True negatives

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__signal-theory__decision-matrix",
    "arguments": {
      "hits": 0,
      "misses": 0,
      "false_alarms": 0,
      "correct_rejections": 0
    }
  }
}
```

## Related

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