# run-system-vitals

`station__microgram__run-system-vitals` · external (needs EXECUTION_BACKEND_URL configured) · domain `microgram` · pv-relevance `pv-core`

System resource health classifier: RAM, swap, disk, cache. GREEN (all healthy), YELLOW (1 metric stressed), RED (2+ stressed or any critical). Feeds Guardian homeostasis for automated resource management.

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

- `active_rustc` *integer* (required) — Input parameter: active_rustc
- `cache_gb` *integer* (required) — Input parameter: cache_gb
- `ram_available_mb` *integer* (required) — Input parameter: ram_available_mb
- `disk_free_gb` *integer* (required) — Input parameter: disk_free_gb
- `swap_free_mb` *integer* (required) — Input parameter: swap_free_mb

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__microgram__run-system-vitals",
    "arguments": {
      "active_rustc": 0,
      "cache_gb": 0,
      "ram_available_mb": 0,
      "disk_free_gb": 0,
      "swap_free_mb": 0
    }
  }
}
```

## Related

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