Skip to main content
Glama
imbenrabi

Financial Modeling Prep MCP Server

getWMA

Read-onlyIdempotent

Compute the Weighted Moving Average (WMA) for a stock to analyze price trends and spot potential buy or sell signals. Provide symbol, period length, timeframe, and optional date range.

Instructions

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

Input Schema

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

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

Annotations already indicate read-only and idempotent behavior. The description adds no additional behavioral traits, such as reliance on external API or data source specifics, which is acceptable given the annotations cover safety.

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 concise, with two sentences. The first sentence clearly states the purpose, and the second adds context. No wasted words.

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

Completeness3/5

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

The description lacks details about output format, date range handling, or time zone assumptions. Since there is no output schema, some explanation of the return value would improve completeness.

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?

Input schema has 100% coverage with individual parameter descriptions. The tool description does not add any extra meaning beyond the schema, so baseline score of 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 clearly states it calculates the Weighted Moving Average (WMA) for a stock, specifying the resource and action. However, it does not distinguish WMA from sibling tools like getSMA or getEMA, which are similar moving averages.

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?

No guidance on when to use WMA over other moving averages or technical indicators. The description only mentions generic trend analysis, which applies to many tools.

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

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