Skip to main content
Glama

VitalityNode Exchange Rates

Official exchange rate on a date

official_rate
Read-onlyIdempotent

Official exchange rate of a named publisher on a date, with a proof link: central banks (ECB, Fed H.10, Bank of Canada, central bank of the currency's own country), tax and customs rates (IRS yearly average, HMRC monthly and yearly, SUNAT, Korea customs), U.S. Treasury, UN. How many quote for 1 base. source picks the publisher (list_sources shows them; default ecb). period YYYY or YYYY-MM instead of date selects a yearly or monthly average. Several currencies: quote as EUR,GBP,JPY.

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

Input Schema

NameRequiredDescriptionDefault
baseYesISO 4217 code, e.g. USD
dateNoYYYY-MM-DD
quoteYesISO 4217 code, or up to 30 codes separated by commas
periodNoYYYY or YYYY-MM (averages; instead of date)
sourceNoPublisher table code, e.g. ecb, irs-yearly, hmrc-monthly, cbr, sunat

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds useful behavior beyond that: a proof link is returned, the default publisher is ecb, and averaging is available. It still does not describe the response shape (rate value, effective date, source) despite there being no output schema.

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?

Front-loads purpose, then moves through rate direction, source selection, period alternative and multi-currency syntax in four dense sentences. The telegraphic fragments are efficient, though the long publisher enumeration in the first sentence is heavier than needed for an agent that can call list_sources.

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 five-parameter read-only lookup with no output schema, the description covers purpose, publisher coverage, defaults, date-vs-period behavior and multi-currency quoting. The main residual gap is the structure of the returned rate and proof link, which an agent must discover by calling.

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?

With 100% schema coverage the baseline is 3, but the description adds real meaning: 'How many quote for 1 base' disambiguates rate direction, 'period ... instead of date' explains the mutual exclusivity that the schema only hints at, and 'quote as EUR,GBP,JPY' shows the multi-code format. It also names the default for source.

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 ('Official exchange rate of a named publisher on a date') plus an output trait ('with a proof link'), and enumerates the publisher families covered (ECB, Fed H.10, IRS, HMRC, SUNAT, U.S. Treasury, UN). An agent can tell this is a point-in-time official rate lookup rather than a series or ranking tool.

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

Usage Guidelines4/5

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

Gives clear selection rules for the key parameters: 'source picks the publisher (list_sources shows them; default ecb)' and 'period YYYY or YYYY-MM instead of date selects a yearly or monthly average'. It does not state when to prefer this over siblings like official_series or country_rates, so tool-level routing still requires inference.

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