Skip to main content
Glama
thisis-najeeb

api-test-mcp

Call and validate an endpoint in one step

test_endpoint

Validate a live API endpoint against its documented schema by sending real parameters and comparing the response. Returns pass/fail with specific mismatches.

Instructions

Call a documented endpoint with real parameters, then validate the real response against its documented schema. Returns pass/fail plus the specific mismatches found. This is the main tool for 'does this endpoint actually work as documented'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
authNoAuth preset applied to the request. Examples: {"type":"bearer","token":"..."}, {"type":"apiKey","in":"header","name":"X-API-Key","value":"..."}, {"type":"basic","username":"...","password":"..."}
bodyNo
pathYes
methodYes
baseUrlNo
headersNo
timeoutMsNoAbort the request after this many milliseconds.
pathParamsNo
queryParamsNo
Behavior3/5

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

With no annotations, the description carries the transparency burden. It does disclose the core behavior—sending a real request, validating the response, returning pass/fail and mismatches. However, it does not mention side effects of real calls, authentication requirements, or failure modes, which are relevant for a no-annotation tool.

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 short sentences, each earning its place: action, return value, and primary use. The key behavior is front-loaded and there is no filler.

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, no output schema, and 9 parameters, the description lacks operational context: how the documented schema is made available, what happens on non-JSON or network errors, and how the returned mismatches are formatted. The pass/fail behavior is stated, but not enough for fully correct invocation in a complex workflow.

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?

The input schema has 9 parameters with only about 22% description coverage, so the description needed to compensate. It only says 'with real parameters' and gives no guidance on method/path, auth, body, or path/query parameters.

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?

The description names a specific combined operation—call an endpoint and validate it against its documented schema—and positions it as 'the main tool for does this endpoint actually work as documented'. This clearly differentiates it from siblings like call_endpoint or validate_response.

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 explicitly says when to use the tool: whenever you need to know whether an endpoint works as documented. It does not spell out exclusions or direct to alternatives such as call_endpoint for raw calling or validate_response for already-captured responses, so it falls just short of a 5.

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