Skip to main content
Glama

Econdata Get Series

econdata_get_series
Read-onlyIdempotent

Fetch any economic time series by ID (e.g., "CPUR0000SA0" for CPI, "LNS14000000" for unemployment). Returns historical data points with dates and values.

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_id": "CUUR0000SA0"
    },
    "name": "econdata_get_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
_apiKeyNoOptional BLS registration key (free, raises the daily cap from ~25 to 500). The gateway supplies a platform key; pass your own only to override.
end_yearNoEnd year as 4-digit string (e.g. "2024"). Optional.
series_idYesBLS series ID (e.g. "CUUR0000SA0" for CPI)
start_yearNoStart year as 4-digit string (e.g. "2020"). Optional.

Output Schema

NameRequiredDescriptionDefault
dataYesTime series data points
totalYesNumber of data points returned. Equal to `returned`, BLS returns every point in the requested year range.
end_yearYesEnd year filter if provided, null otherwise
returnedNoHow many data points are in `data`. Always equal to `total` here; stated so a caller need not assume it.
series_idYesBLS series ID requested
start_yearYesStart year filter if provided, null otherwise
observation_orderNoOrder of the `data` array. BLS returns each series newest-first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / total / description
      Previous value: -"Number of data points returned. Equal to `returned` — BLS returns every point in the requested year range."New value: +"Number of data points returned. Equal to `returned`, BLS returns every point in the requested year range."
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered. The description adds the return shape (dated historical data points), which is useful, but says nothing about rate limits, invalid-ID behavior, or truncation — the daily cap detail lives only in the _apiKey schema entry, not here.

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?

Two sentences, purpose first and return value second, with no filler. Every clause carries information an agent would otherwise have to infer.

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 full schema coverage, an output schema, and rich annotations, the description only needs to state purpose and return shape, which it does. It falls short of complete only in omitting practical caveats like quota exhaustion or what happens with an unrecognized series ID.

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

Parameters3/5

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

Schema description coverage is 100%, so all four parameters (including _apiKey, start_year, end_year) are already documented in the schema, establishing a baseline of 3. The description contributes only illustrative series IDs, which the schema also provides; it adds no meaning about how start_year/end_year interact with the returned range.

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 gives a specific verb and resource ("Fetch any economic time series by ID") and grounds it with two concrete series IDs ("CPUR0000SA0" for CPI, "LNS14000000" for unemployment). It does not differentiate itself from siblings like get_cpi or get_unemployment, so an agent cannot tell from the text alone why it would pick this generic fetcher over those curated ones.

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?

The word "any" implies this is the general-purpose escape hatch when a specific series ID is known, but no explicit when-to-use or when-not-to-use guidance is given. Nothing tells the agent to prefer get_cpi or get_unemployment for common indicators, nor what to do if the ID is unknown.

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.