Skip to main content
Glama

ping_endpoint

Measure TTFB, HTTP response status, and diagnostic headers for a public HTTP/HTTPS endpoint to diagnose latency and response issues.

Instructions

Pings a public HTTP or HTTPS web service or API endpoint to measure Time-To-First-Byte (TTFB) latency, HTTP response status code, status message, and inspect diagnostic HTTP headers (Cloudflare ray, server, cache-control, HSTS).

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_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe full HTTP or HTTPS URL to ping (e.g. 'https://api.github.com' or 'https://wolrdpulse.app').

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / url / description
      Previous value: -"Target URL to ping (e.g. https://api.github.com)"New value: +"The full HTTP or HTTPS URL to ping (e.g. 'https://api.github.com' or 'https://wolrdpulse.app')."
    • addedInput schema / properties / url / examples
      Added value: +[
      +  "https://api.github.com",
      +  "https://wolrdpulse.app",
      +  "https://api.openai.com/v1/models"
      +]
    • addedInput schema / properties / url / format
      Added value: +"uri"
    • addedInput schema / properties / url / minLength
      Added value: +8
  2. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the return surface (TTFB, status code, status message, named headers) and implicitly frames the tool as a read-only probe, but it says nothing about timeout behavior, redirect following, outbound network origin, or what happens on an unreachable host. This leaves meaningful gaps for a network-invoking tool.

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?

One front-loaded sentence with the action and the measured outputs in order of importance. The parenthetical header list ('Cloudflare ray, server, cache-control, HSTS') is slightly over-specific for a description but still earns its place by hinting at the diagnostic use case.

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?

For a one-parameter tool with no output schema and no annotations, the description covers the key things an agent needs: what is probed and what comes back. The remaining gap is failure-mode behavior (timeouts, redirects, non-2xx handling), which matters for a network probe but is a secondary omission.

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% and the single 'url' parameter is fully documented with format, examples, and a minLength, so the baseline of 3 applies. The description adds only the qualifier 'public', which is potentially meaningful (no private/localhost targets) but is never elaborated into an actual constraint.

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 names a specific verb ('Pings') and a specific resource ('a public HTTP or HTTPS web service or API endpoint'), then enumerates exactly what is measured (TTFB, status code, status message, diagnostic headers). That is enough to separate it from inspect_dns, inspect_ssl, and get_cloud_status by inference, but it never explicitly contrasts itself with those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this is the tool for measuring endpoint reachability and latency. There is no statement of when to prefer it over inspect_dns or inspect_ssl, no exclusion of internal/private hosts beyond the word 'public', and no mention of preconditions or rate limits.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.