Skip to main content
Glama

Tapetide - Indian Stock Market MCP

Market Valuations

market_valuations
Read-onlyIdempotent

Get index valuation metrics (PE, PB, Dividend Yield) over time. Default: Nifty 50, weekly data, 5 years.

index_code, a slug or its code: nifty-50 (13), nifty-500 (19), nifty-bank (25), nifty-midcap-50 (51), nifty-it (27), nifty-next-50 (53).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "market_valuations"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNoWindow start, YYYY-MM-DD; overrides years.
yearsNoYears back from end_date (default 5, max 20)
end_dateNoInclusive end, YYYY-MM-DD (default: latest). Paging cursor.
index_codeNoIndex as a slug ("nifty-50", "nifty-bank", "nifty-it", "nifty-500", "nifty-midcap-50", "nifty-next-50") or its numeric code. Default "nifty-50".nifty-50

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / end_date
      Added value: +{
      +  "description": "Inclusive end, YYYY-MM-DD (default: latest). Paging cursor.",
      +  "type": "string"
      +}
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "Window start, YYYY-MM-DD; overrides years.",
      +  "type": "string"
      +}
    • changedInput schema / properties / years / description
      Previous value: -"Years of history (default 5, max 20)"New value: +"Years back from end_date (default 5, max 20)"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety bar is covered. The description adds real context the annotations cannot: the data is returned as weekly observations and the result payload is valuation ratios (PE, PB, dividend yield) rather than prices. It omits any note on result size or pagination beyond the schema's cursor hint.

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?

Two compact blocks: the capability and defaults are front-loaded, then a terse code table. Every line carries information an agent needs to construct a valid call, with no filler.

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 read-only, four-optional-parameter query tool with no output schema, the definition covers the resource, the returned metrics, the defaults and the identifier format. Minor gaps remain: no statement of what a returned row looks like or how many observations a 20-year window would produce.

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?

Schema coverage is 100%, so a 3 is the baseline, but the description goes beyond the schema by mapping slugs to their numeric codes (nifty-50 = 13, nifty-bank = 25, etc.), which the schema only partially lists. The numeric-code fallback would otherwise be guesswork for an agent.

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?

States a specific verb and resource ("Get index valuation metrics") and enumerates the exact metrics returned (PE, PB, Dividend Yield) over time. The first sentence plus the index_code list makes clear this is a historical valuation time series for a chosen index, distinct from quote or performance tools.

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?

The description gives useful defaults (Nifty 50, weekly data, 5 years), which implies the common call pattern, but it never states when to prefer this over related siblings such as get_index_history or get_index_performance. Usage is inferable rather than explicit.

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.