Skip to main content
Glama

Public benchmark series

benchmark_series
Read-only

Public macro series observations at one geography

Observations for up to 10 catalog series at one geography, the latest release of each value. Every published value is kept with the date it was first seen (release_date); this endpoint serves the newest.

transform:

  • level — the published value.

  • yoy — change vs the same period a year earlier.

  • mom — change vs the previous period at the series' own frequency (month, quarter or year). Bimonthly CPI metros have no previous month, so their mom is null.

  • index — the first observation in the window = 100.

yoy and mom are percent changes for levels and indexes and percentage-point changes for series that are already percents (unemployment rates, expenditure shares, MSRS year-over-year); transformed_unit says which.

Every response carries sources: agency, dataset, the agency's own series codes, the newest release date served, URL and license, plus an attribution line for OECD series (CC BY 4.0 — quote it when you republish them). Quote them with the numbers. Public data: never clamped by a key's freshness tier or the anonymous 30-day lag; coverage is null.

Cite the agency and quote the series' attribution line when you use it.

Talk to the user in plain words: no tool, parameter or field names. Say "the American Spend model", never "panel" or a data source.

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_id": "<series_id>"
    },
    "name": "benchmark_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoLast period, `YYYY`, `YYYY-MM` or `YYYY-MM-DD`. Default today.
geoNo`us` (default), `state:TX`, `cbsa:19100`, `region:south` (northeast|midwest|south|west) or `division:pacific` (new_england, middle_atlantic, east_north_central, west_north_central, south_atlantic, east_south_central, west_south_central, mountain, pacific), or for the OECD series `country:CAN` (CAN, DEU, FRA, GBR, ITA, JPN, or G7 for the G7 aggregate; `country:USA` means `us`). Every requested series must be published for the geo's type, or the request is a 400 `geo-not-published`.us
startNoFirst period, `YYYY`, `YYYY-MM` or `YYYY-MM-DD`. Default 2015-01-01.
series_idYesComma-separated ids from the benchmark catalog, at most 10.
transformNoHow to express each value.level

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld=false, yet the description adds substantial behavior: versioning semantics (every published value retained with release_date, this endpoint serves the newest), null behavior for bimonthly CPI metros under mom, unit conventions (percent vs percentage-point for series already expressed as rates), and the 400 geo-not-published failure mode. It also documents licensing/attribution obligations for OECD CC BY 4.0 series, which no annotation covers.

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?

The purpose is front-loaded and the bulleted transform list earns its space for a parameter with real interpretive nuance. There is some waste: the attribution instruction ('Cite the agency and quote the series' attribution line') is effectively stated twice, and the closing 'Talk to the user in plain words… never "panel"' is a style directive unrelated to invoking this tool.

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 no output schema, the description carries the return-value burden and does so reasonably: sources fields, newest release date served, URL, license, attribution line, and coverage being null. It is complete enough to call and interpret results, though the shape of the observations themselves and any row/size limits are not described.

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%, so the baseline is 3, but the description goes beyond the schema's one-line transform field: it defines level/yoy/mom/index, explains the mom frequency caveat and the index base (first observation in window = 100), and clarifies how units differ across series via transformed_unit. Geo, start, and end semantics are left entirely to the schema, which is acceptable but limits the score.

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 states a specific verb and resource: observations for up to 10 catalog series at one geography, newest release per value. It is clearly a public macro/benchmark data reader rather than an internal spend query, but it never names a sibling (e.g. list_benchmarks for series ids or compare_to_benchmark) to sharpen the distinction.

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?

Usage context is implied through constraints (max 10 series, every series must be published for the geo's type or you get a 400 geo-not-published) and through the note that public data is never clamped by key freshness tiers or the anonymous 30-day lag. However, there is no explicit when-to-use/when-not and no pointer to the catalog tool an agent would need to obtain valid series_id values.

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.