Skip to main content
Glama
Indian Stock Exchange MCP Server

Indian Stock Exchange MCP Server

by prakharv-ops

Stock details

get-stock-details
Read-onlyIdempotent

Fetch stock data by company name or NSE symbol, including profile, key metrics, analyst views, and optional sections like shareholding and news.

Instructions

Detailed data for a stock, by section. Defaults to profile, key_metrics and analyst. 'financials' is very large; prefer get-financial-statements.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "get-stock-details"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCompany name or NSE symbol (e.g. 'Tata Steel')
sectionsNoWhich sections to include

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, idempotentHint and openWorldHint, so safety and repeatability need no restating. The description adds genuine behavioral context the annotations lack: the payload for 'financials' is very large, and omitting sections yields a specific default set. It says nothing about response shape or cost of pulling many sections at once.

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?

Two short sentences, zero filler, and the default behavior is front-loaded before the caveat about the large section. Every clause 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?

For a two-parameter read tool with full schema coverage, annotations, and no output schema, this covers what is needed to call it correctly: what it returns at a high level, what happens with omitted parameters, and where to go instead for financials. Only the response granularity is left unstated, which is minor.

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 the defaults are already declared in the schema, so the description carries a lower burden here. The one piece of added meaning is that 'financials' is very large and should be avoided in favor of the sibling tool. Baseline 3 is appropriate: the schema does the heavy lifting.

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 (a single stock's detailed data) and scope (sectioned retrieval with a stated default of profile, key_metrics, analyst). It differentiates itself from get-financial-statements by name, so an agent can route without opening the schema. It does not distinguish itself from other detail-ish siblings such as get-stock-snapshot, which keeps it from a 5.

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 one explicit alternative rule: for 'financials' prefer get-financial-statements, with the reason (very large). That is real when-to-use guidance. It stops short of saying when to prefer this over snapshot/price/history siblings, so it is clear context rather than full routing guidance.

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