Skip to main content
Glama
cyntrica

Gov Data MCP

by cyntrica

bea_intl_services_trade

Read-only

Retrieve U.S. international trade in services data by year, country, or service type. Filter by trade direction and affiliation to analyze exports, imports, or balance.

Instructions

Get U.S. international trade in services data (annual).

IMPORTANT: BEA requires either a specific TypeOfService or a specific AreaOrCountry. You cannot use 'All' for both simultaneously.

TypeOfService: 'All' (default), or specific: 'Telecom', 'Travel', 'Transport', 'Insurance', 'Financial', 'Comp', 'ChargesForTheUseOfIpNie', etc. Use bea_dataset_info to discover all values.

TradeDirection: 'All' (default), 'Exports', 'Imports', 'Balance', 'SupplementalIns'

Affiliation: 'All' (default), 'AllAffiliations', 'Affiliated', 'Unaffiliated', 'UsParents', 'UsAffiliates'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNoYear(s): 'All' (default for all years), or comma-separated years
affiliationNo'All' (default), 'AllAffiliations', 'Affiliated', 'Unaffiliated', 'UsParents', 'UsAffiliates'
area_or_countryNo'AllCountries' (default total), specific country name, or 'All' for all breakdowns.
trade_directionNo'All' (default), 'Exports', 'Imports', 'Balance', 'SupplementalIns'
type_of_serviceNo'All' (default — all types). Or specific: 'Telecom', 'Travel', 'Transport', etc. Use bea_dataset_info.
Behavior4/5

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

The annotation already declares readOnlyHint=true, so the tool's read-only nature is known. The description adds the behavioral nuance of the parameter mutual exclusion, which is valuable context beyond the annotation. It does not mention output format or pagination, but the read-only hint covers the main safety aspect.

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?

The description is well-structured and concise. It starts with a clear purpose sentence, then an important callout, followed by parameter value lists. Every line adds value, with no redundant text, and it is front-loaded with the core function.

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?

The description explains the purpose, key constraint, and parameter values, but with no output schema, it does not describe what the response looks like or any return value structure. For a data-fetching tool, this is a notable gap, though the schema descriptions fill most parameter-level needs. The mention of bea_dataset_info for enumerating values is helpful.

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?

Since the schema descriptions cover 100% of parameters, the baseline is 3. The description adds a cross-parameter constraint (TypeOfService and AreaOrCountry cannot both be 'All') that is not visible in the individual schema descriptions. It also lists common values for TypeOfService, TradeDirection, and Affiliation, reinforcing the schema but providing extra semantic context.

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 clearly states the tool's function: 'Get U.S. international trade in services data (annual)'. This uses a specific verb and resource, distinguishing it from sibling BEA tools that cover GDP, personal income, or other metrics. The annual frequency is also explicit.

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 explicit usage guidance, especially the critical constraint that 'BEA requires either a specific TypeOfService or a specific AreaOrCountry' and that you cannot use 'All' for both. It also directs the user to bea_dataset_info for discovering valid values. However, it does not compare against alternative BEA tools or state when to choose this tool over others.

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/cyntrica/gov-data-mcp'

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