Skip to main content
Glama

API health check: uptime, latency, headers, x402

pack_api_health
Read-only

One call to health-check an API endpoint: up or down with status and response time over three requests (min, median, max), the redirect chain, HTTP security headers, whether it is a paid x402 endpoint and what its payment terms are, and the API's OpenAPI document when one is found at the usual places. Cheaper than the tools bought one by one. Use for API monitoring, before integrating a third-party API, or to check your own after a deploy. Example: url=https://petstore3.swagger.io/api/v3/pet/findByStatus?status=available. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

NameRequiredDescriptionDefault
urlYesThe API endpoint URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Adds material facts beyond the annotations: three requests per call with min/median/max aggregation, explicit per-call pricing ($0.01 via x402 USDC or card key, first 25 free, failed calls free), and the warning that every call is charged so repeats are not free — directly relevant given idempotentHint=false. 'Reads or computes only and changes nothing' restates readOnlyHint, but the cost model is genuinely new information.

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?

Front-loads the core purpose and return surface, then examples, then pricing. Dense but nearly every sentence carries signal; the safety restatement ('reads or computes only') and the slightly redundant price/free-tier phrasing cost it a point.

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

Completeness5/5

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

No output schema exists, and the description fully compensates by listing every returned artifact and the aggregation method. With one parameter, no auth ambiguity beyond the stated payment models, and cost behavior disclosed, an agent has everything needed to call it correctly and know the bill.

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?

Single required parameter with 100% schema coverage, so the baseline is already high. The description still adds value by showing a real example endpoint URL (including query string), which clarifies that a full URL with parameters is acceptable rather than a bare host.

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?

Specific verb and resource ('health-check an API endpoint') followed by an explicit enumeration of what is returned: status, response time over three requests (min/median/max), redirect chain, security headers, x402 payment terms, and the OpenAPI document. This distinguishes it from the narrow siblings (http_status, url_uptime, url_redirects, http_security_headers, x402_check, openapi_summary) that each do one slice.

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?

Gives three concrete situations (API monitoring, pre-integration vetting, post-deploy check) and a worked example URL. 'Cheaper than the tools bought one by one' implicitly routes the agent away from the single-purpose siblings, but it never names them, so the agent must infer which alternatives this replaces.

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.