Skip to main content
Glama

reference_currency

Read-only

Currency facts by ISO 4217 code — Facts about a currency by ISO 4217 code= (e.g. EUR, JPY): name, symbols, issuing central bank, introduction date, currencies it replaced, active or discontinued, latest inflation rate where recorded, and the list of current countries and territories using it (with ISO 3166 alpha-2 codes). Source Wikidata (CC0). No exchange rates here - use /v1/fx/rate for those. 404 for unknown codes. Price: $0.002 USDC (Base, via x402).

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": {
      "code": "<code>"
    },
    "name": "reference_currency"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesEUR

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, destructiveHint=false, and the description adds real value on top: the data source (Wikidata, CC0), the error behavior (404 on unknown codes), and a paid-call requirement ($0.002 USDC via x402 on Base). The only gap is that it never says how large the payload is or whether lookups are cached, but for a single-record reference read that is minor.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The key scoping and exclusion information is front-loaded, but the opening phrase is duplicated ('Currency facts by ISO 4217 code — Facts about a currency by ISO 4217 code=') with a stray '=' typo, which wastes space on repetition of the title. The rest of the sentence is dense but every clause adds information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter reference lookup with no output schema, the description fully compensates: it enumerates the returned fields in order, names the data source and license, states the error case, and discloses the paid-call cost. An agent has everything needed to decide to call it and to interpret the result.

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 single required 'code' field is already documented, so the schema carries the burden. The description adds only that codes are ISO 4217 with examples like EUR and JPY, which the schema's own example already conveys; it adds no syntax or normalization rules (e.g. case sensitivity) beyond that.

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 pair ('Currency facts by ISO 4217 code') and enumerates exactly which facts are returned (name, symbols, central bank, introduction date, predecessors, status, inflation, current users). It also distinguishes itself from the exchange-rate endpoint, so an agent can tell what this returns versus what it does not.

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

Usage Guidelines5/5

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

Explicitly excludes a nearby use case ('No exchange rates here - use /v1/fx/rate for those'), which is exactly the when-not guidance an agent needs to avoid routing FX queries here. It also states the failure condition ('404 for unknown codes') and the cost prerequisite, so the conditions for a successful call are clear.

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