Skip to main content
Glama
mohantee

StockAnalysis

by mohantee

get_technical_analysis

Compute RSI, MACD, Bollinger Bands, and moving averages for a stock ticker. Receive an overall Buy/Sell/Hold signal.

Instructions

Get technical analysis with RSI, MACD, Bollinger Bands, and moving averages.

Computes and displays technical indicators including:

  • RSI (14) with overbought/oversold signals

  • MACD (12, 26, 9) with histogram

  • Bollinger Bands (20, 2)

  • SMA (20, 50, 200) and EMA (12, 26)

  • Overall Buy/Sell/Hold signal

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)

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

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the output composition and the fact that a file:// interactive dashboard link is returned and must be shared, which is genuine behavioral context. It omits auth requirements, rate limits, and any note on latency or failure modes for invalid tickers.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first line, details are structured as a compact bullet list, and the sharing instruction is stated once without padding. Every element earns its place.

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?

An output schema exists, so return-value explanation is not strictly needed, yet the description still orients the agent on indicator set and the dashboard link. Combined with ticker-format guidance, an agent has what it needs to call it correctly; only ticker-suffix rules and sibling routing are left open.

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 the single required parameter is undocumented in the schema, so the description must compensate — and it does by giving concrete examples (AAPL, RELIANCE.NS) that reveal exchange-suffix formatting. This adds meaning the schema lacks, though it does not say whether the suffix is required or optional.

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 (Get) and resource (technical analysis) and enumerates exactly what is computed (RSI, MACD, Bollinger Bands, SMA/EMA, overall signal). It does not, however, differentiate itself from the sibling 'analyze_stock', which likely overlaps — an agent cannot tell from this text which one to pick.

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?

Usage is implied by the indicator list (invoke when you need technical indicators for a ticker), and it gives one behavioral instruction — always share the file:// dashboard link. There is no explicit when-to-use vs. analyze_stock or get_stock_price routing, and no exclusions or prerequisites.

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