Skip to main content
Glama

security_x402_endpoint_verifier

Audit x402 endpoints for authentic payTo wallets, pricing, challenge headers, and schema hijack risks before integration.

Instructions

Audits target x402 endpoints for authentic payTo wallet, pricing, challenge headers, and schema hijack risks. Price: 0.01 USDC on Base.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endpoint_urlYesTarget x402 endpoint URL to audit

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It usefully discloses that invoking the tool incurs a real cost (0.01 USDC on Base), which is material for an agent deciding whether to call it, but says nothing about network behavior, whether it is safe/read-only against the target, rate limits, or failure modes.

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 tightly written sentences with zero filler; the audit scope is front-loaded and the cost caveat follows. Every clause earns its place.

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?

There is no output schema and no annotations, so the description is the only source of behavioral and return-value information — and it does not say what the audit returns (pass/fail verdict, risk flags, report structure) or how results should be interpreted. Adequate for triggering the tool, thin for using its result.

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% for the single endpoint_url parameter, so the schema already carries the parameter meaning. The description adds nothing beyond 'target x402 endpoints' — no URL format, scheme, or example. Baseline 3 is appropriate when the schema does the heavy lifting.

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 (audits) against a specific resource (x402 endpoints) and enumerates the exact checks performed: payTo wallet authenticity, pricing, challenge headers, and schema hijack risks. No sibling tool operates in the x402 verification space, so an agent can route to it unambiguously.

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?

The description implies the use case (validate an x402 endpoint's legitimacy and price before transacting) but never states when to prefer this over alternatives or what preconditions apply. The cost disclosure (0.01 USDC on Base) is a useful invocation signal, but there is no explicit when/when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.