Skip to main content
Glama

marketplace_x402_payment

Buy one verified result and get a signed receipt for 0.05 USDC on Base, paid from your own wallet with NO registration and NO API key. Call without x_payment to get the x402 payment terms (amount, asset, network, payTo); sign the returned EIP-3009 authorization and call again with x_payment to receive the verified result. Optional service_name picks the shelf service (default sphere_receipt).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x_paymentNoOptional base64 X-PAYMENT header from a previous 402 reply
service_nameNoWhich shelf service to buy (default sphere_receipt)
task_payloadNoInput for the service (e.g. the result and claims to verify)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the payment amount, network, need for signing an EIP-3009 authorization, and the absence of registration/API key. It does not explicitly mention refunds or failure modes, but given it's a payment tool, the essential behaviors are well covered.

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?

The description is dense but every sentence contributes: it states the core offer, the two-step payment process, and the optional parameter. It is front-loaded with the essential purpose and avoids redundancy, making it efficient for an agent to parse.

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?

Given there is no output schema, the description adequately states the result (verified result and signed receipt) and the payment terms. It lacks explicit details about the receipt format or potential errors, but for a transactional tool, it provides sufficient context for an agent to understand the expected outcome.

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?

The schema already covers all parameters (100% coverage), and the description adds critical context: x_payment is from a previous 402 reply, service_name defaults to sphere_receipt, and task_payload is input for the chosen service. This exceeds the schema's descriptions and clarifies the overall flow.

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 clearly states the tool's function: buying one verified result via x402 payment, with explicit details on cost (0.05 USDC on Base) and the two-step interaction. It also distinguishes itself from siblings by focusing on the x402 payment mechanism rather than a specific service.

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

Usage Guidelines5/5

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

Provides explicit usage instructions: first call without x_payment to receive payment terms, then sign and call again with x_payment. Also explains the optional service_name parameter for selecting a shelf service. This gives the agent a clear workflow and distinguishes when to use this tool.

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