Skip to main content
Glama

BEA — US Real GDP Growth

bea.national.gdp
Read-onlyIdempotent

Retrieve US Real GDP growth rates and quarterly or annual percent-change series for GDP components from BEA data to support macro analysis, forecasting, and recession detection.

Instructions

Retrieve US Real GDP growth rates from BEA NIPA Table T10101 (Fisher Quantity Index, percent change at annual rate). Returns quarterly or annual percent-change series for total GDP, personal consumption expenditures, gross private investment, exports, imports, and government spending. Official US national accounts data from the Bureau of Economic Analysis. Use for macro analysis, economic forecasting, and recession detection.

Input Schema

NameRequiredDescriptionDefault
yearNoYear(s) to retrieve. Single year (e.g. "2023"), comma-separated list ("2021,2022,2023"), "LAST5" for latest 5 years, "LAST10" for latest 10, or "X"/"ALL" for all years. Defaults to LAST5.
frequencyNoData frequency: A=Annual, Q=Quarterly, M=Monthly. Multiple values comma-separated (e.g. "A,Q"). Defaults to A.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is fully covered. The description adds useful context about the data being official BEA national accounts data and the specific NIPA table, but does not disclose behaviors like default year range behavior (LAST5), whether quarterly data is seasonally adjusted, or how missing years are handled. With annotations covering safety, a 3 is appropriate.

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 description is three sentences and front-loads the core action and data source. The first sentence is dense but informative; the second lists available series; the third gives use cases. It is slightly verbose with the use-case sentence, but every sentence earns its place. No wasted words.

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 data retrieval tool with 2 fully documented parameters, an output schema, and safety annotations, the description is nearly complete. It covers what data is returned (percent-change series for major GDP components), the source, and use cases. It could mention the default behavior (LAST5 years, annual frequency) but the schema already documents defaults. The output schema covers return values, so nothing critical is missing.

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 both parameters (year and frequency) are fully documented in the schema. The description adds the context that the data is percent change at annual rate and lists the series available, but does not add parameter-specific meaning beyond the schema. Baseline 3 is correct when the schema does the heavy lifting.

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 states a specific verb ('Retrieve'), a precise resource (BEA NIPA Table T10101 Fisher Quantity Index percent change at annual rate), and enumerates the exact series available (total GDP, PCE, investment, exports, imports, government spending). It also names the data source (BEA) and use cases, making it clearly distinguishable from sibling tools like bea.national.personal_income or abs.economy.gdp.

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 description provides clear context for when to use this tool ('Use for macro analysis, economic forecasting, and recession detection') and specifies the data source and table. However, it does not explicitly state when NOT to use it or name alternative tools (e.g., bea.regional.state_gdp for state-level data, or abs.economy.gdp for Australian GDP). The use-case guidance is helpful but lacks explicit exclusions.

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

Deploy Server

Other Tools