Skip to main content
Glama
Indian Stock Exchange Api2 MCP Server

Indian Stock Exchange Api2 MCP Server

Historical Stats

historical_stats

Retrieve historical statistics for a specific Indian stock to analyze past performance and trends.

Instructions

  • Endpoint: /historical_stats - Method: GET - Query Parameters: - stock_name (required): string - stats (required): string - Description: Retrieve historical statistics for a specific stock. - Example Request: http GET /historical_stats?stock_name=TATAMOTORS\u0026stats=quarter_results

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": {
      "stock_name": "<stock_name>"
    },
    "name": "historical_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
statsNoExample value:
stock_nameYesExample value: TCS

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden; it does convey that this is an HTTP GET read against /historical_stats, which usefully signals a safe, non-mutating operation. However it omits authentication needs, rate limits, response shape, and whether stats values are free-form or enumerated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Compact, but structured as a raw backend API doc dump with bold labels, an escaped-unicode query string, and an HTTP example block that adds little for an MCP caller. The actual purpose sentence is buried mid-entry rather than front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no annotations and no output schema, the description should explain what statistics are returned and which stats values are accepted. It instead stops at the REST endpoint signature, and its required-parameter claim conflicts with the input schema, leaving an agent unsure how to call it.

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 nominally 100%, but the schema descriptions are placeholder junk ('Example value: TCS' and an empty string for stats), so the description's example 'stats=quarter_results' is the only real hint about valid values. It also flatly contradicting the schema by labeling stats as required while the schema lists only stock_name as required, which will mislead an agent.

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 verb and resource: 'Retrieve historical statistics for a specific stock', plus the underlying endpoint and method. It is understandable on its own, but gives no hint of how it differs from the similarly-named sibling 'historical_data', so an agent must guess between them.

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 prerequisites, and no mention of alternatives such as historical_data or corporate_actions. The only contextual signal is the example request, which shows syntax rather than selection criteria.

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