StockAnalysis
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| analyze_stockA | Perform a comprehensive stock analysis and generate an interactive dashboard. Fetches company info, price history (short & long term), technical indicators, financial statements, and peer comparison. All data is persisted to JSON files. An interactive HTML dashboard is saved and a file:/// link is included in the response — always share this link with the user so they can view the full visual dashboard in their browser. Args: ticker: Stock ticker symbol (e.g., AAPL, TSLA, RELIANCE.NS, TCS.NS) |
| get_stock_priceA | Get the current stock price with day change and key metrics. Quick lookup tool that returns current price, day change, and key metrics directly as text. Args: ticker: Stock ticker symbol (e.g., AAPL, RELIANCE.NS) |
| get_stock_historyA | Get stock price history with interactive charts. Fetches OHLCV data for the specified period and displays it as an interactive area/line chart with volume bars. A file:/// link to the interactive dashboard is included — always share it with the user. Args: ticker: Stock ticker symbol (e.g., AAPL, RELIANCE.NS) period: Time period - one of: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, max |
| get_financialsB | Get financial statements, key ratios, and balance sheet data. Displays quarterly and annual revenue/income charts, profit margins, and balance sheet highlights in an interactive dashboard. A file:/// link to the interactive dashboard is included — always share it with the user. Args: ticker: Stock ticker symbol (e.g., AAPL, RELIANCE.NS) |
| compare_peersA | Compare a stock with its sector peers. Identifies peer companies in the same sector and compares key metrics including P/E, ROE, margins, growth, and beta using radar charts and sortable data tables. A file:/// link to the interactive dashboard is included — always share it with the user. Args: ticker: Stock ticker symbol (e.g., AAPL, RELIANCE.NS) |
| get_technical_analysisA | Get technical analysis with RSI, MACD, Bollinger Bands, and moving averages. Computes and displays technical indicators including:
A file:/// link to the interactive dashboard is included — always share it with the user. Args: ticker: Stock ticker symbol (e.g., AAPL, RELIANCE.NS) |
| get_sector_overviewA | Get an overview of stocks in a specific market sector. Shows market cap distribution, key metrics comparison, and a sortable table of stocks in the specified sector. Supported sectors: Technology, Financial Services, Healthcare, Consumer Cyclical, Energy, Communication Services, Industrials, Consumer Defensive, Basic Materials, Real Estate, Utilities Args: sector: Market sector name (e.g., Technology, Healthcare) |
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 7 tools
Individual tools target distinct data types (price, history, financials, technicals, peers, sector), but analyze_stock is an umbrella that duplicates all of them. Descriptions clarify intent, yet an agent may still wonder whether to call the comprehensive tool or the specialized ones.
All tool names use snake_case with a verb-first pattern (analyze_stock, get_stock_price, get_stock_history, compare_peers, etc.). The convention is consistent and predictable across the set.
Seven tools is well-scoped for a stock analysis server, covering core retrieval tasks without excessive fragmentation. Each tool has a clear role and none feels redundant beyond the umbrella analysis tool.
Core coverage is strong: current price, history, financials, technicals, peer comparison, sector overview, and a comprehensive analysis tool. Minor gaps include standalone tools for company profile, news, dividends, or earnings, but these are workable for the stated purpose.