Skip to main content
Glama

Audit Agent Surface Budget

agent_surface_budget_audit

Measure 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. Payment challenge and credentials are bound to GET https://agents.samedaydesk.com/distribution/agent-surface-budget-audit, not mcp://. Retry the identical authorized arguments and credential.

Input Schema

NameRequiredDescriptionDefault
originYesCredential-free public HTTPS service origin on port 443, with no path or query.
mcpPathNoExact root-relative MCP streamable-HTTP path./mcp
openApiPathNoExact root-relative OpenAPI JSON path./openapi.json
surfaceModeNoAudit MCP only, OpenAPI only, or both. Unselected surfaces are not fetched or judged.both
mcpBudgetBytesNoMaximum preferred raw MCP tools/list response size in bytes.
openApiBudgetBytesNoMaximum preferred raw OpenAPI document size in bytes.

Output Schema

NameRequiredDescriptionDefault
okYes
mcpYes
actionsYes
openapiYes
productYes
requestYes
versionYes
boundaryYes
decisionYes
checkedAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / mcpPath / pattern
      Previous value: -"^\\/(?!\\/)[^?#{]+$"New value: +"^\\/[^/?#{}][^?#{}]*$"
    • changedInput schema / properties / openApiPath / pattern
      Previous value: -"^\\/(?!\\/)[^?#{]+$"New value: +"^\\/[^/?#{}][^?#{}]*$"
  2. Changed6 schema fields changed
    • addedInput schema / properties / surfaceMode
      Added value: +{
      +  "default": "both",
      +  "description": "Audit MCP only, OpenAPI only, or both. Unselected surfaces are not fetched or judged.",
      +  "enum": [
      +    "mcp",
      +    "openapi",
      +    "both"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / mcp / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "available": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "failureCode": {
      -        "enum": [
      -          "authentication_required",
      -          "bounded_transport_failure",
      -          "connection_reset",
      -          "dns_failed",
      -          "method_not_allowed",
      -          "rate_limited",
      -          "redirect_rejected",
      -          "surface_invalid",
      -          "surface_too_large",
      -          "surface_unavailable",
      -          "transport_timeout",
      -          "upstream_unavailable"
      -        ],
      -        "type": "string"
      -      },
      -      "httpStatus": {
      -        "maximum": 599,
      -        "minimum": 300,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "available",
      -      "failureCode"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "available": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "budgetBytes": {
      -        "exclusiveMinimum": 0,
      -        "type": "integer"
      -      },
      -      "byteDerivedTokenEstimate": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "bytes": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "heaviestTools": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "bytes": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "descriptionBytes": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "hasDescription": {
      -              "type": "boolean"
      -            },
      -            "hasInputSchema": {
      -              "type": "boolean"
      -            },
      -            "hasOutputSchema": {
      -              "type": "boolean"
      -            },
      -            "hasTitle": {
      -              "type": "boolean"
      -            },
      -            "inputSchemaBytes": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "outputSchemaBytes": {
      -              "minimum": 0,
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "name",
      -            "bytes",
      -            "descriptionBytes",
      -            "inputSchemaBytes",
      -            "outputSchemaBytes",
      -            "hasTitle",
      -            "hasDescription",
      -            "hasInputSchema",
      -            "hasOutputSchema"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 8,
      -        "type": "array"
      -      },
      -      "missingDescriptionCount": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "missingInputSchemaCount": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "missingOutputSchemaCount": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "missingTitleCount": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "pageCount": {
      -        "exclusiveMinimum": 0,
      -        "type": "integer"
      -      },
      -      "protocolVersion": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "selectionBytes": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "server": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "name": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "version": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "name",
      -          "version"
      -        ],
      -        "type": "object"
      -      },
      -      "toolCount": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "withinBudget": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "available",
      -      "bytes",
      -      "byteDerivedTokenEstimate",
      -      "budgetBytes",
      -      "withinBudget",
      -      "protocolVersion",
      -      "server",
      -      "toolCount",
      -      "pageCount",
      -      "selectionBytes",
      -      "missingTitleCount",
      -      "missingDescriptionCount",
      -      "missingInputSchemaCount",
      -      "missingOutputSchemaCount",
      -      "heaviestTools"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "requested": {
      +        "const": false,
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "requested"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "available": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "failureCode": {
      +        "enum": [
      +          "authentication_required",
      +          "bounded_transport_failure",
      +          "connection_reset",
      +          "dns_failed",
      +          "method_not_allowed",
      +          "rate_limited",
      +          "redirect_rejected",
      +          "surface_invalid",
      +          "surface_too_large",
      +          "surface_unavailable",
      +          "transport_timeout",
      +          "upstream_unavailable"
      +        ],
      +        "type": "string"
      +      },
      +      "httpStatus": {
      +        "maximum": 599,
      +        "minimum": 300,
      +        "type": "integer"
      +      },
      +      "requested": {
      +        "const": true,
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "requested",
      +      "available",
      +      "failureCode"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "available": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "budgetBytes": {
      +        "exclusiveMinimum": 0,
      +        "type": "integer"
      +      },
      +      "byteDerivedTokenEstimate": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "bytes": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "heaviestTools": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "bytes": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "descriptionBytes": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "hasDescription": {
      +              "type": "boolean"
      +            },
      +            "hasInputSchema": {
      +              "type": "boolean"
      +            },
      +            "hasOutputSchema": {
      +              "type": "boolean"
      +            },
      +            "hasTitle": {
      +              "type": "boolean"
      +            },
      +            "inputSchemaBytes": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "outputSchemaBytes": {
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "bytes",
      +            "descriptionBytes",
      +            "inputSchemaBytes",
      +            "outputSchemaBytes",
      +            "hasTitle",
      +            "hasDescription",
      +            "hasInputSchema",
      +            "hasOutputSchema"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 8,
      +        "type": "array"
      +      },
      +      "missingDescriptionCount": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "missingInputSchemaCount": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "missingOutputSchemaCount": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "missingTitleCount": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "pageCount": {
      +        "exclusiveMinimum": 0,
      +        "type": "integer"
      +      },
      +      "protocolVersion": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "requested": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "selectionBytes": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "server": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "version": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "version"
      +        ],
      +        "type": "object"
      +      },
      +      "toolCount": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "withinBudget": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "requested",
      +      "available",
      +      "bytes",
      +      "byteDerivedTokenEstimate",
      +      "budgetBytes",
      +      "withinBudget",
      +      "protocolVersion",
      +      "server",
      +      "toolCount",
      +      "pageCount",
      +      "selectionBytes",
      +      "missingTitleCount",
      +      "missingDescriptionCount",
      +      "missingInputSchemaCount",
      +      "missingOutputSchemaCount",
      +      "heaviestTools"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / openapi / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/properties/mcp/anyOf/0"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "available": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "budgetBytes": {
      -        "exclusiveMinimum": 0,
      -        "type": "integer"
      -      },
      -      "byteDerivedTokenEstimate": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "bytes": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "heaviestOperations": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "bytes": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "hasOperationId": {
      -              "type": "boolean"
      -            },
      -            "method": {
      -              "enum": [
      -                "GET",
      -                "POST",
      -                "PUT",
      -                "PATCH",
      -                "DELETE",
      -                "HEAD",
      -                "OPTIONS"
      -              ],
      -              "type": "string"
      -            },
      -            "path": {
      -              "type": "string"
      -            },
      -            "summaryBytes": {
      -              "minimum": 0,
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "method",
      -            "path",
      -            "bytes",
      -            "summaryBytes",
      -            "hasOperationId"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 8,
      -        "type": "array"
      -      },
      -      "missingOperationIdCount": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "operationCount": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "withinBudget": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "available",
      -      "bytes",
      -      "byteDerivedTokenEstimate",
      -      "budgetBytes",
      -      "withinBudget",
      -      "operationCount",
      -      "missingOperationIdCount",
      -      "heaviestOperations"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "$ref": "#/properties/mcp/anyOf/0"
      +  },
      +  {
      +    "$ref": "#/properties/mcp/anyOf/1"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "available": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "budgetBytes": {
      +        "exclusiveMinimum": 0,
      +        "type": "integer"
      +      },
      +      "byteDerivedTokenEstimate": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "bytes": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "heaviestOperations": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "bytes": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "hasOperationId": {
      +              "type": "boolean"
      +            },
      +            "method": {
      +              "enum": [
      +                "GET",
      +                "POST",
      +                "PUT",
      +                "PATCH",
      +                "DELETE",
      +                "HEAD",
      +                "OPTIONS"
      +              ],
      +              "type": "string"
      +            },
      +            "path": {
      +              "type": "string"
      +            },
      +            "summaryBytes": {
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "method",
      +            "path",
      +            "bytes",
      +            "summaryBytes",
      +            "hasOperationId"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 8,
      +        "type": "array"
      +      },
      +      "missingOperationIdCount": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "operationCount": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "requested": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "withinBudget": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "requested",
      +      "available",
      +      "bytes",
      +      "byteDerivedTokenEstimate",
      +      "budgetBytes",
      +      "withinBudget",
      +      "operationCount",
      +      "missingOperationIdCount",
      +      "heaviestOperations"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedOutput schema / properties / request / properties / surfaceMode
      Added value: +{
      +  "enum": [
      +    "mcp",
      +    "openapi",
      +    "both"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / request / required
      Previous value: -[
      -  "origin",
      -  "mcpPath",
      -  "openApiPath",
      -  "mcpBudgetBytes",
      -  "openApiBudgetBytes"
      -]New value: +[
      +  "origin",
      +  "surfaceMode",
      +  "mcpPath",
      +  "openApiPath",
      +  "mcpBudgetBytes",
      +  "openApiBudgetBytes"
      +]
    • changedOutput schema / properties / version / const
      Previous value: -"1.1.0"New value: +"1.2.0"
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "actions": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "maxItems": 16,
      +      "type": "array"
      +    },
      +    "boundary": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "credentialsUsed": {
      +          "const": false,
      +          "type": "boolean"
      +        },
      +        "redirectsFollowed": {
      +          "const": false,
      +          "type": "boolean"
      +        },
      +        "responseBodiesReturned": {
      +          "const": false,
      +          "type": "boolean"
      +        },
      +        "schemasRetained": {
      +          "const": false,
      +          "type": "boolean"
      +        },
      +        "sessionIdentifiersReturned": {
      +          "const": false,
      +          "type": "boolean"
      +        },
      +        "targetPaymentSent": {
      +          "const": false,
      +          "type": "boolean"
      +        },
      +        "targetPaymentSigned": {
      +          "const": false,
      +          "type": "boolean"
      +        },
      +        "tokenEstimateMethod": {
      +          "const": "ceil(UTF-8 bytes / 4); comparative estimate, not tokenizer billing",
      +          "type": "string"
      +        },
      +        "toolsCalled": {
      +          "const": false,
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "credentialsUsed",
      +        "toolsCalled",
      +        "targetPaymentSigned",
      +        "targetPaymentSent",
      +        "redirectsFollowed",
      +        "responseBodiesReturned",
      +        "schemasRetained",
      +        "sessionIdentifiersReturned",
      +        "tokenEstimateMethod"
      +      ],
      +      "type": "object"
      +    },
      +    "checkedAt": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "decision": {
      +      "enum": [
      +        "within_budget",
      +        "optimize",
      +        "surface_incomplete"
      +      ],
      +      "type": "string"
      +    },
      +    "mcp": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "available": {
      +              "const": false,
      +              "type": "boolean"
      +            },
      +            "failureCode": {
      +              "enum": [
      +                "authentication_required",
      +                "bounded_transport_failure",
      +                "connection_reset",
      +                "dns_failed",
      +                "method_not_allowed",
      +                "rate_limited",
      +                "redirect_rejected",
      +                "surface_invalid",
      +                "surface_too_large",
      +                "surface_unavailable",
      +                "transport_timeout",
      +                "upstream_unavailable"
      +              ],
      +              "type": "string"
      +            },
      +            "httpStatus": {
      +              "maximum": 599,
      +              "minimum": 300,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "available",
      +            "failureCode"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "available": {
      +              "const": true,
      +              "type": "boolean"
      +            },
      +            "budgetBytes": {
      +              "exclusiveMinimum": 0,
      +              "type": "integer"
      +            },
      +            "byteDerivedTokenEstimate": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "bytes": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "heaviestTools": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "bytes": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "descriptionBytes": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "hasDescription": {
      +                    "type": "boolean"
      +                  },
      +                  "hasInputSchema": {
      +                    "type": "boolean"
      +                  },
      +                  "hasOutputSchema": {
      +                    "type": "boolean"
      +                  },
      +                  "hasTitle": {
      +                    "type": "boolean"
      +                  },
      +                  "inputSchemaBytes": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  },
      +                  "outputSchemaBytes": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "bytes",
      +                  "descriptionBytes",
      +                  "inputSchemaBytes",
      +                  "outputSchemaBytes",
      +                  "hasTitle",
      +                  "hasDescription",
      +                  "hasInputSchema",
      +                  "hasOutputSchema"
      +                ],
      +                "type": "object"
      +              },
      +              "maxItems": 8,
      +              "type": "array"
      +            },
      +            "missingDescriptionCount": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "missingInputSchemaCount": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "missingOutputSchemaCount": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "missingTitleCount": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "pageCount": {
      +              "exclusiveMinimum": 0,
      +              "type": "integer"
      +            },
      +            "protocolVersion": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "selectionBytes": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "server": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "name": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "version": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "name",
      +                "version"
      +              ],
      +              "type": "object"
      +            },
      +            "toolCount": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "withinBudget": {
      +              "type": "boolean"
      +            }
      +          },
      +          "required": [
      +            "available",
      +            "bytes",
      +            "byteDerivedTokenEstimate",
      +            "budgetBytes",
      +            "withinBudget",
      +            "protocolVersion",
      +            "server",
      +            "toolCount",
      +            "pageCount",
      +            "selectionBytes",
      +            "missingTitleCount",
      +            "missingDescriptionCount",
      +            "missingInputSchemaCount",
      +            "missingOutputSchemaCount",
      +            "heaviestTools"
      +          ],
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "openapi": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/properties/mcp/anyOf/0"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "available": {
      +              "const": true,
      +              "type": "boolean"
      +            },
      +            "budgetBytes": {
      +              "exclusiveMinimum": 0,
      +              "type": "integer"
      +            },
      +            "byteDerivedTokenEstimate": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "bytes": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "heaviestOperations": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "bytes": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "hasOperationId": {
      +                    "type": "boolean"
      +                  },
      +                  "method": {
      +                    "enum": [
      +                      "GET",
      +                      "POST",
      +                      "PUT",
      +                      "PATCH",
      +                      "DELETE",
      +                      "HEAD",
      +                      "OPTIONS"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "path": {
      +                    "type": "string"
      +                  },
      +                  "summaryBytes": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "method",
      +                  "path",
      +                  "bytes",
      +                  "summaryBytes",
      +                  "hasOperationId"
      +                ],
      +                "type": "object"
      +              },
      +              "maxItems": 8,
      +              "type": "array"
      +            },
      +            "missingOperationIdCount": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "operationCount": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "withinBudget": {
      +              "type": "boolean"
      +            }
      +          },
      +          "required": [
      +            "available",
      +            "bytes",
      +            "byteDerivedTokenEstimate",
      +            "budgetBytes",
      +            "withinBudget",
      +            "operationCount",
      +            "missingOperationIdCount",
      +            "heaviestOperations"
      +          ],
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "product": {
      +      "const": "samedaydesk-agent-surface-budget-audit",
      +      "type": "string"
      +    },
      +    "request": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "mcpBudgetBytes": {
      +          "exclusiveMinimum": 0,
      +          "type": "integer"
      +        },
      +        "mcpPath": {
      +          "type": "string"
      +        },
      +        "openApiBudgetBytes": {
      +          "exclusiveMinimum": 0,
      +          "type": "integer"
      +        },
      +        "openApiPath": {
      +          "type": "string"
      +        },
      +        "origin": {
      +          "format": "uri",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "origin",
      +        "mcpPath",
      +        "openApiPath",
      +        "mcpBudgetBytes",
      +        "openApiBudgetBytes"
      +      ],
      +      "type": "object"
      +    },
      +    "version": {
      +      "const": "1.1.0",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "product",
      +    "version",
      +    "checkedAt",
      +    "decision",
      +    "request",
      +    "mcp",
      +    "openapi",
      +    "actions",
      +    "boundary"
      +  ],
      +  "type": "object"
      +}
  4. Added

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and does: it declares unselected surfaces are not fetched, no redirects are followed, no target tool is called, no credential or payment is sent, and no target schema, response body, or session identifier is returned. It also discloses the payment-challenge/credential binding endpoint (GET https://agents.samedaydesk.com/... rather than mcp://) and the retry contract (identical authorized arguments and credential).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose, sibling routing, safety guarantees, and payment binding are front-loaded in a logical order, and each sentence carries substantive content. There is mild redundancy — the 'unselected surfaces are not fetched or judged' clause duplicates the surfaceMode schema description — which keeps it short of a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter audit tool with an output schema, the description need not explain return values, and it instead covers the things the schema cannot: safety profile, payment/credential binding, and retry behavior. Nothing an agent needs to invoke this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so all six parameters are already documented in the schema, including the surfaceMode enum and byte-budget bounds. The description only echoes one of these semantics ('Unselected surfaces are not fetched or judged') and adds no syntax, format, or interaction detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a precise verb and resource: measure one public service's credential-free MCP tools/list, OpenAPI, or both declared discovery surfaces. It also names the two sibling audits it is not and the specific concerns it owns (byte budgets, heaviest definitions, missing selection contracts, progressive-discovery fixes), so an agent can route without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly partitions the sibling set: agent_discoverability_audit for catalog reach and rank, seller_integrity_audit for one exact operation's response contract, this tool for byte budgets and discovery-surface sizing. The when-to-use condition is stated alongside both alternatives, and the pre-condition (before any tool call or target payment) is front-loaded.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.