Skip to main content
Glama

API Health Check

dev_api_health_check

Probe a GET endpoint several times and report status codes and latency statistics (min/avg/max). The cheap way for an agent to verify an API — for example one found on the x402 Bazaar — responds before spending real money calling it. Use this when an agent needs to status and latency stats — test an API before relying on it. x402 price $0.02/call (USDC, eip155:8453).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesGET endpoint
runsYesTest requests
timeoutMsYesTimeout per request (ms)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the load and does well: it discloses the repeated-probe behavior, the metric set returned, that it targets GET endpoints, and the $0.02/call USDC price on eip155:8453. It omits failure/timeout behavior and rate limits, but the safety-relevant cost and method are covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence is front-loaded and tight, but the third sentence ('Use this when an agent needs to status and latency stats — test an API before relying on it') is grammatically broken and largely restates the second. The pricing clause is useful but tacked on.

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?

No output schema and no annotations exist, so the description must explain the return; it does so by naming status codes and min/avg/max latency, and it flags cost. That is enough for an agent to call it correctly, though failure modes remain unspecified.

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 coverage is 100%, so url, runs, and timeoutMs are already documented in the schema. The description adds only framing ('GET endpoint', 'several times') rather than per-parameter meaning, so the baseline 3 applies.

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?

States a specific verb (probe) and resource (a GET endpoint), plus exactly what is reported: status codes and min/avg/max latency. This clearly separates it from overlapping siblings like dev_page_verify or dev_url_reader that fetch rather than measure response behavior.

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 a clear use context: verify an API responds before spending money on it, e.g. an API discovered on the x402 Bazaar. It does not name alternatives or state when NOT to use it, so it stops short of full routing guidance.

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