Skip to main content
Glama
JerBouma

Finance Toolkit

economics_general

Read-onlyIdempotent

Get macroeconomic indicators (GDP, CPI, inflation, trade balance) for countries. Supports date ranges, quarterly data, growth rates, and inflation adjustment.

Instructions

Macroeconomic indicators by country (GDP, CPI, inflation rate, trade balance, imports, exports, investment, consumption, business/consumer confidence, house prices, rent prices, exchange rates). Requires countries='United States' — use comma-separated values for multiple countries. Do NOT use tickers= for this tool. Supports start_date/end_date and quarterly=true.

Available indicators: get_business_confidence_index, get_composite_leading_indicator, get_consumer_confidence_index, get_consumer_price_index, get_current_account_balance, get_current_account_balance_to_gdp_ratio, get_exchange_rates, get_exports, get_exports_to_gdp_ratio, get_fixed_investment, get_fixed_investment_to_gdp_ratio, get_gross_domestic_product, get_gross_domestic_product_deflator, get_house_prices, get_imports, get_imports_to_gdp_ratio, get_inflation_rate, get_investment, get_investment_to_gdp_ratio, get_money_supply, get_rent_prices, get_share_prices, get_total_consumption, get_total_consumption_to_gdp_ratio.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indicatorYesName of the specific metric to calculate, e.g. 'get_asset_turnover_ratio'. Required — omitting it returns the list of available indicators.
countriesNoComma-separated country names, e.g. 'United States,Germany,Japan'.
start_dateNoStart of the date range in YYYY-MM-DD format.2021-06-22
end_dateNoEnd of the date range in YYYY-MM-DD format.2026-06-21
quarterlyNoReturn quarterly data instead of annual when True.
growthNoReturn period-over-period growth rates instead of absolute values.
lagNoNumber of periods to lag when computing growth rates.
roundingNoNumber of decimal places to round results to.
periodNoObservation frequency, e.g. 'monthly', 'quarterly', or 'annual'.
gmdb_sourceNoUse the OECD Global Macro Data Bank as the data source when True.
inflation_adjustedNoAdjust nominal values for inflation when True.
measureNoSub-measure selector, e.g. 'M1', 'M2', or 'M3' for money supply.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already indicate readOnlyHint=true and idempotentHint=true. The description adds critical behavioral context: the expected default country, the option for multiple countries, and the avoidance of tickers. It does not contradict 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 well-structured with purpose first, then usage instructions, then a list of indicators. It is concise enough but could be more compact by omitting the indicator list since it's in the enum. Nonetheless, it remains focused and useful.

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?

Given 12 parameters and one required, the description covers main purpose, key usage notes, and indicator options. The presence of an output schema reduces the need to explain return values. The description is adequate for an agent to use the tool effectively.

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?

With 100% schema coverage, the description still adds value by clarifying usage patterns (e.g., 'Do NOT use tickers=') and explaining the default behavior for countries. It reinforces and supplements the schema descriptions without redundancy.

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 explicitly states the tool retrieves macroeconomic indicators by country, listing examples like GDP, CPI, and inflation. It clearly distinguishes from sibling tools by its focus on general economy, as siblings target specific areas like jobs or rates.

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 clear directives: requires countries='United States' with comma-separated values, warns against using tickers=, and supports date range and quarterly settings. However, it does not explicitly compare to alternatives or state when not to use this tool, though sibling names imply differentiation.

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/JerBouma/FinanceToolkit'

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