Skip to main content
Glama

Sarb Timeseries

sarb_timeseries
Read-onlyIdempotent

Historical observation series for a single SARB indicator, identified by its TimeseriesCode (obtain codes from home_rates, current_market_rates, cpd_rates or exchange_rates). Examples: "MMRD002A" (SARB Policy Rate — or use sarb_policy_rate directly), "MMRD000A" (prime lending rate), "EXCX135D" (Rand per US Dollar), "CPI1000F" (CPI). Optionally bound the range with start_date and end_date (YYYY-MM-DD); omit both for the most recent ~25 points, not the full history. An unknown code and a valid code with no data in range both come back as a named no_data error (the SARB itself cannot tell them apart).

Input Schema

NameRequiredDescriptionDefault
codeYesSARB TimeseriesCode, e.g. "MMRD002A", "EXCX135D", "CPI1000F".
end_dateNoRange end, YYYY-MM-DD (optional). Requires start_date.
start_dateNoRange start, YYYY-MM-DD (optional). Requires end_date.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "code": "MMRD002A"
      +  },
      +  {
      +    "code": "EXCX135D",
      +    "end_date": "2024-12-31",
      +    "start_date": "2023-01-01"
      +  }
      +]
  2. Added

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description does add genuinely useful non-annotation behavior: omitting dates returns ~25 recent points rather than full history, and an unknown code and an empty range both surface as a named `no_data` error. It does not describe the shape of returned observations, but overall it adds real value 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose, then codes, then the date-range behavior and error semantics. Dense but every sentence carries information; the parenthetical examples are slightly list-like but stay justified.

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?

With no output schema, the description covers the default result size and the no-data error path, which are the main behavioral unknowns. It stops short of describing the fields in a returned observation, which is the one remaining gap for a data-retrieval tool.

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 description coverage is 100%, so the baseline is 3, and the description goes beyond the schema by explaining the default behavior when both date parameters are omitted and by supplying worked example codes. It does not explain the start/end mutual-requirement beyond what the schema already states.

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+resource: 'Historical observation series for a single SARB indicator, identified by its TimeseriesCode.' It also distinguishes itself from siblings by naming where codes come from (home_rates, current_market_rates, cpd_rates, exchange_rates) and pointing to sarb_policy_rate as an alternative for the policy rate.

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

Usage Guidelines5/5

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

Explicitly tells the agent how to obtain a code, when to use sarb_policy_rate instead, and how to bound a range versus omitting dates for the default window. This is close to a decision tree, leaving little to 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.