Skip to main content
Glama

get_economic_data

Retrieve economic indicators or upcoming economic events. Use indicator mode for time series data or calendar mode for upcoming releases.

Instructions

Get economic indicators or upcoming economic events.

Fetches macroeconomic data from FRED via FMP. Use indicator mode for time series data (GDP, CPI, unemployment, etc.) or calendar mode for upcoming/recent economic releases.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoData type to fetch: - "indicator": Economic indicator time series (requires indicator_name) - "calendar": Upcoming economic events with forecasts and actualsindicator
limitNoOptional cap for indicator mode (most recent N rows).
formatNoOutput format: - "summary": Latest value, trend, and key context - "full": Complete time series or event listsummary
outputNoOutput mode for indicator full data: inline or file.inline
countryNoCountry filter for calendar mode (default: "US").US
to_dateNoEnd date in YYYY-MM-DD format (optional).
from_dateNoStart date in YYYY-MM-DD format (optional).
use_cacheNoUse cached data when available (default: True).
indicator_nameNoIndicator to fetch (required for indicator mode). Available: GDP, realGDP, CPI, inflationRate, federalFunds, unemploymentRate, totalNonfarmPayroll, initialClaims, consumerSentiment, retailSales, durableGoods, industrialProductionTotalIndex, housingStarts, totalVehicleSales, smoothedUSRecessionProbabilities, 30YearFixedRateMortgageAverage, tradeBalanceGoodsAndServices.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/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. It mentions the data source (FRED via FMP) and output modes, but does not disclose caching behavior, rate limits, or mutable side effects. The description is adequate but could be improved.

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 two sentences, front-loaded with the core purpose. It is concise and well-structured, with no redundant information.

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 the tool's complexity (9 parameters) and the presence of an output schema, the description provides a sufficient overview. It explains the two modes and mentions output formats, but lacks details on prerequisites or error handling. Still, it is largely 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 description coverage is 100%, so the baseline is 3. The description adds little beyond the schema, e.g., listing available indicators (partially) which is already in the schema. It provides a high-level overview but does not significantly enhance understanding of parameter semantics.

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 purpose: fetching economic indicators or events. It explicitly names the two modes and distinguishes from sibling tools (e.g., no other tool focuses on economic data).

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 guidance on when to use each mode: 'Use indicator mode for time series data... or calendar mode for upcoming/recent economic releases.' It does not explicitly mention when not to use or list alternatives, but the context is clear and sufficient.

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/henrysouchien/fmp-mcp'

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