Skip to main content
Glama

x402 Router

Fresh live probe of one x402 endpoint (paid, 0.002 USDC)

check_endpoint_paid

Paid (0.002 USDC via x402): the same answer as https://router-production-ab89.up.railway.app/check/paid: probes one registry endpoint now (live?, HTTP status, latency, real price, payTo, networks). Same in-call payment flow as route_paid (_meta["x402/payment"]).

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": "check_endpoint_paid"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesExact endpoint url from the registry
agentNoOptional caller label

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false and openWorldHint=true, and the description usefully explains why: it costs 0.002 USDC via x402 and follows route_paid's in-call payment flow via _meta["x402/payment"]. That cost and payment-mechanism disclosure is real value beyond the annotations; only failure/refund behavior is left unstated.

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 cost and action, and the returned-field list is compact. The embedded reference URL ('same answer as https://router-production-ab89...') is a bit noisy but does convey parity with the HTTP endpoint; no filler sentences.

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?

There is no output schema, and the description compensates by enumerating the probe's result fields (live?, status, latency, price, payTo, networks). Payment mechanics are covered; error cases and rate or quota limits are the only meaningful omissions for a paid, open-world probe.

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% and both parameters are already documented ('Exact endpoint url from the registry', 'Optional caller label'). The description adds no further detail on url format, whether the registry URL is required to be pre-registered, or how the agent label is used, so the baseline 3 applies.

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?

States a specific verb and resource — 'probes one registry endpoint now' — and enumerates what the probe returns (live?, HTTP status, latency, price, payTo, networks). The word 'Fresh'/'now' implicitly contrasts with stored-data siblings like get_endpoint_reliability, but that contrast is suggested rather than spelled out.

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 live-verification tool and that route_paid shares the same payment flow. There is no explicit 'use this instead of get_endpoint_reliability when you need a live check' statement, and no stated preconditions such as payment balance or what to do if payment fails.

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.