Skip to main content
Glama

Checks an x402 endpoint before you pay: one unpaid GET

agent_intel_x402_endpoint_health_vetting
Read-only

Checks an x402 (HTTP 402 payment) endpoint before you pay: one unpaid GET, then the HTTP status, whether a 402 challenge with an accepts list is present, the payment networks, asset, price and pay-to address format, CORS header and response time. Does not pay, does not verify the seller's identity or reputation, and gives one sample, not uptime. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic https:// endpoint address

Output Schema

NameRequiredDescriptionDefault
urlNo
noteNo
firstNo
sourceNo
verdictNo
networksNo
checkedAtNo
httpStatusNo
responseMsNo
acceptsCountNo
corsAllowOriginNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations cover read-only and open-world hints, and the description adds substantial context beyond them: no payment is made, results are a single sample not uptime, and pricing is $0.002 per successful call with failed calls free. That pricing/charging behavior is exactly the kind of detail annotations cannot express. A minor gap is it doesn't say how the 402 challenge is detected or what happens on non-402 responses.

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?

Front-loads purpose, then the outputs, then the explicit non-goals, then pricing. Every clause carries information an agent needs before invoking; nothing is repeated from the title or schema.

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?

With an output schema present, return values need no explanation, yet the description still previews the response fields. Cost, safety profile, and scope limits are all covered. The only missing element is a pointer to a sibling tool for the identity/reputation checks it explicitly declines to do.

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?

Single required parameter with 100% schema coverage, so the schema already defines 'url' as a public https:// endpoint. The description reinforces the target by framing it as 'one unpaid GET' against that URL, but adds no further syntax or constraint detail beyond the schema.

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 — 'Checks an x402 (HTTP 402 payment) endpoint before you pay' — and immediately enumerates what the check covers (status, accepts list, networks, asset, price, pay-to format, CORS, latency). This is unmistakably distinct from sibling verification/audit tools.

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?

Gives a clear trigger ('before you pay') and strong exclusions: does not pay, does not verify seller identity or reputation, and gives one sample rather than uptime. No sibling tool is named as an alternative, so an agent must infer where to go for reputation checks, which keeps it short of a 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