Skip to main content
Glama

AgentPay — Pay-per-call AI Microservices

fx-rate

fx-rate
Idempotent

Foreign exchange rates - 160+ fiat currencies vs any base currency ($0.003 USDC per call)

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
baseNo
symbolsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare openWorldHint, idempotentHint and destructiveHint=false; the description adds genuinely new behavior by disclosing a per-call charge of $0.003 USDC, which matters before invoking a payable endpoint. It still says nothing about the return shape, default base currency, or whether missing symbols returns all 160+ currencies.

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?

A single compact line with the core capability front-loaded and the pricing parenthetical clearly separated. Nothing is wasted, though the terse phrasing leaves the verb implicit.

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 zero schema coverage, no output schema, and no required parameters, the description should explain defaults and the response structure; it does neither. For a paid endpoint where an agent must decide whether to spend credits, these omissions are material.

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% for both parameters, so the description must compensate. 'vs any base currency' loosely maps to `base` and '160+ fiat currencies' to `symbols`, but it never states the default when base is omitted (0 required params) or the currency-code format expected.

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 resource (foreign exchange rates) with concrete scope: 160+ fiat currencies against any base currency. It does not name a distinguishing sibling, so an agent cannot tell from the text alone why it should pick this over crypto-price for non-fiat pairs.

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?

'Foreign exchange rates ... fiat currencies' implicitly scopes usage to fiat and hints at pairing with a base currency, but there is no explicit when-to-use, when-not-to-use, or named alternative. The pricing note tells the agent a call costs money, which weakly discourages unnecessary calls but is not usage guidance.

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