Skip to main content
Glama
esurovtsev

finance-mcp

by esurovtsev

fetch_stock_data

Retrieve comprehensive stock data including general info and historical market data for any ticker symbol over a specified period.

Instructions

Fetches comprehensive stock data for a given symbol.

Args: stock_symbol: The stock ticker symbol (e.g., 'TSLA'). period: The period to analyze (e.g., '1mo', '3mo', '1y').

Returns: A dictionary combining general stock info and historical market data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNo1mo
stock_symbolYes
Behavior2/5

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

No annotations provided, so description must carry full burden. Mentions return type (dictionary with stock info and historical data) but lacks details on data freshness, rate limits, or idempotency. Not enough to fully inform an agent about behavioral traits.

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?

Description uses a docstring format with Args and Returns sections, which is structured but slightly verbose. Could be more concise without the formal sections.

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?

No output schema, so description should detail return value structure. Only says 'dictionary combining general stock info and historical market data,' which is vague. Lacks error handling or edge cases.

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 coverage is 0%, but description adds meaning: 'stock_symbol' as ticker symbol with example 'TSLA', 'period' as analysis period with examples. Provides default for period. Lacks allowed values for period, but is adequate for basic usage.

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?

Clearly states 'Fetches comprehensive stock data for a given symbol.' The verb 'Fetches' and resource 'stock data' are specific. Differentiates from sibling 'lookup_stock_symbol' by implication, but could be more explicit about the scope.

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 this tool versus the sibling 'lookup_stock_symbol'. Missing prerequisites or context for appropriate usage.

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/esurovtsev/mcp-finance-server-py'

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