Skip to main content
Glama

Mirror Eye

check_x402_endpoint

Inspect any x402 API endpoint: payment rails, prices, bazaar validity and facilitator health. Price: 0.01 USDC on Base or 0.01 USDT on BNB Chain.

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

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose a genuinely important behavioral trait: the tool costs 0.01 USDC on Base or 0.01 USDT on BNB Chain. That pricing/chain detail is valuable context an agent must know before calling. However, it says nothing about whether the payment happens automatically, what happens on a non-x402 or unreachable URL, or what shape the inspection result takes.

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

Conciseness5/5

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

Two sentences with no filler. The capability is front-loaded and the pricing caveat follows, which is the right ordering for an agent deciding whether to call a paid tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter inspection tool with no output schema and no annotations, the description covers what is inspected and the cost, which is the essential unknown. It remains thin on return shape and failure modes, which matter because the tool hits an arbitrary external URL and incurs a charge.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has one required parameter, `url`, with 0% description coverage, so the description must compensate. It only indirectly constrains the value by saying "any x402 API endpoint," giving no format guidance (scheme, query handling, whether a bare domain is accepted) or behavior for invalid endpoints.

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?

Specific verb ("Inspect") plus a specific resource ("x402 API endpoint") and an enumerated set of facets returned: payment rails, prices, bazaar validity, facilitator health. That is far more informative than a restated name. It stops short of naming a sibling or contrasting scope with tools like read_chain, so a 4 rather than a 5.

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?

"Inspect any x402 API endpoint" implies the use case (checking an x402-capable URL) but never states when to prefer this over reading the chain or a feed directly, nor any precondition such as the endpoint actually implementing x402. Usage is inferable, not stated.

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