Skip to main content
Glama

Bea Gov Get Data

bea_gov_get_data
Read-onlyIdempotent

Fetch actual BEA economic data from the specified dataset (e.g. NIPA) using dataset-specific parameters; returns time series values such as GDP, PCE, regional income, and GDP by industry, US ONLY, and only when you already know the dataset-specific parameters (call parameter_list first). GDPbyIndustry additionally requires Industry and Frequency codes this tool cannot guess from a plain-English question. For "what share of GDP comes from " or "'s agriculture share of GDP" trended over time, prefer worldbank's get_indicator (NV.AGR.TOTL.ZS for agriculture), it needs only a country code and works for any country, not just the US.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dataset": "NIPA"
    },
    "name": "bea_gov_get_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
datasetYes

Output Schema

NameRequiredDescriptionDefault
BEAAPINoBEA API response wrapper

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real behavioral context beyond them: US-only coverage, the dependency on dataset-specific parameters, and the extra-code requirement for GDPbyIndustry. It doesn't mention rate limits or response shape, but an output schema exists to cover returns.

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?

Front-loaded with the core action and scope, then progressively discloses the prerequisite and the sibling alternative. It is dense but each clause carries information; the closing worldbank comparison is slightly long but earns its place as routing guidance.

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 an output schema and full annotation coverage, the description supplies enough to call correctly: dataset example, prerequisite discovery step, US-only limit, and the GDPbyIndustry special case. The main residual gap is any enumeration of valid dataset strings, which is delegated to parameter_list.

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 0% for the single 'dataset' parameter, so the description must carry the burden. It does so by naming a concrete example (NIPA) and by explaining that further dataset-specific parameters exist and must be discovered via parameter_list, which clarifies why the schema's argument surface looks thin.

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?

States a specific verb and resource ('Fetch actual BEA economic data from the specified dataset') and immediately scopes it ('US ONLY', returns time series like GDP, PCE, regional income). It also explicitly distinguishes itself from worldbank's get_indicator, so an agent can tell the two apart without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit precondition ('only when you already know the dataset-specific parameters (call parameter_list first)') plus a concrete exclusion routing to an alternative with a specific indicator code. It also flags a sub-case (GDPbyIndustry needs Industry and Frequency codes) that this tool cannot infer from a plain-English question.

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.