Skip to main content
Glama

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/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds the data source (Yahoo Finance) and scope (individual ticker symbols) but does not disclose other behavioral aspects like rate limits, data latency, or error handling. This adds some value but not rich context.

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 plus a short use-case sentence. It is front-loaded with the main purpose, lists useful data fields, and provides guidance. Every sentence earns its place without unnecessary verbosity.

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

Completeness4/5

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

With no output schema, the description compensates by listing the specific data fields returned. It covers purpose, data content, and use cases. It could mention single-ticker limitation or potential errors, but for a simple one-parameter tool, it is quite complete.

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 100% with a well-described ticker parameter including examples. The description does not add additional parameter semantics beyond confirming it handles individual ticker symbols. Baseline of 3 is appropriate given the schema handles the parameter documentation.

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 clearly states the tool retrieves comprehensive stock market data for individual ticker symbols from Yahoo Finance. It lists specific data fields, distinguishing it from siblings like get_crypto_prices or get_exchange_rates.

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 provides explicit use cases: 'Use for fundamental analysis, stock screening, or building financial dashboards.' It does not explicitly state when not to use it (e.g., for crypto or exchange rates), but the individual-ticker focus and sibling names imply this.

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.1/5.0
Disambiguation4/5

Most tools have clearly distinct purposes: crypto prices, exchange rates, stock data, stock screening, and crypto portfolio tracking. However, get_crypto_prices and track_crypto_portfolio both return crypto price data, and get_stock_data and screen_stocks are related but distinct in action.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (get_, screen_, track_). The 'get_' prefix is used for three tools, with 'screen_' and 'track_' as appropriate action verbs. No mixed conventions.

Tool Count5/5

Five tools is well-scoped for a finance server covering cryptocurrencies, exchange rates, and stocks. Each tool earns its place, covering core data retrieval and screening functions without unnecessary bloat.

Completeness4/5

The tool set covers key finance use cases: price lookups, screening, and portfolio tracking. Minor gaps exist, such as no historical price data or stock portfolio tracking, but the primary domain is well-served.

Resources