Skip to main content
Glama
Indian Stock Exchange MCP Server

Indian Stock Exchange MCP Server

by prakharv-ops

Search stocks

search-stocks
Read-onlyIdempotent

Find listed Indian companies by name or partial name, returning NSE/BSE codes and ISIN to resolve ambiguous names before market research or screening.

Instructions

Find listed Indian companies by name or partial name. Returns NSE/BSE codes and ISIN; use it to resolve ambiguous names.

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": {
      "query": "<query>"
    },
    "name": "search-stocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum items to return (1-25)
queryYesSearch text, e.g. 'tata'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds genuinely new behavioral context — partial-name matching and the specific identity fields returned (exchange codes, ISIN) — though it says nothing about result ordering, caps, or empty-result behavior.

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, no filler, with the identification/scope statement front-loaded and the usage cue immediately after. Every clause carries distinct information.

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 simple two-parameter read-only lookup with no output schema, the description supplies the essentials: what entity space is searched, how matching works, and which identifiers are returned. Minor gaps remain around result volume and ordering, but nothing an agent needs to call it correctly is missing.

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?

Schema coverage is 100%, so the baseline would be 3, but the description adds real meaning beyond the schema's example: the query accepts partial names, which is a matching-semantics detail not conveyed by "Search text, e.g. 'tata'." It does not discuss the limit parameter, which the schema already fully documents.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Find listed Indian companies by name or partial name'), scopes it to Indian listings, and specifies what comes back (NSE/BSE codes and ISIN). This clearly separates it from sibling tools like search-mutual-funds.

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?

It gives a concrete when-to-use rule: 'use it to resolve ambiguous names.' It does not explicitly name an alternative or a when-not condition, but the 'listed Indian companies' scoping implicitly excludes mutual-fund and detail-oriented siblings.

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