Skip to main content
Glama

PaidMCP — UK & Global Compliance Engine

validate_openapi_31

Read-onlyIdempotent

[validate | $0.03/call] Deterministic OpenAPI 3.1.0 validator using JSON Schema Draft 2020-12 plus duplicate operationId, local $ref pointer, 2xx response, and security scheme checks.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "document": "<document>",
      "strictSecurity": "<strictSecurity>"
    },
    "name": "validate_openapi_31"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentYes
strictSecurityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, closed-world), the description adds real behavioral context: validation is deterministic (no model variance), it performs specific semantic checks beyond raw schema validation, and it costs $0.03 per call. It stops short of saying what the response looks like on failure or how errors are reported, which matters for a tool with no output schema.

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

Conciseness5/5

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

One dense sentence with the pricing signal front-loaded and the check inventory following. No filler, no restatement of the name, and every clause adds a distinct fact.

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

Completeness3/5

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

The check inventory is thorough for a validator, but with no output schema the description should explain what a successful vs. failing validation returns (boolean? error list?) and what `strictSecurity` toggles. For a two-required-parameter tool with a nested object input, those omissions leave a real gap.

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

Parameters2/5

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

Schema description coverage is 0% for two required parameters, so the description must carry the semantics and it does not. It never explains that `document` is the OpenAPI object to be validated, and `strictSecurity` is completely opaque — with a default of true yet marked required, an agent has no basis for choosing a value or knowing what 'strict' enables.

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 specific verb (validate) and a precisely scoped resource (OpenAPI 3.1.0 documents), then names the exact standards and check families applied (JSON Schema Draft 2020-12, duplicate operationId, local $ref pointers, 2xx responses, security schemes). An agent can tell this apart from validate_fhir_ukcore or any other validator from the description alone.

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

Usage Guidelines3/5

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

Usage is implied: this is the tool to reach for when you have an OpenAPI 3.1.0 document and want conformance checking. There is no explicit when-to-use/when-not, no statement of prerequisites, and no routing to an alternative for OpenAPI 3.0 or Swagger 2.0 inputs.

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.