# Microgram: algo-locate-root-cause

`station__algovigilance__microgram-algo-locate-root-cause` · native (always callable) · domain `algovigilance` · pv-relevance `pv-core`

Algorithm 10 (LOCATE): Boundary contraction search. Takes a failure and systematically narrows the search space through successive comparisons (κ) at each location (λ), halving the boundary (∂) until root cause is located.

## Agent metadata

- `idempotent`: true
- `read_only`: true
- `expected_latency_ms`: unknown (not yet contract-tested)
- `cost_tokens_estimate`: unknown

## Input schema

- `failure_layer` *string* (required) — Which architectural layer failed
- `error_reproducible` *boolean* (required) — κ(run1, run2) = same error? Reproducibility narrows ∂
- `error_in_tests` *boolean* (required) — Does the error appear in unit tests? Narrows to code vs config
- `recent_change` *boolean* (required) — Was there a recent change to this area? λ(recent_commit)

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__algovigilance__microgram-algo-locate-root-cause",
    "arguments": {
      "failure_layer": "",
      "error_reproducible": false,
      "error_in_tests": false,
      "recent_change": false
    }
  }
}
```

## Related

- [/tools](/tools) — all 7718 tools
- [/tools/algovigilance__microgram-algo-locate-root-cause](/tools/algovigilance__microgram-algo-locate-root-cause) — HTML page
- [/tools/algovigilance__microgram-algo-locate-root-cause/json](/tools/algovigilance__microgram-algo-locate-root-cause/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
