Skip to main content
Glama

Beggar Bot

x402_auth_verify

Pre-settlement verifier for a signed x402 / EIP-3009 TransferWithAuthorization: recovers the signer against the token's live EIP-712 domain, checks validAfter/validBefore window, on-chain nonce unused Paid: $0.02 USDC via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_auth_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNobase|...
pay_toNooptional expected 0x
payloadNox402 payment payload JSON or authorization+signature
max_amountNooptional units

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose the core checks: signer recovery against the token's live EIP-712 domain, validAfter/validBefore validation, and nonce-unused verification. It also notes the tool is paid at $0.02 USDC via x402, which is useful context. It does not explain return values, failure modes, or whether any state is modified.

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 compact and front-loads the core purpose and checks. The trailing 'Paid: $0.02 USDC via x402' is slightly awkwardly appended but still earns its place by disclosing cost.

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 verification tool with four optional parameters, no annotations, and no output schema, the description explains what is checked but not what a successful or failed verification returns. It is adequate for invocation but leaves an agent guessing about output and error semantics.

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%, so the parameters are already documented in the schema. The description adds conceptual context about what is being verified but does not add syntax, format, or constraints for chain, pay_to, payload, or max_amount beyond what the schema provides.

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 description names a specific verb and resource: a pre-settlement verifier for a signed x402 / EIP-3009 TransferWithAuthorization, with concrete checks (signer recovery, time window, nonce). It is clearly distinguishable in substance, but it never explicitly contrasts itself with nearby siblings such as x402_auth_payload, usdc_auth_check, or verify_payment.

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 phrase 'Pre-settlement verifier' implies the usage context: call this before settlement to validate an authorization. However, there is no explicit when-not guidance, no mention of prerequisites, and no routing advice versus the many other x402 and signature-verification siblings.

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.