Skip to main content
Glama
lkcair

yfinance-ai MCP server

by lkcair

get_analyst_price_targets

Read-onlyIdempotent

Fetch analyst price targets for a stock ticker, including current, low, mean, median, high estimates and analyst coverage count.

Instructions

Get detailed analyst price targets for a stock.

Args: ticker: Stock ticker symbol

Returns: Comprehensive price target data including current, low, mean, median, high targets and the number of analysts covering the stock

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and non-destructive, so the safety profile is fully covered. The description adds no behavioral context beyond that (no rate limits, auth needs, or caveats), and its Returns section largely restates what the output schema already provides.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the purpose in the first sentence, and the Args/Returns blocks are easy to scan. The Args line merely echoes the parameter name, which is minor waste for a single-parameter tool.

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?

For a simple single-parameter read tool whose annotations cover safety and whose output schema covers return shape, the description is largely sufficient. The only meaningful gap is the lack of routing guidance against the crowded set of analyst-data siblings.

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 description coverage is 0%, so the description must carry the load, and it only restates the parameter as 'Stock ticker symbol' without format or example (e.g., 'AAPL'). It adds slight semantic value over the bare field name but does not compensate for the coverage gap.

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?

States a specific verb and resource ('Get detailed analyst price targets for a stock') and enumerates the exact target values returned (current, low, mean, median, high). However, in a sibling set containing get_analyst_estimates, get_analyst_recommendations, and get_upgrades_downgrades, it never explicitly distinguishes itself from those near-neighbors.

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 when-to-use or when-not-to-use guidance, and no mention of the analyst-data siblings that could be confused with it. The agent must infer usage purely from the tool name.

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