Skip to main content
Glama

ping_api_health

Read-only

Live API Health & Schema Ping: send one request (5-second timeout) to an approved public https API host (list at /api/public/outbound-hosts.json) and return is_alive, status_code, latency_ms, is_valid_json and status_message. Nothing is stored. Requires Authorization: Bearer <agent_token>.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "ping_api_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttps:// endpoint on an approved API, code or package host (list at /api/public/outbound-hosts.json).
methodNoHTTP method. Only GET and HEAD are allowed.GET

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / url / description
      Previous value: -"Public https:// API endpoint to ping."New value: +"https:// endpoint on an approved API, code or package host (list at /api/public/outbound-hosts.json)."
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, the description discloses the 5-second timeout, that nothing is stored, the host allowlist requirement, and the Bearer token auth requirement — all material operational facts an agent needs before calling. These are exactly the kinds of context annotations cannot express.

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?

The core capability and return fields are front-loaded in the first sentence, with constraints and auth following in two short sentences. It is dense but not padded; only the slightly run-on first sentence costs 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?

For a two-parameter read-only probe with no output schema, the description covers purpose, constraints, timeout, auth, storage behavior, and the exact return fields. Nothing an agent needs to invoke it correctly is missing.

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 100%, with the url format, the allowlist reference, and the GET/HEAD enum already documented in the schema. The description reinforces the https/approved-host constraint but adds no syntax or format detail beyond what the schema provides, 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?

The description opens with a specific verb and resource ('Live API Health & Schema Ping: send one request ... to an approved public https API host') and enumerates exactly what is returned (is_alive, status_code, latency_ms, is_valid_json, status_message). No sibling tool in the list performs outbound health probes, so an agent can identify this tool's role unambiguously.

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 clearly frames the use case (single-request liveness/schema check) and states the operating constraints that gate use: the host must appear on the approved outbound-hosts list, only GET/HEAD, and a 5-second timeout. It does not explicitly say when to prefer this over alternatives, but no comparable sibling exists to route against.

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