Skip to main content
Glama

Get stock quote

get_stock_quote
Read-onlyIdempotent

Current price, change %, volume, delivery %, 52-week high/low, key ratios.

Returns ltp (last traded price), change, change_pct, volume, delivery_pct, pe_ratio, pb_ratio, market_cap, week_52_high, week_52_low, avg_volume_30d. Also returns latest RSI, SMA50, SMA200, and supertrend signal.

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": "get_stock_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesNSE symbol, e.g. RELIANCE. Use search_stocks if unsure.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is fully covered structurally. The description adds useful content-level transparency by naming the returned metrics, but says nothing about snapshot timing, staleness, or data source, which would matter for a quote tool.

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 scope is front-loaded in the first sentence, which is the right choice. The second paragraph largely restates the same fields in field-name form (change/change_pct/volume repeats 'change %, volume'), so there is some redundancy, but it stays short and readable.

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?

An output schema exists, annotations cover the safety profile, and the only parameter is fully described in the schema, so the definition has everything an agent needs to invoke it correctly. The field enumeration in the description is arguably redundant against the output schema but does no harm.

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 coverage is 100% and the single 'symbol' parameter is fully documented in the schema, including the NSE format and a pointer to search_stocks. The description adds no syntax, exchange, or format detail beyond that, so the baseline 3 applies.

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

Purpose4/5

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

The description states a specific verb+resource (retrieves the current quote for a symbol) and enumerates the exact fields returned, so an agent knows precisely what data comes back. It does not, however, distinguish itself from overlapping siblings such as get_batch_quotes, get_technicals (which also serves RSI/SMA), or get_price_history.

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 or when-not-to-use guidance, and no explicit routing to alternatives. Because it also returns RSI, SMA50, SMA200 and supertrend, an agent cannot tell from the description whether to call this or get_technicals for those values. The only routing hint ('Use search_stocks if unsure') lives in the schema, not the description.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.