Skip to main content
Glama

Bde Es Series

bde_es_series
Read-onlyIdempotent

History of one Banco de España series, oldest first, over a window. "series" is a key from bde_es_series_list (or a Banco de España series code). Default: the last 24 months; pass start_date/end_date (YYYY-MM-DD, monthly values carry the first day of their month) to window it, up to the full history. A window with no observations returns count 0 with an empty_reason; an unknown series is an error.

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": {
      "series": "irph_banks_3y",
      "end_date": "2026-09-30",
      "start_date": "2025-01-01"
    },
    "name": "bde_es_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
seriesYesKey such as "irph_banks_3y" or "usd_per_eur".
end_dateNoWindow end, YYYY-MM-DD (default today).
start_dateNoWindow start, YYYY-MM-DD (default 24 months before end_date).

Output Schema

NameRequiredDescriptionDefault
codeNo
unitNo
countNo
labelNo
seriesNo
sourceNo
frequencyNo
requestedNo
data_as_ofNo
empty_reasonNo
observationsNo
series_last_periodNo
series_first_periodNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive profile, but the description adds substantive behavior: the default window, oldest-first ordering, that an empty window returns count 0 with an empty_reason rather than failing, and that an unknown series is an error. That error-versus-empty distinction is exactly the kind of thing an agent needs before calling. Rate limits and result-size limits are the only notable omissions.

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?

Three sentences, front-loaded with purpose, then key sourcing, then windowing behavior and edge cases. Nothing is padding; each clause carries an operational fact.

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 an output schema present, the description needn't document return shapes, and it instead covers the things the schema can't: default window, ordering, empty-result semantics, and error cases. An agent has everything needed to call this correctly on the first try.

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 adds genuinely new meaning: monthly observations are dated on the first day of their month, which explains how start_date/end_date boundaries behave against monthly data. It also restates the defaults in prose form, which is redundant with the schema but not harmful.

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 opening clause gives a specific verb and resource — the history of one Banco de España series — plus scope (a window) and ordering (oldest first). That ordering and window framing distinguishes it from a 'latest value' sibling without needing to name one.

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 states the default window (last 24 months), how to override it with start_date/end_date, and that the full history is reachable. It also points at bde_es_series_list as the source of valid keys, which is real guidance. It stops short of explicitly saying when to prefer this over bde_es_latest for a single current value.

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.