# run-external-interface-schema

`station__microgram__run-external-interface-schema` · external (needs EXECUTION_BACKEND_URL configured) · domain `microgram` · pv-relevance `pv-core`

Component: Shaft (External API) — Spec §2.4. Schema validator for external interface data completeness. Validates that API health, auth, and rate limit metrics exist before attempting classification.

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

- `auth_success_rate_pct` *number* (required) — Input parameter: auth_success_rate_pct
- `api_endpoints_active` *integer* (required) — Input parameter: api_endpoints_active
- `error_rate_pct` *number* (required) — Input parameter: error_rate_pct
- `requests_30d` *integer* (required) — Input parameter: requests_30d
- `rate_limit_hits_30d` *integer* (required) — Input parameter: rate_limit_hits_30d

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__microgram__run-external-interface-schema",
    "arguments": {
      "auth_success_rate_pct": 0,
      "api_endpoints_active": 0,
      "error_rate_pct": 0,
      "requests_30d": 0,
      "rate_limit_hits_30d": 0
    }
  }
}
```

## Related

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