Skip to main content
Glama

get_macro_data

Read-only

Get macroeconomic data for a specific series. Returns CSV (date,value), or JSON candidates if the input is ambiguous.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEnd date in YYYY-MM-DD format
fromNoStart date in YYYY-MM-DD format
series_idYesThe macro series identifier or its name (e.g. "inflation" or "CCPI_YOY"). Typos are tolerated. If the input is ambiguous, the response returns candidates instead of data; ask the user to pick one and call again with the exact series_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The description adds useful behavioral context beyond the annotations: it discloses the return format (CSV with date/value) and the ambiguity fallback (JSON candidates). Since readOnlyHint=true already covers safety, the added details about output and disambiguation are meaningful and do not contradict annotations.

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?

The description is a single, tight sentence that fronts the main action and immediately mentions the return format and ambiguity handling. There is no wasted wording or unnecessary detail.

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?

For a read-only tool with three params and no output schema, the description adequately explains what the tool returns (CSV or JSON candidates) and the special ambiguity case. It does not elaborate on optional date-range semantics, but these are covered by well-described schema fields, so the overall picture is sufficient.

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 the baseline is 3. The description adds little beyond the schema, as it repeats the ambiguity behavior already documented in the series_id parameter. It does not introduce new parameter meaning or clarify from/to usage.

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 clearly states the verb 'get' and the resource 'macroeconomic data for a specific series', making the core purpose understandable. However, it does not differentiate from the sibling tool 'get_macro_series', which likely serves a similar or overlapping purpose, so it does not fully distinguish itself.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to use this tool versus alternatives such as get_macro_series. The mention of ambiguous input returning candidates hints at a disambiguation workflow, but it does not state conditions for choosing this tool over siblings or prerequisites beyond a series_id.

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.

Resources