yfinance
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| YFINANCE_DEFAULT_MARKET | No | Default market for ticker symbols. Supported: US, BR, UK, IN_NSE, IN_BSE, etc. | US |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_analyst_price_targetsC | Get analyst price targets and recommendations summary. |
| get_balance_sheetC | Get balance sheet for a stock. |
| get_cashflowC | Get cash flow statement for a stock. |
| get_current_stock_priceB | Get the current stock price for a given symbol. |
| get_dividendsB | Get dividend history for a stock. |
| get_earning_datesA | Get upcoming and historical earnings dates for a stock. |
| get_historical_stock_pricesB | Get historical stock prices for a given period and interval. |
| get_holder_infoB | Get holder and ownership information for a stock. |
| get_income_statementC | Get income statement for a stock. |
| get_newsB | Get recent news articles for a stock. |
| get_option_chainB | Get option chain data for a specific expiration date. |
| get_option_expiration_datesC | Get available option expiration dates for a stock. |
| get_recommendationsC | Get analyst recommendations for a stock. |
| get_stock_actionsB | Get stock actions (splits and dividends) history. |
| get_stock_infoC | Get comprehensive stock information and metadata. |
| get_stock_price_by_dateB | Get the stock price for a specific date. |
| get_stock_price_date_rangeB | Get stock prices for a date range. |
| get_stock_splitsB | Get stock split history for a stock. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 18 tools
Each tool has a distinct, clearly defined purpose with no overlap. For example, get_current_stock_price, get_stock_price_by_date, and get_stock_price_date_range target different price queries, while financial statements (get_balance_sheet, get_income_statement, get_cashflow) are unique.
All tools follow a consistent 'get_' prefix followed by descriptive snake_case noun phrases. No mixing of convention or verb styles.
18 tools is slightly above the typical sweet spot (3-15) but still reasonable for a comprehensive financial data API. Each tool contributes to a well-scoped domain without feeling excessive.
The tool surface covers all major aspects of stock data: prices (current/historical/by date), financial statements, dividends, splits, options, analysts, news, holder info, and metadata. No obvious gaps for fundamental stock analysis.