Skip to main content
Glama

Ecb Get Data

ecb_get_data
Read-onlyIdempotent

Generic SDMX data fetch from any ECB flow. Key is dot-separated dimension values; empty positions are wildcards. Example: flow_ref="EXR", key="D.USD.EUR.SP00.A" (daily USD/EUR spot). Euro-area government bond yields by country, 10-year, MONTHLY average (not a daily quote): flow_ref="IRS", key="M..L.L40.CI.0000.EUR.N.Z" with IT = Italy BTP, FR = France OAT, ES = Spain, PT = Portugal, GR = Greece, DE = Germany (e.g. key "M.IT.L.L40.CI.0000.EUR.N.Z", last_n 3).

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.USD.EUR.SP00.A",
      "flow_ref": "EXR"
    },
    "name": "ecb_get_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesSeries key, dot-separated dimension values
last_nNoReturn only the last N observations
flow_refYesFlow reference, EXR (exchange rates), ICP (HICP), BSI, IRS, STS, BLS, MIR, ...
end_periodNoEnd date / period
start_periodNoStart date / period

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "flow_ref": "EXR",
      -    "key": "D.USD.EUR.SP00.A"
      -  },
      -  {
      -    "flow_ref": "ICP",
      -    "key": "M.DE.....CP00",
      -    "last_n": 12,
      -    "start_period": "2023-01"
      -  }
      -]New value: +[
      +  {
      +    "flow_ref": "EXR",
      +    "key": "D.USD.EUR.SP00.A"
      +  },
      +  {
      +    "flow_ref": "ICP",
      +    "key": "M.DE.....CP00",
      +    "last_n": 12,
      +    "start_period": "2023-01"
      +  },
      +  {
      +    "flow_ref": "IRS",
      +    "key": "M.IT.L.L40.CI.0000.EUR.N.Z",
      +    "last_n": 3
      +  }
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / flow_ref / description
      Previous value: -"Flow reference — EXR (exchange rates), ICP (HICP), BSI, IRS, STS, BLS, MIR, ..."New value: +"Flow reference, EXR (exchange rates), ICP (HICP), BSI, IRS, STS, BLS, MIR, ..."
  3. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "flow_ref": "EXR",
      +    "key": "D.USD.EUR.SP00.A"
      +  },
      +  {
      +    "flow_ref": "ICP",
      +    "key": "M.DE.....CP00",
      +    "last_n": 12,
      +    "start_period": "2023-01"
      +  }
      +]
  4. Added

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already cover read-only, idempotent, open-world, non-destructive, so the description only needs to add context. It does: the syntax rule that 'empty positions are wildcards' and the explicit clarification that the bond-yield series is a MONTHLY average rather than a daily quote, which prevents a real misinterpretation. It omits anything about result size limits or rate behavior.

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?

The lead sentence carries the core purpose, followed by the key-format rule, then concrete examples; nothing is padding. The final bond-yield sentence is dense and buries the ISO2 country mapping mid-clause, which slightly hurts scannability.

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?

There is no output schema, so the description should say what comes back and how dimensions are ordered per flow, which it does not. It also fails to point at ecb_list_dataflows for discovering valid flow_ref values, which is the biggest gap for a 'generic any flow' tool with five parameters.

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 baseline is 3, but the description earns more. It explains what the key string actually is (dot-separated dimension values with wildcard positions) and supplies three fully-formed, valid keys with their flow_ref, which is far more actionable than the schema's 'Series key, dot-separated dimension values'.

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 names a specific action and resource: 'Generic SDMX data fetch from any ECB flow.' It implicitly distinguishes itself from the specialized siblings by being the catch-all for any flow_ref, and the EXR/IRS/ICP examples make the scope concrete. It stops short of explicitly naming alternatives like ecb_exchange_rate or ecb_hicp_inflation.

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?

Worked examples show realistic use cases (daily USD/EUR spot, monthly 10-year bond yields per country), which strongly implies when this tool fits. However, it never states when to prefer the dedicated siblings or that this tool should be used only for flows without a dedicated tool, leaving a real overlap ambiguity given the sibling list.

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.