Skip to main content
Glama

US macro series: unemployment, CPI, payrolls, PPI (BLS) and public debt, Treasury average rates

us_macro_series

Use when you need a US macro time series (pairs with Korea's Bank of Korea series). Input: series (unemployment_rate, cpi, core_cpi, payrolls, avg_hourly_earnings, ppi, public_debt, avg_rate_bills, avg_rate_notes, avg_rate_bonds), optional start, end (years, max 10-year span, default last 3 years). Output: JSON title, unit, frequency, observations [{period,value}], latest and source attribution. Data: BLS and US Treasury Fiscal Data. Example: ?series=cpi&start=2024 Price: $0.002 USDC (Base or Solana) via x402.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "series": "<series>"
    },
    "name": "us_macro_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd year (default current year)
startNoStart year (default end-2, min 1990)
seriesYesSeries id (see enum; BLS or Treasury)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden and largely meets it: it discloses the return shape (title, unit, frequency, observations, latest, source attribution), the 10-year max span and 3-year default, and the $0.002 x402 payment path. It omits failure modes and rate limits, but the operation is a simple read and the cost/transport detail is unusually explicit.

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

Conciseness4/5

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

Dense and front-loaded: a when-to-use clause, then Input, Output, Data, Example, and Price in labeled segments. The chained parenthetical series list is compact but slightly hard to scan; a minor nit about a tight, well-organized definition.

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 only three parameters, no output schema, and no annotations, the description still covers inputs, output structure, data provenance, span limits, an example call, and pricing — enough to invoke correctly. A note on error behavior or empty-result handling is the only meaningful gap.

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

Parameters5/5

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

The schema's 'series' property merely says 'see enum' while the schema actually contains no enum values, so the description's enumeration of all ten series ids supplies essential, otherwise-missing parameter semantics. It also clarifies that start/end are years with a max 10-year span and 3-year default, adding constraints beyond the terse schema descriptions.

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 title and description name a precise resource (US macro time series from BLS and US Treasury) and enumerate all ten supported series ids, so an agent knows exactly what data it can fetch. It also explicitly positions itself against the sibling kr_bok_ecos_series ('pairs with Korea's Bank of Korea series'), which is the main confusable tool.

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?

'Use when you need a US macro time series' gives a clear triggering condition and the Korea pairing hints at the country-scoped alternative. It stops short of stating exclusions (e.g. that this tool cannot return Korean data or non-listed series), so it is strong context without full when-not routing.

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