Skip to main content
Glama

Bank of Canada Valet Rates MCP

Get Canadian benchmark government bond yields

get_bond_yields
Read-onlyIdempotent

Retrieve daily Canadian benchmark government bond yields across 2-year, 3-year, 5-year, 7-year, 10-year, and long-term maturities from Bank of Canada Valet.

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

Input Schema

NameRequiredDescriptionDefault
recentNoNumber of recent business-day observations (1-365, default 3).
end_dateNoOptional end date in YYYY-MM-DD format.
start_dateNoOptional start date in YYYY-MM-DD format.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description usefully adds the upstream source (Bank of Canada Valet) and the daily observation frequency, but says nothing about behavior when 'recent' and start/end_date are combined, how gaps or holidays are handled, or what the payload looks like.

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, front-loaded with the verb and resource, with the maturity list and data source compacted into one clause. Nothing is padded and nothing important appears late.

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 three-optional-parameter read tool with no output schema and full annotation coverage, the definition is close to sufficient, but it leaves real ambiguity about how 'recent' interacts with start_date/end_date and gives no hint of the returned structure. A sentence on those two points would close the gap.

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 three optional parameters are already documented with formats and the recent-observation range. The description adds only the notion that observations are daily and business-day based, and does not clarify the precedence or interaction between 'recent' and the date-range parameters — 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?

The description opens with a specific verb and resource ('Retrieve daily Canadian benchmark government bond yields') and enumerates the exact maturities (2y, 3y, 5y, 7y, 10y, long-term) plus the source ('Bank of Canada Valet'). That is far more precise than the title alone, though it never names a sibling (e.g., get_fx_rates_cad or get_policy_interest_rate) to explicitly bound the scope.

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 tool's domain makes intended use inferable — an agent would pick it when it needs Canadian benchmark bond yields — but there is no explicit when-to-use statement, no mention of when to prefer get_policy_interest_rate or the generic get_series_observations instead, and no guidance on choosing between the 'recent' shortcut and an explicit start/end range.

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.