Skip to main content
Glama
lzinga

US Government Open Data MCP

bea_international_transactions

Read-only

Access U.S. balance of payments data covering trade in goods and services, current account, and financial account transactions by country and time period.

Instructions

Get U.S. international transactions (balance of payments) data.

Tracks all transactions between U.S. and foreign residents: goods/services trade, current account, financial account, capital transfers.

Indicator examples:

  • BalGds: Balance on goods (default)

  • BalServ: Balance on services

  • BalCurAcct: Current account balance

  • ExpGds/ImpGds: Exports/Imports of goods

  • PfInvAssets: Portfolio investment assets

Frequency: A=annual, QSA=quarterly seasonally adjusted, QNSA=not adjusted

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indicatorNoTransaction type: 'BalGds' (default), 'BalServ', 'BalCurAcct', 'ExpGds', 'ImpGds'. Use bea_dataset_info for full list.
area_or_countryNo'AllCountries' (default total), or specific: 'China', 'Canada', 'Mexico', 'Japan', 'Germany'. 'All' for all area/country breakdowns.
frequencyNo'A' (annual, default), 'QSA' (quarterly SA), 'QNSA' (quarterly NSA)
yearNoYear(s): 'ALL' (default), or comma-separated years
Behavior3/5

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

Annotations already set readOnlyHint=true, indicating a safe read operation. The description adds context about the data categories tracked but does not go beyond this. No contradictions with annotations.

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 concise, front-loaded with the action, and uses a bullet list for clarity. No unnecessary words, but could be more structured.

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

Completeness3/5

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

Given four optional parameters and no output schema, the description covers the data scope and indicator examples. However, it only partially lists area/country options, leaving some ambiguity. Adequate but not complete.

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 coverage is 100%, so param descriptions are already provided. The description adds value by listing indicator examples but does not enrich understanding for area_or_country, frequency, or year beyond the schema.

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 clearly states the tool's purpose: retrieving U.S. international transactions data, with specific examples of indicators. However, it does not explicitly differentiate from the sibling tool 'bea_intl_services_trade', which is more specific.

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

Usage Guidelines2/5

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

The description provides examples of indicators and frequencies but offers no guidance on when to use this tool versus alternatives like 'bea_intl_services_trade' or other BEA datasets. No exclusion criteria or context for selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lzinga/us-gov-open-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server