Skip to main content
Glama

get_macro_data

Get historical macroeconomic data from BLS and market sources, including CPI, unemployment, policy rates, and yield curves, with month-over-month and year-over-year changes.

Instructions

Historical macroeconomic series from the BLS with month-over-month and year-over-year changes — the numbers behind the inflation and labour narrative.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
monthsNoHow many observations to show per series (default 13).
seriesNoComma-separated keys or a list. BLS (default source): cpi, cpi_sa, core_cpi, unemployment, payrolls, ppi, avg_hourly_pay, labor_force. Central banks and markets (source="markets"): fed_funds, fed_target_upper, ecb_deposit, ecb_refi, boe_bank_rate, boe_sonia, boj_call_rate, us_2y, us_10y, us_30y, curve_10y_2y, curve_10y_3m, breakeven_10y, us_cpi, us_core_pce, us_gdp_real, us_unemployment, euro_hicp, dollar_index, vix, hy_spread, mortgage_30y.cpi,core_cpi,unemployment
sourceNo"bls" for US labour statistics (default), or "markets" for policy rates, the yield curve and financial conditions via FRED, the ECB and the Bank of England.bls

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are present, so the description carries the full behavioral burden, but it only says the data is historical BLS series with MoM/YoY changes. It does not mention output conventions, update cadence, rate limits, or any operational limitations, and the 'BLS' phrasing omits the non-BLS sources allowed by the schema.

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 front-loaded sentence that states the core function and value without repeating schema details or adding filler. The em-dash clause provides useful context about inflation and labour without bloating the description.

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 a rich, fully documented input schema and an output schema present, the description provides enough orientation for an agent to understand the tool's domain and select it appropriately. It is slightly incomplete in that it emphasizes BLS and does not hint at the markets source, but the schema covers that gap.

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?

The input schema already provides detailed descriptions for all three parameters (months, series, source) at 100% coverage, including enumerations of available series. The description adds no parameter-level meaning beyond pointing at BLS, so the baseline 3 is appropriate.

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 identifies the tool as providing historical macroeconomic series from the BLS with month-over-month and year-over-year changes, which distinguishes it from the market, filing, and company-focused sibling tools. It lacks an explicit verb like 'retrieves' or 'gets,' but the tool name and content make the purpose unambiguous.

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?

'The numbers behind the inflation and labour narrative' gives clear context for when to use this tool versus general market or company data tools. However, it does not explicitly name alternatives to exclude or mention the source='markets' option, so it falls short of full when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Blahaj-gif/Finance-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server