# run-loop-cascade

`station__microgram__run-loop-cascade` · external (needs EXECUTION_BACKEND_URL configured) · domain `microgram` · pv-relevance `pv-core`

Flywheel loop interaction hierarchy (Spec Section 4). Cascade: 5→1→2→4, with 3→2. Takes all 5 loop outputs and applies dependency rules to produce system-level verdict. NOMINAL (all healthy), DEGRADED (warnings present), CASCADING (failure propagating through dependency chain), COLLAPSED (2+ loops failed).

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

- `l1_state` *string* (required) — Input parameter: l1_state
- `l5_state` *string* (required) — Input parameter: l5_state
- `l3_class` *string* (required) — Input parameter: l3_class
- `l4_state` *string* (required) — Input parameter: l4_state
- `l2_above_critical` *integer* (required) — Input parameter: l2_above_critical

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__microgram__run-loop-cascade",
    "arguments": {
      "l1_state": "",
      "l5_state": "",
      "l3_class": "",
      "l4_state": "",
      "l2_above_critical": 0
    }
  }
}
```

## Related

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