Skip to main content
Glama

Bank of Canada Valet Rates MCP

Get Bank of Canada CAD FX rates

get_fx_rates_cad
Read-onlyIdempotent

Fetch daily average foreign exchange rates against the Canadian dollar (CAD) from Bank of Canada Valet for one or more ISO currency codes (e.g. "USD,EUR,GBP") or Valet FX series codes (e.g. "FXUSDCAD").

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_fx_rates_cad"
  }
}

Input Schema

NameRequiredDescriptionDefault
recentNoNumber of recent business-day observations to return (1-365, default 5).
end_dateNoOptional end date in YYYY-MM-DD format.
currenciesNoComma-separated 3-letter ISO currency codes (e.g. "USD,EUR") or Valet codes (e.g. "FXUSDCAD"). Defaults to "FXUSDCAD".
start_dateNoOptional start date in YYYY-MM-DD format.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds that values are daily averages from Bank of Canada Valet, which is useful context, but says nothing about return shape, date-range interaction, or failure modes when a currency code is invalid.

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 front-loaded sentence with no filler, naming source, resource and accepted code formats. It is dense but readable; slightly longer than strictly necessary given the schema repeats the code examples.

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

Completeness3/5

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

For a zero-required-parameter read tool with full schema coverage and annotations, the essentials are present. The gap is explaining how the date parameters combine with 'recent' and what the returned observations look like, which nothing else in the definition covers.

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 description coverage is 100%, so all four parameters are already documented, including examples for currencies. The description merely repeats the currency-code format rather than adding anything about how start_date/end_date interact with recent, so baseline 3 applies.

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 and resource: 'Fetch daily average foreign exchange rates against the Canadian dollar (CAD) from Bank of Canada Valet'. The mention of ISO codes and Valet series codes further pins down the resource. It does not explicitly differentiate from siblings like get_series_observations, but the FX scope is clear enough on its own.

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?

Usage is only implied: an agent can infer you call this when you need CAD FX rates. There is no explicit statement of when to prefer this over get_series_observations or get_bond_yields, and no prerequisites or exclusions are named.

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.