Skip to main content
Glama
lkcair

yfinance-ai MCP server

by lkcair

validate_ticker

Read-onlyIdempotent

Checks whether a ticker symbol exists and is tradeable, returning validation status and ticker details for valid symbols.

Instructions

Validate if a ticker symbol exists and is tradeable.

Args: ticker: Ticker symbol to validate

Returns: Validation result with ticker details if valid

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

C2.9/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 and network profile is fully covered by structured data. The description's only added behavioral note is that it returns 'ticker details if valid,' which is thin and largely covered by the output schema.

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?

The lead sentence is tight and front-loaded, but the Args/Returns blocks duplicate what the input schema and output schema already express, adding boilerplate rather than value.

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?

For a simple one-parameter read-only tool with an output schema, the description covers the basics. What is missing is routing guidance relative to search_ticker and any hint about ticker format, which is the main risk for an agent invoking it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the single parameter is documented only as 'Ticker symbol to validate,' which merely restates the parameter name. No format, casing, exchange-suffix, or example information is provided to help the agent supply a well-formed symbol.

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: 'Validate if a ticker symbol exists and is tradeable.' This is clearly distinct from data-fetching siblings like get_stock_quote or get_company_info. It does not, however, explicitly differentiate itself from search_ticker, the closest sibling.

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 guidance on when to validate versus when to search (search_ticker) or when to just fetch data and let the call fail. The description says what the tool does but never states the conditions that select it over its alternatives.

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