Skip to main content
Glama

AIsa Finance

Interest Rates (Historical)

get_financial_macro_interest_rates
Read-onlyIdempotent

One central bank's policy rate over time, as an interest_rates array of bank, name, date and rate. bank is required and bound by start_date and end_date. Trap worth knowing: the code is case-sensitive and must be uppercase — FED works, fed returns HTTP 404 with "No data found", which reads like an empty result rather than a bad argument. Valid codes are FED, ECB, BOJ, BOE, BOC, RBA, PBOC, SNB, RBI and BOK; get_financial_macro_interest_rates_snapshot with no arguments lists them all.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bankYesThe bank whose interest rates to return. Use the /macro/interest-rates/banks endpoint to get a list of available banks. Case-sensitive: must be uppercase. A lowercase code returns HTTP 404 "No data found", which reads like an empty result rather than a bad argument.
end_dateNoThe end date of the interest rates to return in YYYY-MM-DD format.
start_dateNoThe start date of the interest rates to return in YYYY-MM-DD format.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare read-only and idempotent behavior, and the description adds beyond that: the uppercase case-sensitivity trap, the misleading HTTP 404 'No data found' result, and the list of valid bank codes. This extra behavioral context is highly valuable and goes well beyond the annotations.

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?

The description is compact and front-loaded: it opens with the data shape, moves to required parameter behavior, and then gives the critical edge case. The valid-code list slightly overlaps the enum, but it earns its place by supporting the actionable uppercase warning.

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?

With annotations covering safety and an output schema present, the remaining needs—required parameter, valid codes, case sensitivity, date binding, and the snapshot alternative—are all addressed. Nothing essential is missing for an agent to call this tool correctly.

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?

Schema coverage is 100%, so the schema already documents the parameters. The description still adds meaning by explaining the relationship between `bank`, `start_date`, and `end_date`, and by emphasizing the case-sensitivity warning that affects how the agent interprets failures.

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?

The description states a specific operation: retrieving one central bank's policy rate over time, and names the exact output shape (`interest_rates` array of `bank`, `name`, `date` and `rate`). It also distinguishes the tool from its sibling `get_financial_macro_interest_rates_snapshot` by noting the snapshot lists valid codes, so an agent can tell them apart.

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?

It clearly says `bank` is required, explains the date-bounding relationship, and directs the user to the snapshot tool for listing valid codes. It does not explicitly state when not to use this tool versus other financial siblings, but the context is strong enough for correct selection.

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