Skip to main content
Glama

check_x402_endpoint

[FREE] Check one x402 endpoint before you try to pay it, or check your own before you ship.

Calls the URL once with no payment and grades the 402 a buyer receives: whether a facilitator is named where clients read it and whether that facilitator answers, whether the Payment-Required header exists and survives a default 4KB proxy buffer, whether the terms are complete enough to sign, and whether the price clears the measured on-chain cost of settling it, and whether the resource description is short enough to survive Coinbase CDP's /verify (a ~500-char cap past which first-settle through their facilitator breaks). Returns a 0-100 score, a verdict, and each defect with what it costs and how to fix it.

url should be the full endpoint URL. method is the verb the endpoint expects, GET or POST. Free, unauthenticated, and it never sends a payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
methodNoGET

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden, and it does: it says the tool is free, unauthenticated, never sends a payment, and calls the URL exactly once. It also discloses concrete behavioral details like the 4KB proxy-buffer check and the ~500-char Coinbase CDP /verify cap, plus what it returns.

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 description is front-loaded with the headline purpose and cost, and each grading detail supports the verdict output. It is dense and slightly repetitive ('Free' in the tag and at the end, 'no payment' vs 'never sends a payment'), so it is not maximally concise.

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 tool with only two parameters and an output schema, the description covers inputs, side effects, cost, auth, and returns. An agent can decide when to call it and know what it will get back without needing schema property descriptions.

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

Parameters5/5

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

Schema coverage is 0%, but the description compensates fully for both parameters: 'url should be the full endpoint URL' and 'method is the verb the endpoint expects, GET or POST.' This adds usable meaning that the bare schema lacks.

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 concrete use case ('before you try to pay it, or check your own before you ship') and defines the action precisely: it calls the URL once with no payment and returns a 0–100 grade based on explicit 402 criteria. This is far beyond a tautology and clearly scopes the resource to a single x402 endpoint.

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 gives clear trigger conditions—use before paying an endpoint or before shipping your own endpoint—and states that it is free and unauthenticated. It does not name alternative sibling tools or say when not to use it, so it earns 4 rather than 5.

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