Skip to main content
Glama
aswathas

TradeMCP

by aswathas

trademcp_compare_stocks

Read-onlyIdempotent

Compare up to five Indian stocks side by side on price, valuation, quality and momentum. Returns a clear table or JSON highlighting key differences for informed decisions.

Instructions

Compare two to five Indian stocks across price, valuation, quality and momentum.

Fetches the latest quote, headline fundamental ratios and the technical signal score for each symbol, then lines them up so the differences are obvious.

Args: symbols: two to five symbols or company names response_format: 'markdown' or 'json'

Returns: Markdown table or JSON list with one row per symbol.

Input Schema

NameRequiredDescriptionDefault
symbolsYesTwo to five NSE symbols or company names to compare side by side
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.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuine value by disclosing the composite data sources (latest quote, headline fundamental ratios, technical signal score) that get assembled into each row. It omits error handling for invalid symbols or partial failures, which keeps it from 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 with the core purpose in the first line, followed by a concise explanation of what is assembled. The Args/Returns block duplicates the schema slightly, but the overall length is proportionate and no sentence is wasted.

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 and the description correctly states the return shape (markdown table or JSON list, one row per symbol), so return values need no further detail. Given rich annotations and full param coverage, the only gap is behavior on invalid or missing symbols.

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 description coverage is 100% and the Args block essentially restates the schema (including the NSE/company-name allowance and the markdown/json enum). Baseline 3 applies since the schema already carries the meaning.

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 ("Compare") and resource ("two to five Indian stocks") plus the four dimensions covered: price, valuation, quality, momentum. This clearly separates it from single-symbol tools like get_quote or get_fundamentals, though it never names those siblings explicitly.

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?

The "two to five" cardinality constraint implicitly tells the agent not to use this for a single symbol, and the dimension list hints at the comparison use case. However no alternatives are named and there is no explicit when/when-not guidance versus screen_stocks or get_valuation.

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