Skip to main content
Glama
Indian Stock Exchange MCP Server

Indian Stock Exchange MCP Server

by prakharv-ops

Peer companies

get-peers
Read-onlyIdempotent

Lists peer companies for a given Indian stock with price, market cap, P/E, P/B, ROE, and margin data to support comparison and valuation analysis.

Instructions

Listed peers of a company with their price, market cap, P/E, P/B, ROE and margins.

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

Input Schema

NameRequiredDescriptionDefault
nameYesCompany name or NSE symbol (e.g. 'Reliance Industries')
limitNoMaximum items to return (1-20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world behavior, so the description doesn't need to restate safety. It adds real value by disclosing the exact field set (price, market cap, P/E, P/B, ROE, margins) that comes back, which matters since there is no output schema. It leaves unstated what qualifies as a 'peer' (sector, index, market cap band).

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?

A single front-loaded sentence with no filler; the resource comes first and the returned metrics follow. Nothing extraneous, though the terseness leaves room for one clarifying clause without bloat.

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 low-complexity read-only lookup with full schema documentation and annotations covering the safety profile, the description supplies the one missing piece — the shape of the returned metrics. The only meaningful gap is the undefined peer-matching criterion.

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 schema already documents both the 'name' input (company name or NSE symbol) with an example and the 'limit' bound of 1-20. The description adds nothing about either parameter, so the baseline of 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?

Uses a specific verb ('Listed') and resource ('peers of a company') and enumerates the metrics returned, so the agent knows exactly what comes back. It stops short of differentiating itself from a sibling like compare-stocks, which also concerns multi-company metrics.

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?

Usage is implied by 'peers of a company' — the agent can infer this is for peer benchmarking. There is no explicit when-to-use, when-not-to-use, or named alternative such as compare-stocks, so selection guidance is weak.

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