Skip to main content
Glama

rag-embedding-poisoning-escrow-auditor

quote_multitoken_escrow

Read-onlyIdempotent

[Private] Read-only price quote: how much USDC a seller receives, with fees, if the buyer uses SOL, ETH, VIRTUAL, USDT or USDC. Does not move funds. Call with {} for preview. Example: {"tokenSymbol":"USDC","tokenAmount":10}.

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": "quote_multitoken_escrow"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenAmountNoAmount to quote.
tokenSymbolNoToken symbol.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / tokenAmount / description
      Previous value: -"Amount of input token to quote."New value: +"Amount to quote."
    • changedInput schema / properties / tokenSymbol / description
      Previous value: -"Input token symbol to swap and lock."New value: +"Token symbol."
  2. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "tokenSymbol",
      -  "tokenAmount"
      -]New value: +[]
  3. Changed4 schema fields changed
    • addedInput schema / properties / tokenAmount / description
      Added value: +"Amount of input token to quote."
    • addedInput schema / properties / tokenAmount / examples
      Added value: +[
      +  10
      +]
    • addedInput schema / properties / tokenSymbol / description
      Added value: +"Input token symbol to swap and lock."
    • changedInput schema / properties / tokenSymbol / enum
      Previous value: -[
      -  "SOL",
      -  "ETH",
      -  "VIRTUAL",
      -  "USDT",
      -  "USDC"
      -]New value: +[
      +  "USDC",
      +  "ETH",
      +  "SOL",
      +  "VIRTUAL",
      +  "USDT"
      +]
  4. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so 'Does not move funds' largely restates the structured safety profile. What the description does add beyond annotations is the composition of the answer (fees are included in the quoted USDC payout) and the '[Private]' qualifier, but it says nothing about quote validity windows, slippage, or fee breakdown, which matter for a price quote with no output schema.

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?

Three sentences plus a compact JSON example, with the core purpose front-loaded before the non-mutation guarantee and the calling convention. Every element carries information an agent needs and there is no filler.

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?

With no output schema, the description correctly shoulders the burden of saying what comes back (USDC a seller receives, net of fees), and it covers both parameters and the empty-preview path. It is slightly thin on quote freshness/expiry and whether fees are itemized, which are the remaining unknowns for a quoting tool.

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

Parameters4/5

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

Schema coverage is already 100%, so the parameter types are documented elsewhere; the description's contribution is the semantics of omission — '{}' yields a preview — which is not expressed anywhere in the schema. The inline example also anchors the two parameters in a realistic call, though it does not clarify what a preview returns versus a real quote.

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?

States a specific verb and resource ('Read-only price quote' for a multi-token escrow) and names the exact outcome being computed: how much USDC a seller receives, with fees, for each supported buyer token. It also enumerates the accepted tokens (SOL, ETH, VIRTUAL, USDT, USDC), so an agent can tell at a glance this is a quoting tool rather than one of the audit/escrow-mutation siblings.

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

Usage Guidelines4/5

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

Gives a concrete call pattern for the no-argument case ('Call with {} for preview') plus a worked example with both parameters, which tells the agent both how to preview and how to quote a specific amount. It stops short of naming when not to use it or pointing to a related sibling (e.g., opening or auditing an escrow), so guidance is clear but not exclusive.

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.