Skip to main content
Glama

Qodnai x402 Security Intelligence

fx_rate

Convert an amount between fiat currencies using current reference rates. Price $0.001. Paid calls are relayed to the x402 endpoint; never send private keys to this server.

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

Input Schema

NameRequiredDescriptionDefault
baseNoUSD
quoteNoEUR
amountNo
x_paymentNoOptional legacy X-PAYMENT header value. Never send a private key.
payment_signatureNoOptional x402 v2 PAYMENT-SIGNATURE header value obtained after the first call returns the live 402 challenge. Never send a private key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses cost ($0.001), that paid calls are relayed to an x402 endpoint, and a security warning about private keys, but it never explains the live 402 challenge/retry flow that the payment_signature parameter implies, nor rate freshness, rounding, or error behavior.

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?

Three short sentences, front-loaded with the core purpose and then the pricing/payment model. Tight overall, with only slight redundancy between the description's private-key warning and the same warning already present in the schema field descriptions.

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?

With no annotations, no output schema, and five parameters of which three are undocumented, the description should say more about what conversion result comes back and how the payment handshake works. It covers cost and safety but leaves the call sequence underspecified for an agent that has to complete a paid x402 flow.

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 coverage is only 40%: base, quote, and amount are undocumented in the schema, and the description does not compensate by stating that these are ISO currency codes, what the defaults are, or what units amount uses. Only the two payment parameters carry any explanation, and that comes from the schema, not the description.

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?

States a specific verb and resource: 'Convert an amount between fiat currencies using current reference rates.' The word 'fiat' implicitly separates it from crypto_price/stock_quote siblings, though it never names or contrasts an alternative tool 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?

'Using current reference rates' implies spot conversion rather than historical lookup, and the payment sentence signals a prerequisite step. However, there is no explicit when-to-use/when-not-to-use guidance and no routing to a sibling for crypto or equity pricing.

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.