# run-maxsprt-gate

`station__microgram__run-maxsprt-gate` · external (needs EXECUTION_BACKEND_URL configured) · domain `microgram` · pv-relevance `pv-core`

MaxSPRT (maximized sequential probability ratio test) gate for sequential signal surveillance. Evaluates observed-to-expected ratio against critical value with look-limit enforcement.

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

- `critical_value` *integer* (required) — Input parameter: critical_value
- `expected_count` *integer* (required) — Input parameter: expected_count
- `observed_count` *integer* (required) — Input parameter: observed_count
- `max_looks` *integer* (required) — Input parameter: max_looks
- `current_look` *integer* (required) — Input parameter: current_look

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__microgram__run-maxsprt-gate",
    "arguments": {
      "critical_value": 0,
      "expected_count": 0,
      "observed_count": 0,
      "max_looks": 0,
      "current_look": 0
    }
  }
}
```

## Related

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