Skip to main content
Glama

Check an endpoint (free)

check_endpoint
Read-only

Probes any HTTP(S) URL once, right now, from Cloudflare's edge and reports httpStatus, edgeLatencyMs and meetsSla (true when the status is 2xx/3xx within maxLatencyMs, or when an x402 API answers 402 with a valid payment request, whose offer is then reported; an endpoint that answers GET with 405 is retried as a JSON-RPC POST). Use it before calling or paying an unfamiliar endpoint. Free and unsigned, up to 10 checks per month per IP (access shows what's left); a walletAddress with an active pass removes the limit. Sends one request to the target. For a result a third party can verify, use verify_endpoint_sla instead. The result includes a SHA-256 probeHash (a content hash, not a signature).

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": {
      "endpointUrl": "<endpointUrl>"
    },
    "name": "check_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
endpointUrlYesFull http(s) URL to probe, e.g. "https://api.example.com/health".
maxLatencyMsNoLatency limit in milliseconds for meetsSla.
walletAddressNoOptional Base wallet holding an active 7-day pass: removes the monthly free-check limit (with walletSignedAt + walletSignature).
walletSignedAtNoUnix seconds when walletSignature was made (within the last 5 minutes).
walletSignatureNopersonal_sign by walletAddress of "AgentSLA pass access\nWallet: <checksummed walletAddress>\nSigned at: <walletSignedAt>". Proves you control the pass wallet; no gas.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / walletAddress / description
      Previous value: -"Optional Base wallet holding an active 7-day pass: removes the monthly free-check limit."New value: +"Optional Base wallet holding an active 7-day pass: removes the monthly free-check limit (with walletSignedAt + walletSignature)."
    • addedInput schema / properties / walletSignature
      Added value: +{
      +  "description": "personal_sign by walletAddress of \"AgentSLA pass access\\nWallet: <checksummed walletAddress>\\nSigned at: <walletSignedAt>\". Proves you control the pass wallet; no gas.",
      +  "type": "string"
      +}
    • addedInput schema / properties / walletSignedAt
      Added value: +{
      +  "description": "Unix seconds when walletSignature was made (within the last 5 minutes).",
      +  "type": "integer"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / walletAddress
      Added value: +{
      +  "description": "Optional Base wallet holding an active 7-day pass: removes the monthly free-check limit.",
      +  "pattern": "^0x[0-9a-fA-F]{40}$",
      +  "type": "string"
      +}
  3. Changed8 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / endpointUrl / description
      Previous value: -"Full HTTP(S) URL to check"New value: +"Full http(s) URL to probe, e.g. \"https://api.example.com/health\"."
    • addedInput schema / properties / endpointUrl / format
      Added value: +"uri"
    • addedInput schema / properties / maxLatencyMs / default
      Added value: +1000
    • changedInput schema / properties / maxLatencyMs / description
      Previous value: -"Latency limit in ms (default 1000)"New value: +"Latency limit in milliseconds for meetsSla."
    • addedInput schema / properties / maxLatencyMs / maximum
      Added value: +30000
    • addedInput schema / properties / maxLatencyMs / minimum
      Added value: +50
    • changedInput schema / properties / maxLatencyMs / type
      Previous value: -"number"New value: +"integer"
  4. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations cover safety (readOnlyHint, openWorldHint), and the description adds real depth beyond them: it sends exactly one request, retries a 405 as a JSON-RPC POST, interprets 402 payment offers, discloses the 10/month per-IP limit, and clarifies that probeHash is a content hash rather than a signature. It stops short of stating that consuming a check makes repeated calls non-idempotent, which the annotations imply via idempotentHint=false, but nothing contradicts them.

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-loaded with the core action and return fields, then edge-case behavior, then limits and the sibling pointer. It is dense and parenthetical-heavy, which slightly hurts scanability, but no sentence is filler.

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?

There is no output schema, yet the description still names the returned fields (httpStatus, edgeLatencyMs, meetsSla, probeHash), the SLA evaluation rule including the 402 x402 case, the request cost, and the quota model. Nothing an agent needs to call this correctly is missing.

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?

With 100% schema coverage the baseline is 3, and the description earns a bump by explaining the semantics the schema only names: maxLatencyMs is the threshold that decides meetsSla, and walletAddress with an active pass removes the free-check limit. The wallet signing details remain in the schema, which is fine.

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 and resource ('Probes any HTTP(S) URL once, right now, from Cloudflare's edge') and enumerates what it reports (httpStatus, edgeLatencyMs, meetsSla), plus explicitly differentiates itself from verify_endpoint_sla. An agent can tell exactly what this does without opening the schema.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use ('Use it before calling or paying an unfamiliar endpoint') and an explicit alternative with its selecting condition ('For a result a third party can verify, use verify_endpoint_sla instead'). It also documents the free quota and the walletAddress pass path that lifts it.

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