# Microgram: microgram-run-workspace-integrity

`station__algovigilance__microgram-microgram-run-workspace-integrity` · native (always callable) · domain `algovigilance` · pv-relevance `pv-core`

Workspace health classifier: checks orphan_dirs, broken_members, and cache_gb against thresholds. HEALTHY (all zero, cache < 15GB), DEGRADED (1-2 issues), UNHEALTHY (3+). Prevents build-breaking workspace state from accumulating silently.

## Agent metadata

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

## Input schema

- `orphan_dirs` *number* (required) — Input parameter: orphan_dirs
- `cache_gb` *number* (required) — Input parameter: cache_gb
- `broken_members` *number* (required) — Input parameter: broken_members

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__algovigilance__microgram-microgram-run-workspace-integrity",
    "arguments": {
      "orphan_dirs": 0,
      "cache_gb": 0,
      "broken_members": 0
    }
  }
}
```

## Related

- [/tools](/tools) — all 7718 tools
- [/tools/algovigilance__microgram-microgram-run-workspace-integrity](/tools/algovigilance__microgram-microgram-run-workspace-integrity) — HTML page
- [/tools/algovigilance__microgram-microgram-run-workspace-integrity/json](/tools/algovigilance__microgram-microgram-run-workspace-integrity/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
