Skip to main content
Glama
Financial Modeling Prep MCP Server

Financial Modeling Prep MCP Server

getEconomicIndicators

Read-onlyIdempotent

Retrieve real-time and historical economic data for indicators such as GDP, unemployment, and inflation to measure economic performance and identify growth trends.

Instructions

Access real-time and historical economic data for key indicators like GDP, unemployment, and inflation with the FMP Economic Indicators API. Use this data to measure economic performance and identify growth trends.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
toNoOptional end date (YYYY-MM-DD); the date range can span at most 90 days
nameYesIndicator name, e.g. GDP, realGDP, nominalPotentialGDP, realGDPPerCapita, federalFunds, CPI, inflationRate, inflation, retailSales, consumerSentiment, durableGoods, unemploymentRate, totalNonfarmPayroll, initialClaims, industrialProductionTotalIndex, newPrivatelyOwnedHousingUnitsStartedTotalUnits, totalVehicleSales, retailMoneyFunds, smoothedUSRecessionProbabilities, 3MonthOr90DayRatesAndYieldsCertificatesOfDeposit, commercialBankInterestRateOnCreditCardPlansAllAccounts, 30YearFixedRateMortgageAverage, 15YearFixedRateMortgageAverage, tradeBalanceGoodsAndServices
from_dateNoOptional start date (YYYY-MM-DD); the date range can span at most 90 days

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.9.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed3 schema fields changedv2.8.0
    • changedInput schema / properties / from_date / description
      Previous value: -"Optional start date (YYYY-MM-DD)"New value: +"Optional start date (YYYY-MM-DD); the date range can span at most 90 days"
    • changedInput schema / properties / name / description
      Previous value: -"Name of the indicator"New value: +"Indicator name, e.g. GDP, realGDP, nominalPotentialGDP, realGDPPerCapita, federalFunds, CPI, inflationRate, inflation, retailSales, consumerSentiment, durableGoods, unemploymentRate, totalNonfarmPayroll, initialClaims, industrialProductionTotalIndex, newPrivatelyOwnedHousingUnitsStartedTotalUnits, totalVehicleSales, retailMoneyFunds, smoothedUSRecessionProbabilities, 3MonthOr90DayRatesAndYieldsCertificatesOfDeposit, commercialBankInterestRateOnCreditCardPlansAllAccounts, 30YearFixedRateMortgageAverage, 15YearFixedRateMortgageAverage, tradeBalanceGoodsAndServices"
    • changedInput schema / properties / to / description
      Previous value: -"Optional end date (YYYY-MM-DD)"New value: +"Optional end date (YYYY-MM-DD); the date range can span at most 90 days"
  3. Changed2 schema fields changedv2.6.10
    • removedInput schema / properties / from
      Removed value: -{
      -  "description": "Optional start date (YYYY-MM-DD)",
      -  "type": "string"
      -}
    • addedInput schema / properties / from_date
      Added value: +{
      +  "description": "Optional start date (YYYY-MM-DD)",
      +  "type": "string"
      +}
  4. First observed

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds only the minor fact that both real-time and historical values are available; it omits the notable 90-day maximum date-range constraint and the fact that a single indicator must be specified per call, both of which materially affect invocation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is front-loaded and informative; the second ('Use this data to measure economic performance and identify growth trends') is promotional filler that gives no selection or invocation value. Nothing is said about the required parameter, so the space is not used efficiently.

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

Completeness2/5

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

For a simple three-parameter, read-only tool the schema and annotations do carry most of the load, but the description never states that an indicator name is mandatory or that queries are capped at 90 days. With roughly 200 siblings in the catalog, the absence of any disambiguation against the economic-calendar and treasury-rate tools leaves a real routing gap.

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 name, from_date, to, including the 90-day span limit and a full indicator enumeration. The description echoes a few indicator examples (GDP, unemployment, inflation) but adds no format, default, or precedence meaning beyond the schema, so the baseline 3 applies.

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 names a specific resource ('real-time and historical economic data for key indicators like GDP, unemployment, and inflation') and implies a retrieval verb, so an agent can tell roughly what it returns. It stops short of distinguishing itself from close siblings such as getEconomicCalendar or getTreasuryRates, which also surface macroeconomic data.

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 only guidance is 'Use this data to measure economic performance and identify growth trends,' which describes an analytics use case for the data rather than when to select this tool over alternatives. No exclusions, prerequisites, or sibling comparisons are offered despite many adjacent macro-data tools.

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

Deploy Server

Other Tools