Skip to main content
Glama
Indian Stock Exchange MCP Server

Indian Stock Exchange MCP Server

by prakharv-ops

Stock price

get-stock-price
Read-onlyIdempotent

Fetch current NSE/BSE stock price, day change, and 52-week range using a company name or NSE symbol to assess a stock's market position.

Instructions

Latest price (NSE and BSE), day change and 52-week range for a stock.

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-price"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCompany name or NSE symbol (e.g. 'Reliance Industries')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/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 idempotency are covered structurally. The description adds useful content in stating which values come back (price on both NSE and BSE, day change, 52-week range), but says nothing about how an ambiguous company name is resolved, which exchange takes precedence, or how stale the 'latest' price may be.

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 listing the resource and the three returned data points, with no filler, hedging, or redundant restatement of the tool name.

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 read tool with no output schema, the description does the important remaining work by enumerating the returned fields. The only shortfall is that it does not clarify whether both exchanges' prices are returned together or how a bare company name is mapped to a symbol.

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?

With a single parameter and 100% schema description coverage (including the 'Company name or NSE symbol' example), the schema fully carries parameter meaning, so the baseline of 3 applies and is slightly exceeded because the description's mention of NSE and BSE contextually reinforces what kind of identifier is expected.

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?

The description names a specific resource (a stock) and specific returned data (latest NSE/BSE price, day change, 52-week range), which is far more informative than the title 'Stock price'. It does not differentiate from closely related siblings such as get-stock-snapshot or get-stock-details, so an agent cannot tell from this text alone which of those 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 Guidelines2/5

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

There is no when-to-use guidance, no mention of when this is preferable to get-stock-snapshot, get-stock-history, or get-stock-details, and no prerequisites or exclusions. The agent must infer applicability purely from the phrase 'latest price'.

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