Audit Agent Surface Budget
agent_surface_budget_auditMeasure one public service's credential-free MCP tools/list, OpenAPI, or both declared discovery surfaces before any tool call or target payment. Use agent_discoverability_audit for catalog reach and rank, seller_integrity_audit for one exact operation's response contract, or this tool for byte budgets, heaviest definitions, missing selection contracts, and progressive-discovery fixes. Unselected surfaces are not fetched or judged. It follows no redirect, calls no target tool, sends no credential or target payment, and returns no target schema, response body, or session identifier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Credential-free public HTTPS service origin on port 443, with no path or query. | |
| mcpPath | No | Exact root-relative MCP streamable-HTTP path. | /mcp |
| openApiPath | No | Exact root-relative OpenAPI JSON path. | /openapi.json |
| surfaceMode | No | Audit MCP only, OpenAPI only, or both. Unselected surfaces are not fetched or judged. | both |
| mcpBudgetBytes | No | Maximum preferred raw MCP tools/list response size in bytes. | |
| openApiBudgetBytes | No | Maximum preferred raw OpenAPI document size in bytes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| mcp | Yes | ||
| actions | Yes | ||
| openapi | Yes | ||
| product | Yes | ||
| request | Yes | ||
| version | Yes | ||
| boundary | Yes | ||
| decision | Yes | ||
| checkedAt | Yes |