Skip to main content
Glama
aswathas

TradeMCP

by aswathas

trademcp_get_technical_analysis

Read-onlyIdempotent

Run technical analysis on an NSE stock to produce a directional signal, composite rating, plain-language indicator explanations, risk statistics, and candlestick patterns.

Instructions

Run a full technical analysis and produce a directional read on a stock.

Scores every indicator, explains each signal in plain language, reports the composite score (Strong Buy / Buy / Neutral / Sell / Strong Sell), and adds risk statistics (annualised volatility, Sharpe, Sortino, max drawdown, beta, alpha, 30-day relative strength) plus recent candlestick patterns.

Args: symbol: NSE symbol or company name range: lookback window for the analysis benchmark: benchmark index for beta and relative strength response_format: 'markdown' or 'json'

Returns: Markdown or JSON with 'summary', 'signals', 'indicators', 'statistics' and 'candles'.

Input Schema

NameRequiredDescriptionDefault
rangeNoLookback window: 6mo, 1y, 2y, 5y1y
symbolYesNSE symbol or company name, e.g. 'INFY'
benchmarkNoBenchmark index for beta/relative strength: 'NIFTY 50' or 'SENSEX'NIFTY 50
response_formatNo'markdown' or 'json'markdown

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), so the description's job is to add context, and it does: it names the exact composite scale (Strong Buy through Strong Sell) and the specific risk metrics computed (volatility, Sharpe, Sortino, max drawdown, beta, alpha, 30-day relative strength). It does not disclose data source, latency, or whether results are cached, which keeps it short of a 5.

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-loaded: the first sentence says what the tool produces, then the Returns/Args blocks. Every sentence carries information, though the Args section is mildly redundant with an already fully-documented schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, yet the description still summarizes the return keys ('summary', 'signals', 'indicators', 'statistics', 'candles'), and it covers all four inputs with defaults. For a read-only analysis tool, an agent has everything needed to call it correctly and interpret the shape of the result.

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

Parameters3/5

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

Schema coverage is 100% and all four parameters are documented in the schema itself, so the baseline of 3 applies. The Args block largely restates the schema ('symbol: NSE symbol or company name', 'response_format: markdown or json') without adding format, constraints, or behavior — for example, what happens if the symbol is ambiguous or unknown.

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 ('Run a full technical analysis') and enumerates the concrete outputs: indicator scores, composite rating, risk statistics, candlestick patterns. It is clearly a composite-analysis tool, distinguishing it in substance from trademcp_get_technical_indicators, but it never names that sibling or explicitly contrasts the two.

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 output inventory — an agent can infer this is the 'give me the whole technical picture' call. However, there is no explicit when-to-use, when-not-to-use, or routing statement pointing to get_technical_indicators, get_support_resistance, or get_price_history.

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