Skip to main content
Glama

get_nse_historical

Retrieve NSE India EOD historical data from official Bhavcopy files for any date. Optionally filter by stock symbol.

Instructions

Get NSE India End-of-Day (EOD) historical data from the official NSE Bhavcopy files (CSV/ZIP format). This fetches the official CM-UDiFF Bhavcopy archive from nsearchives.nseindia.com. Returns full EOD data for all ~2000 NSE equity stocks for a given date. If no symbol is provided, returns the full Bhavcopy for that date. Date format: YYYYMMDD (e.g. 20240115). Defaults to the last business day.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoDate in YYYYMMDD format. Defaults to last business day.
symbolNoNSE symbol to filter (e.g. RELIANCE, TCS). Omit for full Bhavcopy.
Behavior3/5

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

With no annotations, the description discloses the data source (nsearchives.nseindia.com) and scope (~2000 stocks), but does not cover rate limits, error handling for invalid dates, or whether the response is parsed or raw. More behavioral details would improve transparency.

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 concise (5 sentences) and front-loaded with the core purpose. Every sentence adds necessary information without redundancy.

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?

Given no output schema, the description explains what data is returned (full EOD data for all stocks). It covers date handling and symbol omission. However, it does not specify the output format (CSV, ZIP, parsed JSON) which could impact tool selection.

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?

Both parameters are documented in the schema with 100% coverage. The description adds value by clarifying date format ('YYYYMMDD'), default behavior, and the effect of omitting symbol. This goes beyond the schema descriptions.

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 specifies the exact verb ('Get'), resource ('NSE India End-of-Day historical data'), and source ('official NSE Bhavcopy files'). It clearly distinguishes from siblings that may cover other exchanges or 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 description explains when to use the tool (to fetch NSE EOD data) and provides usage details like date format and default behavior. However, it does not explicitly state when not to use it or mention alternatives among siblings.

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

Install Server

Other Tools

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/Techie03/trade-mcp'

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