Skip to main content
Glama
rehan1020

mcp-india-stack

by rehan1020

get_stock_history

Read-onlyIdempotent

Retrieve historical end-of-day price data for Indian stocks by entering a ticker symbol (e.g., RELIANCE.NS) and a period range. Use it to analyze past performance and trends.

Instructions

Fetch historical end-of-day data for a given Indian stock ticker.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNoTime period to fetch data for. Valid periods: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max1mo
symbolYesStock symbol/ticker to fetch. Examples: RELIANCE.NS, INFY.NS

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv0.5.0

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already cover read-only, idempotent, and open-world behavior, so the description's job is lighter. It adds useful context about data granularity (end-of-day) and market (India), but does not disclose rate limits, result size, or other edge behavior. No contradiction with annotations.

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?

The description is a single clear, front-loaded sentence with no filler. It communicates the essential scope and resource type efficiently.

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

Completeness5/5

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

The tool is simple, read-only, and has a full input schema and output schema. The description adds the only missing contextual detail: that this is historical end-of-day data for Indian tickers. No critical information is absent.

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%, with both symbol and period already explained. The description adds no parameter-specific semantics beyond what the schema provides, so the baseline score of 3 is appropriate.

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 clearly states what the tool does: fetch historical end-of-day data for an Indian stock ticker. This is specific enough to distinguish it from the sibling get_stock_quote, which is about current quote data.

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?

The phrase 'historical end-of-day data' gives clear context for when to use the tool, especially relative to get_stock_quote. However, it does not explicitly name alternatives or state when not to use this tool.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rehan1020/MCP-India-Stack'

If you have feedback or need assistance with the MCP directory API, please join our Discord server