Skip to main content
Glama
lkcair

yfinance-ai MCP server

by lkcair

get_trending_tickers

Read-onlyIdempotent

Fetch today's most active US tickers with basic details to spot current market movers; set count to control list size.

Instructions

Get today's most active (trending) US tickers.

Args: count: Number of trending tickers to return

Returns: List of trending tickers with basic info

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNo

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 destructiveHint=false, so the safety profile is fully covered without the description. The description adds only the freshness window ('today's') and that results carry 'basic info' – useful but thin, with no note on how 'trending' is computed or whether the list is cached.

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?

Short and front-loaded, with the core purpose in the first sentence before the Args/Returns scaffolding. The explicit Args/Returns headers are slightly heavy for a one-parameter tool but not wasteful.

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?

An output schema exists, so the 'Returns' line is optional rather than required, and the description is adequate for a simple read. Still missing is any indication of the default/max for count and what 'basic info' actually contains, which leaves the caller guessing about result size and shape.

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% for the single 'count' parameter, so the description carries the burden – but it only restates 'Number of trending tickers to return', which is nearly tautological and omits the default of 10 and any upper bound. It documents the parameter without adding real semantics.

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 states a specific verb+resource ('Get ... US tickers') with scope qualifiers ('today's', 'most active (trending)', 'US'), which is far more than a restatement of the name. It does not explicitly differentiate itself from the nearest sibling, get_market_movers, so it falls short of a 5.

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?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives, despite siblings like get_market_movers and get_market_summary covering overlapping territory. The 'today's most active' phrasing implies a use case but does not route the agent between tools.

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