Skip to main content
Glama
thisis-najeeb

api-test-mcp

Validate a response against the spec

validate_response

Verify response bodies against documented JSON schemas for any API method, path, and status code to catch contract mismatches early.

Instructions

Check a response body against the JSON schema documented for a given method + path + status code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
methodYes
statusYes
responseBodyYes
Behavior2/5

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

Annotations are absent, so the description carries the full burden. It tells the agent what the tool does but not what happens on failure (e.g., thrown error vs return value), whether the spec must already be loaded, or whether this mutates any state. The description is merely a restatement of the tool's name, adding little beyond the title.

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?

One sentence, no fluff, front-loaded with the action. It earns its place by stating the tool's purpose succinctly, though it could add more detail without becoming verbose.

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

Completeness2/5

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

For a tool with no annotations and no output schema, a complete description should explain error behavior, whether the schema is loaded internally or requires prior loading, and how to interpret the result. None of this is present. The description is minimal and leaves too much to agent inference.

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 coverage is 0%, and the description does not describe any parameter behavior. All four parameters (path, method, status, responseBody) are required, but nothing in the description explains their format, e.g., whether responseBody is raw text or an object, or whether status must be an HTTP numeric code. The description does not compensate for the missing schema descriptions.

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

Purpose3/5

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

The description states a clear verb (check), a specific resource (response body), and a criterion (JSON schema for method + path + status). It is distinguishable from siblings like call_endpoint and list_endpoints, but the title and description are nearly synonymous. It does not name sibling alternatives or any exclusions.

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

Usage Guidelines2/5

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

No guidance is given on when to use this tool versus alternatives. The description is contextual but not directive; an agent cannot tell whether to call this versus load_api_spec or list_endpoints. There are no explicit exclusions or alternative routing.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thisis-najeeb/api-test-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server