Skip to main content
Glama
mohantee

StockAnalysis

by mohantee

analyze_stock

Generate a stock analysis dashboard for a ticker, with price history, technical indicators, financials, peer comparison, and a saved HTML link.

Instructions

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)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries full behavioral burden. It discloses meaningful side effects an agent must know: JSON files are persisted to disk, an HTML dashboard is written, and a file link is returned that should be shared. It does not state auth requirements or failure modes, but the persistence/dashboard behavior is well conveyed.

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-loads the purpose, then the data fetched, then the important dashboard/file-link instruction. Slightly longer than strictly needed but every sentence earns its place by describing outputs and the persistence side effect.

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 complex aggregate tool with no annotations, the description covers what data is gathered, the disk side effects, the dashboard output, and how to use the returned link. An output schema exists, so return values need not be detailed. It is complete enough to invoke correctly, though it omits any auth or rate-limit considerations.

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

Parameters4/5

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

Schema coverage is 0% and there is one parameter. The description compensates by giving example ticker formats including exchange suffixes (AAPL, RELIANCE.NS, TCS.NS), which is real value beyond the bare 'string' in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Perform a comprehensive stock analysis and generate an interactive dashboard') and the enumeration of fetched data (company info, price history, technical indicators, financials, peers) clearly positions it as the umbrella tool over siblings like get_stock_price and get_financials.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Does not explicitly tell the agent when to use this aggregate tool versus the narrower siblings. The scope (fetching many data types at once) implies it supersedes the specialized tools, but no exclusion or condition is stated.

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