Skip to main content
Glama
tanmaymish

MarketPulse MCP

by tanmaymish

market_depth

Retrieve real-time Level 2 order book depth for NSE symbols, showing top 5 bid/ask prices and quantities with total buy/sell queue sizes.

Instructions

Level 2 order book depth — top 5 bid/ask prices and quantities.

This is exchange-licensed real-time data. Zerodha Kite Connect charges ₹500/month for this. Angel One SmartAPI provides it free to account holders.

Requires Angel One API credentials in .env (stays local, never on GitHub).

Provides (when configured):

  • Top 5 buy orders (bid price + quantity)

  • Top 5 sell orders (ask price + quantity)

  • Total buy and sell queue size

Args: symbol: NSE symbol (e.g., RELIANCE, TCS, HDFCBANK)

Examples: market_depth("RELIANCE") → Live order book for Reliance

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that the data is real-time, exchange-licensed, requires configuration, and lists the exact output fields (top 5 bids/asks, total queue sizes). It also notes the credential stays local. While it doesn't discuss failure modes or rate limits, it provides substantial behavioral context beyond a generic read operation.

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?

The description is well-structured with a bolded header, clear bullet points for outputs, and an example. It includes useful cost/licensing context that is not redundant. Slightly verbose, but every sentence adds value.

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 one-parameter tool with an output schema present (though not shown here), the description covers purpose, parameter format, configuration requirement, and output fields. It is complete enough for an agent to invoke the tool correctly, though it lacks error-handling or fallback guidance if configuration is missing.

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?

The schema only defines 'symbol' with no description, so the description compensates by specifying it as an NSE symbol and providing concrete examples (RELIANCE, TCS, HDFCBANK). This adds meaningful guidance for a single parameter, though it could clarify whether exchange suffixes are accepted.

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 states a specific verb-resource pair: 'Level 2 order book depth — top 5 bid/ask prices and quantities.' This clearly distinguishes it from sibling tools like stock_quote or nse_quote, which provide price snapshots rather than order book depth.

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?

It mentions prerequisites ('Requires Angel One API credentials') and that it provides live data 'when configured', giving some context. However, it does not explicitly state when to use this over alternatives or mention any exclusions (e.g., 'for a simple quote use stock_quote'), so guidance is implied rather than explicit.

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/tanmaymish/MarketPulse-MCP'

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