# run-smi-drift-detector

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

ALG-2025-029 SMI Drift Detection. Multi-threshold alerting on pre-computed drift sigma (||μ_current - μ_baseline|| / σ). Thresholds at 1.5σ/2.0σ/2.5σ/3.0σ with small-baseline downgrade (n<30) and improving-direction annotation.

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

- `drift_sigma` *number* (required) — Input parameter: drift_sigma
- `drift_direction` *string* (required) — Input parameter: drift_direction
- `measurement_count` *integer* (required) — Input parameter: measurement_count

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__microgram__run-smi-drift-detector",
    "arguments": {
      "drift_sigma": 0,
      "drift_direction": "",
      "measurement_count": 0
    }
  }
}
```

## Related

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