Skip to main content
Glama

BEA — US State GDP by Industry

bea.regional.state_gdp
Read-onlyIdempotent

Retrieve real GDP by US state from the BEA Regional Economic Accounts (CAGDP2 table). Returns GDP in thousands of dollars for all 50 states + DC + US total by year and industry component (agriculture, mining, manufacturing, finance, real estate, government, etc.). Use for state-level economic analysis, regional comparisons, and industry cluster research. GeoFips parameter supports individual state FIPS codes, all states, MSAs, or counties.

Input Schema

TableJSON 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.
geo_fipsNoGeographic FIPS code(s) to retrieve. "STATE" (default) returns all 50 US states + DC, "COUNTY" for all counties, "MSA" for metro areas, or a specific 5-digit FIPS code (e.g. "06000" for California, "36000" for New York). Comma-separate multiple codes (e.g. "06000,36000,48000").
line_codeNoCAGDP2 line code for the GDP component. 1=All industry total (default), 2=Private industries, 3=Agriculture/forestry/fishing, 6=Mining, 10=Utilities, 11=Construction, 34=Manufacturing, 50=Wholesale trade, 55=Retail trade, 60=Transportation, 75=Information, 82=Finance/insurance, 100=Real estate, 300=Government.

Output Schema

TableJSON 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. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds useful context about the source table (CAGDP2) and units ('thousands of dollars'), but does not disclose additional operational behaviors such as rate limits, response size limits, or pagination. This is consistent with the annotations, so no contradiction.

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, action-first, and free of filler. The final GeoFips sentence partially duplicates schema information, which prevents a perfect score, but it is still brief and contextually useful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the detailed input schema, the safety annotations, and the presence of an output schema, the description covers all essential facts: source table, units, geographic coverage, industry dimensions, and common use cases. No critical information for selecting or invoking the tool 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?

Input schema coverage is 100%, and the schema itself is highly detailed with defaults, accepted formats, and examples for every parameter. The description's mention of 'GeoFips parameter supports individual state FIPS codes, all states, MSAs, or counties' is largely redundant with the schema and adds no new parameter-level semantics. Baseline of 3 is therefore appropriate.

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 opens with a specific verb-resource pair: 'Retrieve real GDP by US state from the BEA Regional Economic Accounts (CAGDP2 table)'. It clearly defines the output scope ('all 50 states + DC + US total by year and industry component') and distinguishes itself from national-level BEA tools by emphasizing state/regional granularity.

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 explicitly directs usage: 'Use for state-level economic analysis, regional comparisons, and industry cluster research.' It does not name alternative tools or exclusion conditions, but it gives enough context to route an agent to this regional tool over the national or industry-level BEA siblings.

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.