Skip to main content
Glama

finwire.pl - Polish financial data

US economy: inflation, jobs, Treasury yields and public debt (BLS, US Treasury)

get_us_economy
Read-onlyIdempotent

Use for the US economy: US inflation (CPI), the US jobs report, US unemployment, real wages in the USA, US Treasury yields and an inverted yield curve, and US national debt. For Polish data, use get_macro_indicator. For other countries, use get_world_comparison. US economy from official US sources. topic inflation: CPI y/y and m/m and core CPI (BLS) with Polish CPI (GUS) for the same month. topic labor: BLS jobs report, change of nonfarm payrolls, unemployment rate, average hourly earnings and Realne płace w USA finwire (finwire_us_real_wage_growth, wage growth minus CPI, pp). topic yields: US Treasury par yield curve now and a year earlier, 10Y-2Y and 10Y-3M spreads, days with an inverted curve in the last 365 days. topic debt: US public debt (Debt to the Penny) and Licznik długu USA finwire (finwire_us_debt_per_second, debt growth per second in USD and PLN at the NBP mid rate). Default all topics. Each value has its period. No forecasts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_us_economy"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicNoWhich part, default all.
historyNoNumber of past months in the summary of one topic, default 6; ignored for all.

Output Schema

NameRequiredDescriptionDefault
urlYes
asOfNo
dataNo
titleYes
sourceYes
docsUrlYes
licenseYes
summaryYes
citationYes
datasetIdYes
sourceUrlNo
truncatedNo
serverDateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/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=false, so the safety profile is covered. The description adds genuinely useful context beyond that — 'Each value has its period' and 'No forecasts' tell the agent the data shape and its limits. However, it says nothing about data freshness, update cadence, or the mixed inclusion of Polish reference series (GUS CPI, NBP mid rate) in a US-economy tool, which is a notable behavior to disclose.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The routing guidance is front-loaded, which is good, but the first sentence enumerates every topic and the topic-by-topic breakdown then repeats that list with detail, creating structural redundancy. Mixing untranslated Polish indicator names ('Realne płace w USA', 'Licznik długu USA') into a US-economy description adds noise, though they are the actual series names.

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 an output schema present, return-value explanation is not required, and the description covers sources, per-topic content, defaults, and sibling routing. The remaining gap is operational context — how current the data is and why Polish comparison series appear inside a US tool.

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% and the enum already lists the five topic values, so the baseline would be 3. The description goes further by spelling out what each topic returns (e.g. yields = par curve now and a year earlier, 10Y-2Y and 10Y-3M spreads, inverted days over 365 days), which meaningfully disambiguates the enum values. The 'history' parameter is not mentioned at all in the description, keeping it short of a 5.

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 description names the exact resources retrieved (CPI, jobs report, unemployment, real wages, Treasury yields, yield-curve spreads, national debt) and attributes them to official sources (BLS, US Treasury). It also explicitly separates itself from get_macro_indicator (Polish data) and get_world_comparison (other countries), so an agent can identify it without opening any schema.

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

Usage Guidelines5/5

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

Guidance is explicit: use this for US macro data, use get_macro_indicator for Polish data, use get_world_comparison for other countries. It also states the default behavior ('Default all topics'), removing ambiguity about omitted parameters.

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.