Skip to main content
Glama
Indian Stock Exchange Api2 MCP Server

Indian Stock Exchange Api2 MCP Server

Historical Data

historical_data

Fetch historical stock prices for Indian equities by stock name and optional period to analyze past performance and market trends.

Instructions

  • Endpoint: /historical_data - Method: GET - Query Parameters: - stock_name (required): string - period (optional): string, default is \

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

Input Schema

NameRequiredDescriptionDefault
filterNoExample value:
periodNoExample value:
stock_nameYesExample value: tcs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden, and it discloses almost nothing beyond 'GET', which implies read-only. It says nothing about return shape, pagination, auth needs, rate limits, error behavior, or what the truncated 'default is "' for period actually is.

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

Conciseness2/5

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

The definition is a truncated fragment ending mid-sentence ('default is "'), with markdown bullet syntax crammed into a plain description field. The HTTP method and endpoint repeating the tool name add little, and the cut-off destroys the one piece of concrete information (the default period).

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?

With no annotations, no output schema, three parameters, and a truncated description, an agent cannot tell what the response contains, what format 'period' accepts, or what 'filter' does. The definition is materially incomplete for a tool that is otherwise a simple read endpoint.

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 description coverage is 100%, so the baseline of 3 applies even though the schema descriptions are placeholder 'Example value:' strings. The description adds only that stock_name is required and period is optional with a default, and it omits the third parameter (filter) entirely while cutting off the period default mid-sentence.

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

Purpose2/5

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

The text is a raw API spec dump: it restates the name via 'Endpoint: /historical_data - Method: GET' and lists query parameters, but never states in prose what the tool returns (prices? OHLC bars? volumes?) or what 'historical' spans. Nothing distinguishes it from siblings like historical_stats or get_stock_data_by_name.

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 to prefer this over historical_stats or get_stock_data_by_name, and no stated prerequisites or constraints. The optional/required marker on stock_name is the only contextual signal, and it comes from the parameter list rather than real guidance.

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