# run-ecosystem-health-gate

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

Master health gate for the this ecosystem. Takes metrics from all surfaces and produces a composite health verdict. Used by autopilot and session start hooks to determine system readiness.

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

- `mcg_pass_rate` *number* (required) — Input parameter: mcg_pass_rate
- `prod_unwraps` *integer* (required) — Input parameter: prod_unwraps
- `clippy_clean` *boolean* (required) — Input parameter: clippy_clean
- `wiring_pct` *integer* (required) — Input parameter: wiring_pct
- `station_tools` *integer* (required) — Input parameter: station_tools
- `hlg_pass_rate` *number* (required) — Input parameter: hlg_pass_rate
- `jest_pass_rate` *number* (required) — Input parameter: jest_pass_rate

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__microgram__run-ecosystem-health-gate",
    "arguments": {
      "mcg_pass_rate": 0,
      "prod_unwraps": 0,
      "clippy_clean": false,
      "wiring_pct": 0,
      "station_tools": 0,
      "hlg_pass_rate": 0,
      "jest_pass_rate": 0
    }
  }
}
```

## Related

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