Skip to main content
Glama

Bis Fetch Dataset

bis_fetch_dataset
Read-onlyIdempotent

Fetch tidy rows from a BIS dataflow. flow_ref is "BIS,," and the VERSION IS NOT ALWAYS 1.0, "BIS,WS_CBPOL,1.0" (central bank policy rates), "BIS,WS_XRU,1.0" (US-dollar exchange rates), but "BIS,WS_TC,2.0" (total credit). BIS re-versions flows in place, so a guessed version returns no data rather than an error; take the exact ref from list_curated_flows or search_dataflows instead of assuming one. The key string is a dot-separated dimension filter (e.g., "D.US", frequency.country). ALWAYS pass start_period / end_period ("2020", "2020-Q1", "2020-01"): the big banking and debt flows are multi-megabyte and an unbounded request can time out.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "key": "D.US",
      "flow_ref": "BIS,WS_CBPOL,1.0",
      "end_period": "2024",
      "start_period": "2024"
    },
    "name": "bis_fetch_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoDot-separated dimension key (empty for all)
limitNoCap rows (default 5000)
flow_refYesSDMX dataflow reference
end_periodNoInclusive end
start_periodNoInclusive start

Output Schema

NameRequiredDescriptionDefault
rowsYesTidy data rows as key-value objects
countYesNumber of data rows returned
columnsYesColumn headers from CSV
flow_refYesSDMX dataflow reference used
truncatedYesWhether result was truncated by limit
source_urlYesBIS web URL for this dataflow

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds real behavior beyond them: BIS re-versions flows in place, so a guessed version silently yields no data instead of an error, and unbounded requests on large banking/debt flows can time out. The only thing left implicit is default row capping, which the schema's limit description already states.

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 action, then constraints and formats in priority order. The inline example triples for each dataflow are slightly repetitive, but each carries information (the WS_TC 2.0 case is the whole point), so nothing is truly wasted.

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?

For a 5-parameter read tool with an output schema, everything an agent needs is present: how to construct the ref, how to filter, and why periods are mandatory. Return shape is correctly left to the output schema rather than restated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the schema fields are terse ('SDMX dataflow reference', 'Dot-separated dimension key'), while the description supplies the actual flow_ref grammar with three concrete version-varied examples and the key string format 'frequency.country'. That is meaning that cannot be inferred from the schema alone.

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?

Opens with a specific verb and resource: 'Fetch tidy rows from a BIS dataflow.' It then goes further than most definitions by naming the sibling tools that supply the exact flow_ref (list_curated_flows, search_dataflows), so an agent can place this tool in the workflow rather than guessing.

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?

Explicit routing guidance: rather than assuming a version, 'take the exact ref from list_curated_flows or search_dataflows.' It also gives a hard rule ('ALWAYS pass start_period / end_period') with examples of accepted formats, which is when-to-use guidance in its most actionable form.

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.