Skip to main content
Glama
FinImpulse MCP Server

FinImpulse MCP Server

get_macro_economics

Retrieve annual macroeconomic indicators by country and year—GDP, inflation, unemployment, interest rates, trade, and government finances—to compare economies and support forecasts.

Instructions

Returns annual macroeconomic indicators by country (50+ countries, 1970 to current year; current-year values are forecasts): GDP, inflation, unemployment, interest rates, trade, government finances, consumption. One record per country per year with 38 indicators. Updated quarterly. Filter by country_iso3 and year. Source: OECD Data Explorer; use and redistribution are subject to the OECD Terms and Conditions, including source attribution.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
tagNoUser-defined request identifier (max 255 characters). Returned in the response; does not affect processing.
limitNoMaximum number of matched items returned. Default: 100, maximum: 1000.
offsetNoPagination offset (0-based).
filtersNoOptional filter expressions. Each filter condition is defined as [field, operator, value]. Conditions can be combined using the logical operators and, or, and not. Supported operators: Any field type (numbers, strings, booleans, dates): = (equals), <> (not equal) Numbers and dates: > (greater than), >= (greater than or equal), < (less than), <= (less than or equal) List of values: in (matches any value in the list, e.g. ["field", "in", ["value_1", "value_2"]]) Strings: like (pattern match, requires % as a wildcard), not_like (pattern does not match), contains (value exists in string), not_contains (value does not exist in string), startswith, endswith % usage examples: %abc% - contains "abc"; abc% - starts with "abc"; %abc - ends with "abc". String operators are case-sensitive. Dates are compared as text, so pass date values in the same format as the field returns them. Fields that contain arrays cannot be filtered. Example: "filters": ["country_iso3", "=", "CHE"] Filterable fields include country_iso3 (ISO 3166-1 alpha-3) and year.
sort_byNoOptional sorting configuration. Each sorting setup is an object {selector, desc}; multiple setups can be combined in the array.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.2

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it discloses meaningful traits: record granularity (one per country per year), 38 indicators per record, quarterly refresh cadence, that current-year values are forecasts, and that use/redistribution carries OECD attribution obligations. It stops short of return shape details and any rate-limit or error behavior, which keeps it below 5.

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?

A single front-loaded paragraph: resource and scope first, then granularity, cadence, filtering, and finally source/licensing. Every clause carries information an agent would otherwise have to guess, and there is no restatement of the name or title.

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 five optional parameters, no output schema, and no annotations, the description supplies the essentials: coverage window, indicator count and categories, update frequency, forecast semantics, filter fields, and licensing. The main remaining gap is that the indicator categories are listed only by broad domain rather than enumerated, so an agent cannot confirm a specific series exists without a query.

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 description coverage is 100%, so the schema already documents tag, limit, offset, filters syntax, and sort_by. The description only reinforces the two filterable fields already named in the schema's filters description, adding no new syntax, default, or format guidance beyond it. Baseline 3 is appropriate.

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?

Specific verb+resource ('Returns annual macroeconomic indicators by country') with concrete scope: 50+ countries, 1970 to current year, 38 indicators, one record per country-year, and an explicit forecast caveat for the current year. It is unambiguous against the sibling set, which is entirely company- and market-level data, so an agent can route macro questions here without opening the schema.

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 gives clear usage context: annual frequency, country-level granularity, and explicit filter fields ('Filter by country_iso3 and year'), plus the forecast caveat that tells an agent how to interpret the current year. It does not name an alternative tool or state when not to use it, but no sibling in the listed set covers macro data, so the omission is minor.

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