Skip to main content
Glama
screener-mcp-server

screener-mcp-server

Get Live NSE Quote

nse_get_quote
Read-onlyIdempotent

Fetch a live NSE quote for a stock ticker to view last traded price, day and 52-week ranges, previous close, and volume directly from the exchange.

Instructions

Fetch a live quote directly from the NSE (National Stock Exchange of India) — last traded price, day range, 52-week range, previous close, and volume. This hits NSE's own site, the primary source, rather than a downstream aggregator.

Note: NSE's site has anti-bot protection and can occasionally reject requests or respond slowly (more so than the other tools in this server) — a transient error here usually means retrying in a few seconds fixes it.

Args:

  • symbol (string): Plain NSE ticker, e.g. "TCS", "RITES".

Returns: JSON: { symbol, companyName, lastPrice, change, pChange, open, dayHigh, dayLow, previousClose, yearHigh, yearLow, totalTradedVolume }

Examples:

  • Use when: "What's TCS trading at right now, straight from NSE?" -> symbol="TCS"

Error Handling:

  • Returns an error if NSE's session/anti-bot check fails — this is a known NSE quirk, retry.

  • Returns an error if the symbol isn't found — double-check spelling/listing status.

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": {
      "symbol": "<symbol>"
    },
    "name": "nse_get_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesPlain NSE ticker symbol, e.g. 'TCS', 'RITES' (no exchange suffix).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), yet the description adds genuinely non-obvious operational context: NSE's anti-bot protection, slow/rejected responses, and the recommended retry-in-a-few-seconds remedy. It also enumerates failure modes (session/anti-bot check, unknown symbol) that an agent could not infer from structured fields.

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 summary sentence is front-loaded and the Args/Returns/Examples/Error Handling sections make it scannable. There is minor duplication — the anti-bot flakiness caveat appears both in the standalone note and again under Error Handling — but no sentence is filler.

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?

With no output schema, the description shoulders the burden of describing the return payload and does so field-by-field, plus it documents error conditions and reliability caveats. For a one-parameter read tool this leaves nothing an agent needs unstated.

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?

There is a single parameter at 100% schema coverage, so the baseline is 3. The description's 'Plain NSE ticker, e.g. "TCS", "RITES"' and example usage largely restate what the schema property description already says ('no exchange suffix'), adding little new meaning such as valid-segment conventions or symbol-normalization behavior.

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 gives a specific verb and resource ('Fetch a live quote directly from the NSE') and enumerates the exact fields returned (lastPrice, day range, 52-week range, previous close, volume). It also distinguishes itself from siblings by stating it hits NSE's own site rather than a downstream aggregator, which is the key differentiator against screener_* tools.

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?

An explicit 'Use when' example anchors the intended trigger scenario ('What's TCS trading at right now, straight from NSE?'), and the note that this tool is flakier than others in the server gives an implicit fallback cue. It stops short of naming a concrete alternative tool to use when NSE's endpoint fails, so it lacks a true when-not branch.

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