Skip to main content
Glama

UK Data for Agents

hmrc_exchange_rates

Read-onlyIdempotent

HMRC monthly exchange rates for customs and VAT, every currency to GBP. (cost: 1 credit)

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

Input Schema

NameRequiredDescriptionDefault
monthNoYYYY-MM

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 openWorld, so the safety profile is covered. The description adds real value by disclosing the 1-credit cost and the monthly cadence plus GBP direction, but says nothing about default behaviour when month is omitted (it is optional) or what happens for an unpublished month.

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?

Two short sentences with the scope and currency direction front-loaded and the credit cost neatly bracketed at the end. Nothing is wasted and there is no filler.

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 one-parameter, read-only lookup with no output schema, the description gives enough to identify the source, the granularity, the base currency and the cost. The one meaningful gap is the behaviour of the optional month argument, which an agent must guess.

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 month parameter is documented as YYYY-MM there, so the description need not repeat the format. It adds only the point that figures are monthly, which reinforces granularity but does not clarify whether an omitted month defaults to the current month.

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-free but unambiguous resource: HMRC monthly exchange rates for customs and VAT, covering every currency to GBP. That distinguishes it in substance from siblings like fx_rates or boe_series because it names the official HMRC/customs purpose, but it never names those siblings, so the differentiation is left implicit.

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 customs-and-VAT framing implies the context where these official rates are the right choice over market-rate siblings, but there is no explicit when-to-use or when-not-to-use statement and no mention of the alternative tools. Usage has to be inferred from domain wording.

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