Skip to main content
Glama
thisis-najeeb

api-test-mcp

Ping a set of endpoints and report reachability/latency

check_health

Run one-shot health checks against API endpoints to confirm they respond, returning status codes and latency. Use before demos or in CI to detect non-responsive endpoints.

Instructions

One-shot health check: calls each given endpoint (or, if none given, every parameter-free GET in the loaded spec) and reports whether it responded, its status code, and latency. Useful for a quick 'is the API up' pass, e.g. before a demo or as part of CI.

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":"..."}
baseUrlNo
endpointsNoExplicit list to check. Defaults to every parameter-free GET endpoint in the loaded spec.
timeoutMsNoPer-endpoint timeout in ms. Default 5000.
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It transparently states that the tool makes live calls, is one-shot, defaults to parameter-free GET endpoints, and reports status/latency. However, it does not warn about potential side effects when explicit non-GET endpoints are provided, nor about prerequisites like a loaded spec or auth setup.

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?

The description is two sentences, front-loaded with the core behavior and ending with concrete use cases. Every clause contributes, and there is no redundant filler.

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?

Given there is no output schema, the description usefully enumerates the key output dimensions (responded, status code, latency) and explains default endpoint selection. It does not cover edge cases like no spec loaded or network failures, but those are minor for a health-check tool.

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 description coverage is high (~75%) and already documents endpoints, timeout, and auth. The description reinforces the default endpoint behavior and the reported output fields, but it does not add substantial parameter-level meaning beyond the schema.

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 uses a specific verb/resource pairing: a one-shot health check that calls endpoints and reports whether they responded, with status code and latency. It is fully clear about what the tool does, but it does not explicitly contrast itself with sibling tools like test_endpoint or run_all_tests.

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?

The description gives clear usage context: it is positioned as a quick 'is the API up' pass, e.g., before a demo or in CI. It does not state when not to use it or point users to alternatives, so it stops short of full guidance.

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