Skip to main content
Glama

bea_state_economic_trend

Read-onlyIdempotent

Calculate prior-observation and exact five-year changes for one official BEA SASUMMARY state indicator. Returns component observations, absolute and percent changes, five-year CAGR when meaningful, units, vintage evidence, and caveats. Use this for 'five-year Florida GDP trend', 'how has Ohio employment changed?', or 'California real per-capita income growth'. The optional as-of year prevents future observations from entering a historical calculation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
geographyYesState name, USPS abbreviation, 5-digit state-summary GeoFIPS, or United States/US.
indicatorYesSupported indicator slug/name or BEA SASUMMARY line code; examples: gdp, real_gdp, personal_income, per_capita_personal_income, regional_price_parities, total_employment.
as_of_yearNoFour-digit calendar year. Hosted source coverage is reported in every response.
response_formatNoHuman-readable markdown or machine-readable JSON. Default markdown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / as_of_year / maximum
      Added value: +2100
    • addedInput schema / properties / as_of_year / minimum
      Added value: +1900
    • changedInput schema / properties / as_of_year / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / geography / maxLength
      Added value: +100
    • addedInput schema / properties / geography / minLength
      Added value: +1
    • addedInput schema / properties / indicator / maxLength
      Added value: +100
    • addedInput schema / properties / indicator / minLength
      Added value: +1
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish the safe-read profile (readOnlyHint, idempotentHint, destructiveHint=false), so the bar is lower; the description still adds real context by disclosing the return payload (component observations, absolute/percent changes, CAGR, units, vintage evidence, caveats) and the temporal-safety role of as_of_year. This goes beyond what the annotations convey.

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

Conciseness5/5

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

Three sentences, front-loaded with the core verb and resource, then returns, then use cases and the as-of caveat. Every sentence carries distinct information with no filler.

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 usefully enumerates what comes back, covers all four parameters, and supplies invocation examples, making it largely self-sufficient. The one gap is sibling routing: an agent choosing between this and bea_state_economic_history gets no explicit guidance.

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 description coverage is 100%, so baseline is 3; the description earns an extra point by explaining the semantic intent of as_of_year ('prevents future observations from entering a historical calculation'), which the schema only weakly hints at. It adds no syntax beyond the schema for the other three parameters.

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?

States a specific verb+resource ('Calculate prior-observation and exact five-year changes for one official BEA SASUMMARY state indicator') and enumerates the returned components, so the agent knows exactly what computation this performs. It does not name the adjacent siblings (bea_state_economic_history, bea_state_economic_profile, bea_compare_states), so differentiation is left to inference from the 'trend/change' framing.

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?

Three concrete invocation examples ('five-year Florida GDP trend', 'how has Ohio employment changed?', 'California real per-capita income growth') give clear context for when this tool applies. It stops short of stating when NOT to use it or naming an alternative sibling for profile/history lookups.

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.