Skip to main content
Glama

Get exchange rates

get_exchange_rates
Read-only

Get cached system FX rates (EUR base quote map) used for multi-currency display.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds genuinely new behavior: the rates are cached (implying possible staleness) and the quote map is EUR-based. However, it does not say how stale the cache may be, whether rates are refreshed, or how the quote map is keyed, which is the remaining behavioral gap.

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?

A single sentence with no filler; the most decision-relevant facts (cached, system-wide, EUR base) are packed into the first clause. Nothing extraneous and nothing buried.

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 zero-parameter read with annotations covering safety and no output schema, the description is nearly sufficient — it tells the agent the base currency and that the payload is a quote map. Without an output schema, a note on the shape of the quote map or on cache staleness would make it fully complete.

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?

The tool takes zero parameters, so there is no parameter semantics to explain — baseline 4 applies. The schema is empty with additionalProperties=false, consistent with the parameterless 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?

Specific verb plus resource: 'Get cached system FX rates (EUR base quote map)'. The parenthetical disambiguates the resource — system-wide FX rates rather than user-specific data — and no sibling in the catalog could be confused with it. It stops short of naming an alternative, but none is needed for a uniquely scoped read.

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?

The clause 'used for multi-currency display' implies the context of use (converting displayed amounts across currencies), which is stronger than nothing. It does not explicitly state when to call this versus, say, fetching amounts already converted, nor does it warn about when the rates would be inappropriate (e.g., settlement or accounting).

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