Skip to main content
Glama

x402-erc8004-api-sla-escrow

quote_multitoken_escrow

[EN] Atomic multi-token swap quote (SOL, ETH, VIRTUAL, USDT -> Base USDC) with Dual-Lane Guardrail & volume discount (1% from 10 USDC). | [ES] Cotiza conversión atómica a USDC en Base con descuento por volumen. | [中文] 多代币原子兑换报价 (SOL/ETH/USDT 转 Base USDC) 及 ERC-8183 托管费用计算。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tokenSymbol": "<tokenSymbol>",
      "tokenAmount": "<tokenAmount>"
    },
    "name": "quote_multitoken_escrow"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenAmountYes
tokenSymbolYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden, and it leaves the critical question unanswered: is this a non-binding read-only quote, and how long is it valid? It mentions a discount tier and a guardrail mechanism but never states what the guardrail does, what happens if it trips, or whether onchain state is read. Only the discount rule constitutes real behavioral disclosure.

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

Conciseness2/5

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

The English sentence is reasonably front-loaded and informative, but the Spanish and Chinese restatements add no new information for an agent and roughly triple the length. The Chinese variant introduces a new claim ('ERC-8183 escrow fee calculation') absent from the English text, so the versioning is inconsistent rather than merely redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a quote tool with no output schema, no annotations, and 0% parameter coverage, so the description must explain what a quote contains (rate, fee breakdown, discount applied, expiry) and it does not. For a tool whose entire value is the returned pricing data, omitting return-shape expectations and quote validity is a substantial gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for both parameters and largely does not. It lists the tradeable tokens, which loosely maps to tokenSymbol, but it never says tokenAmount is denominated in whole tokens or base units, nor which token the amount refers to when tokenSymbol is the source. Note that the enum includes USDC while the description frames USDC only as the output asset, adding ambiguity.

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 ('Atomic multi-token swap quote') and enumerates the supported input tokens (SOL, ETH, VIRTUAL, USDT) and the output asset (Base USDC), which is enough to distinguish it from the audit_* and open_escrow_job siblings. Phrases like 'Dual-Lane Guardrail' and 'ERC-8183 escrow fee calculation' hint at scope but are never unpacked, so the purpose is clear at a high level but fuzzy in the details.

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?

There is no statement of when to call this versus the sibling escrow tools, and no precondition such as 'call before open_escrow_job to preview fees.' The only conditional information is the volume discount threshold ('1% from 10 USDC'), which is a pricing rule rather than usage guidance. An agent must infer the quoting-before-swapping workflow on its own.

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.