Skip to main content
Glama

Financial Modeling Prep MCP Server

getEMA

Analyze stock trends and identify buy/sell signals by calculating the Exponential Moving Average (EMA) using historical price data from the Financial Modeling Prep API.

Instructions

Calculate the Exponential Moving Average (EMA) for a stock using the FMP EMA API. This tool helps users analyze trends and identify potential buy or sell signals based on historical price data.

Input Schema

NameRequiredDescriptionDefault
fromNoStart date (YYYY-MM-DD)
periodLengthYesPeriod length for the indicator
symbolYesStock symbol
timeframeYesTimeframe (1min, 5min, 15min, 30min, 1hour, 4hour, 1day)
toNoEnd date (YYYY-MM-DD)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "from": { "description": "Start date (YYYY-MM-DD)", "type": "string" }, "periodLength": { "description": "Period length for the indicator", "type": "number" }, "symbol": { "description": "Stock symbol", "type": "string" }, "timeframe": { "description": "Timeframe (1min, 5min, 15min, 30min, 1hour, 4hour, 1day)", "type": "string" }, "to": { "description": "End date (YYYY-MM-DD)", "type": "string" } }, "required": [ "symbol", "periodLength", "timeframe" ], "type": "object" }

Other Tools from Financial Modeling Prep MCP Server

Related Tools

    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/imbenrabi/Financial-Modeling-Prep-MCP-Server'

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