Skip to main content
Glama

create_x402_relay_quote

Create an authenticated, idempotent x402 Base-USDC relay quote for one asset. The server fixes the amount and all destinations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiKeyYesBuyer X-API-Key
assetIdYes
idempotencyKeyYesUnique key reused only for this asset quote

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/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 behavioral disclosure burden. It meaningfully discloses authentication, idempotency, and that the server unilaterally fixes the amount and destinations. It does not fully describe the lifecycle or response, but the disclosed traits are genuinely informative.

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 concise sentences, front-loaded with the core action and enriched by one necessary behavioral constraint. Every word earns its place; no fluff or repetition of schema details.

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?

The description is adequate for a straightforward quote-creation tool, covering operation, auth, and idempotency. However, with no output schema and no annotations, it omits what the returned quote contains and how this step fits into the sibling payment/retry/status flow.

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 coverage is 67%, with apiKey and idempotencyKey already described. The description adds only that the quote is for 'one asset', but does not clarify what values assetId should take or how to obtain it. It adds some context but does not fully compensate for the undocumented assetId parameter.

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 states a specific action ('Create an authenticated, idempotent x402 Base-USDC relay quote'), identifies the resource ('one asset'), and adds a distinguishing behavioral detail ('The server fixes the amount and all destinations'). This clearly separates it from sibling tools like buy_asset and fund_x402_relay_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 description implies usage: call this to obtain a quote for a single asset. However, it does not explicitly state when to use this over siblings, e.g., that this should precede funding or payment, or that it does not execute the purchase.

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