Skip to main content
Glama

x402 Purchase-Path Audit

x402.purchase_path_audit
Idempotent

PAID $19.00 USDC on Base via x402. Performs a bounded no-payment purchase-challenge audit for a selected capability, validating status, requirements, destination, amount, and receiver-only controls.

Input Schema

NameRequiredDescriptionDefault
urlYesPublic HTTP(S) x402 service base URL.
capabilityYesCapability name whose no-payment challenge should be audited.

Output Schema

NameRequiredDescriptionDefault
assetNo
errorNo
inputNo
priceNo
pay_toNo
statusNo
acceptsNo
networkNo
resourceNo
capabilityNo
extensionsNo
purchaseIdNo
instructionNo
x402VersionNo
entitlementIdNo
execution_urlNo
execution_modeNo
payment_requiredNo
payment_required_headerNo
settlement_expectationsNo
confirmation_expectationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true, idempotentHint=true, destructiveHint=false, and readOnlyHint=false, so the safety profile is partly covered. The description adds genuinely useful behavior (cost of $19 USDC on Base, bounded scope, no-payment semantics of the audited challenge), but it creates real ambiguity about whether the caller is spending $19 or merely auditing a $19 challenge, and readOnlyHint=false is never reconciled with the phrase 'no-payment'.

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

Conciseness3/5

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

Two sentences, but the first is a cost banner whose referent (the tool's own price vs. the audited amount) is unclear, and the second is a dense compound clause. It is compact but not cleanly front-loaded on the action the agent is choosing.

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?

An output schema exists so return values need no explanation, and both required parameters are fully documented in the schema. What is missing is the routing context (why this audit rather than siblings) and a disambiguation of the payment statement, which matters for an open-world, non-read-only tool.

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 both parameters (url as public HTTP(S) x402 base URL, capability as the name of the no-payment challenge to audit), so the schema carries the parameter burden. The description adds no syntax, format, or constraint detail beyond restating 'a selected capability', leaving the baseline 3 appropriate.

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?

The second sentence names a specific verb and resource ('purchase-challenge audit') and enumerates exactly what is validated (status, requirements, destination, amount, receiver-only controls). It does not differentiate itself from close siblings such as x402.compatibility_audit or execution.preflight, and the leading 'PAID $19.00 USDC on Base via x402' sentence is about cost rather than purpose, which blurs the opening.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description never states when to choose this audit over the sibling audits (x402.compatibility_audit, requirements.check, execution.preflight) or what precondition triggers it. 'For a selected capability' is the only contextual hint and it is implicit at best.

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.