Skip to main content
Glama

FMF Proof

Schema Drift Sentinel

schema_drift

Does the live response still have the shape the docs promise? Give a JSON Schema, an example, an OpenAPI response or an MCP outputSchema, plus the response you received or a URL to read. Returns missing, extra and type-changed fields at their paths, whether the drift is breaking, and a sha256 of both sides.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "schema_drift"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoOr: a public URL for us to read once (robots.txt obeyed).
pathNoWith openapi_url: the path exactly as written in the document.
methodNoWith openapi_url: the HTTP method.
schemaNoDocumented shape as a JSON Schema.
statusNoWith openapi_url: the response status (default 200).
exampleNoOr: a documented example response.
mcp_urlNoOr: an MCP endpoint; the tool's outputSchema is the documented shape.
mcp_toolNoWith mcp_url: the tool name.
responseNoThe JSON body you received.
openapi_urlNoOr: an OpenAPI JSON document (with path, and optionally method and status).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does convey the observation model: one fetch ('read once'), robots.txt obeyed, and a non-mutating comparison. It also discloses the return payload — drift at field paths, a breaking/not-breaking verdict, and sha256 of both sides. It omits what happens on unreadable URLs, size limits, and whether the comparison is strict or lenient for optional fields.

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?

Three sentences, front-loaded with a question that frames the whole purpose, then inputs, then outputs. No filler, and the ordering matches how an agent would reason about the call.

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

Completeness4/5

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

There is no output schema, but the description enumerates the return values well enough that an agent knows what comes back. For a ten-parameter, loosely-typed comparison tool the coverage is solid, with only edge-case behavior (errors, partial reads) left unspecified.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning by framing the parameters as two paired slots: a documented shape source plus an actual response source. That resolves the ambiguity of ten all-optional parameters better than the schema's terse 'Or:' markers, though it still leaves some combinations (e.g., schema with url, status without method) unstated.

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

Purpose4/5

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

The description states a specific comparison operation: check whether a live response still matches the documented shape, and report drift. It clearly names the resource (response shape vs. documented schema) and the outputs (missing/extra/type-changed fields), so an agent knows exactly what the tool does. It stops short of naming a sibling to contrast with, which keeps it at 4.

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

Usage Guidelines4/5

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

It spells out the valid input combinations — a documented shape from a JSON Schema, example, OpenAPI response, or MCP outputSchema, combined with a response body or a URL to read. That is genuine invocation guidance for a tool with ten optional parameters and no required ones. It does not say when to prefer this over related checking tools or when not to use it.

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.

Resources