Skip to main content
Glama

finance-mcp-server

get_stock_data

Read-only

Retrieve comprehensive stock market data for individual ticker symbols from Yahoo Finance. Returns current price, intraday high/low, 52-week range, trading volume, market capitalization, P/E ratio, earnings per share, dividend yield, and sector classification. Use for fundamental analysis, stock screening, or building financial dashboards.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerYesStock ticker symbol in uppercase format (e.g. 'AAPL' for Apple, 'MSFT' for Microsoft, 'GOOGL' for Alphabet)

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is known. The description adds valuable behavioral context by specifying the data source (Yahoo Finance) and the comprehensive list of returned fields (price, 52-week range, volume, market cap, etc.), which helps the agent set expectations without contradicting annotations.

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-loads the action, and every sentence earns its place. The first sentence states the purpose and source; the second lists return fields and use cases. No fluff or redundancy.

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

Completeness5/5

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

For a single-parameter read-only tool with no output schema, the description fully covers what data is returned and what it's used for. The annotations cover safety, and the sibling list clarifies scope. Nothing critical is missing.

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 for the only parameter (ticker) is 100%, with a clear description and examples. The tool description adds no extra parameter-specific detail, but the schema already fully documents the parameter, so the baseline of 3 is appropriate.

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 uses a specific verb 'Retrieve' with a clear resource: 'stock market data for individual ticker symbols from Yahoo Finance.' It enumerates the exact data fields returned and implicitly distinguishes itself from siblings like get_crypto_prices and get_exchange_rates by focusing on individual stock tickers.

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 explicitly states 'Use for fundamental analysis, stock screening, or building financial dashboards,' which gives clear context for when this tool is appropriate. While it doesn't explicitly exclude alternatives, the focus on individual tickers and the sibling names make the boundaries evident.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.3/5.0
Disambiguation4/5

The tools are mostly distinct, but get_crypto_prices and track_crypto_portfolio both deal with cryptocurrency data, which could cause confusion. However, the descriptions clarify that one is for general price lookup and the other for portfolio tracking, so the overlap is manageable.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case: get_crypto_prices, get_exchange_rates, get_stock_data, screen_stocks, track_crypto_portfolio. There is no mixing of naming conventions.

Tool Count5/5

With 5 tools, the server is well-scoped, covering crypto, forex, stocks, and screening without unnecessary bloat. The count is appropriate for the domain.

Completeness4/5

The server covers the main market data needs for crypto, forex, and equities, plus stock screening. Missing historical data or stock portfolio tracking are minor gaps that agents can work around.

Resources