Skip to main content
Glama

ExchangeRebel — pay-per-call APIs for AI agents (x402 on Solana)

true_cost_quote

$0.01 USDC on Solana per quote - the payment buys one signed true-cost quote for the price + facilitator + scheme you submit: every fee leg from the published fee model (incl. CDP past the free tier), the all-in total, and the model's source and vintage printed.

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": {
      "quote": "<quote>"
    },
    "name": "true_cost_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
quoteYesThe quote request: seller_price_micro, facilitator, scheme, and the facilitator's position inputs where its fee model needs them (e.g. cdp_monthly_tx_position for CDP past the free tier).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the exact price and payment rail ($0.01 USDC on Solana per quote), that the quote is signed, and what it contains. It omits failure/refund behavior if the payment succeeds but the quote cannot be produced, which keeps it from a 5.

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?

It is a single dense sentence that front-loads the cost and then the deliverable, with no filler. The run-on punctuation (colons, parenthetical) makes it slightly harder to parse than it needs to be.

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?

For a one-parameter, nested-input tool with no output schema, the description compensates by enumerating the return contents (each fee leg, all-in total, source and vintage) and the payment requirement. Only error and idempotency behavior remain unaddressed.

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 100% and the nested object already documents seller_price_micro, facilitator, scheme, and the facilitator position inputs, so the baseline is 3. The description adds only the framing that position inputs are conditional on the fee model needing them, which is useful but largely restates the schema.

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 states a specific verb and resource: it returns (buys) one signed true-cost quote covering fee legs, all-in total, and model source/vintage for a submitted price, facilitator, and scheme. That clearly separates it from sibling criteria/precheck tools, though it never names them explicitly.

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?

Usage is implied by the described input shape (price + facilitator + scheme) and the note about CDP past the free tier, so an agent can infer when this is the right call. There is no explicit when-not guidance and no named alternative such as fee_oracle_recipe or fees_estimate.

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