Skip to main content
Glama
Indian Stock Exchange MCP Server

Indian Stock Exchange MCP Server

by prakharv-ops

Top gainers

get-top-gainers
Read-onlyIdempotent

Fetch today's top gaining BSE-listed stocks with a configurable result limit to screen market movers for research and comparison.

Instructions

Today's top gaining stocks (BSE-listed; use get-price-shockers for NSE).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get-top-gainers"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum items to return (1-50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint and idempotentHint, so safety and idempotency are covered. The description's one real addition is the BSE-only coverage constraint, which is valuable and not in structured fields. It reveals nothing about ranking basis, the definition of 'today' (live trading session vs last close), or what data each entry carries.

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?

A single front-loaded sentence with the exchange caveat in parentheses; there is no filler and the scoping constraint arrives before the sibling routing.

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 one-parameter, no-annotation-gap read tool with no output schema, the definition covers resource, scope and alternative adequately. The remaining gap is the ranking/time-window semantics of 'today's top gainers', which an agent would likely want when presenting or interpreting results.

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?

Only one parameter (limit), and its schema description already documents the 1-50 range and default of 10 at 100% coverage. The description adds no meaning about how the limit is applied or ordering of results, so the baseline 3 applies.

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 resource and scope: today's top gaining stocks, restricted to BSE listings. It distinguishes itself from get-price-shockers by exchange, but leaves ambiguous what 'gaining' is measured on (percent change, price, volume) and never differentiates from the near-inverse get-top-losers.

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

Usage Guidelines4/5

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

Gives an explicit routing rule: use get-price-shockers for NSE names, which is exactly the kind of alternative-selection guidance that helps an agent pick correctly. It stops short of stating when not to use this tool (for example when a broader movers view or losers list is wanted).

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