Skip to main content
Glama
myfinancialria

MyFinancial Market Data MCP

Market Valuations

market_valuations
Read-onlyIdempotent

Check index valuation metrics (PE, PB, dividend yield) over time to determine if the market is overvalued or undervalued relative to historical averages.

Instructions

Get index valuation metrics (PE, PB, Dividend Yield) over time. Default: Nifty 50, weekly data, 5 years. Useful for assessing whether the market is overvalued or undervalued relative to historical averages.

index_code accepts EITHER a slug (recommended, like market_heatmap) or a raw numeric code: nifty-50 (13), nifty-500 (19), nifty-bank (25), nifty-midcap-50 (51), nifty-it (27), nifty-next-50 (53).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearsNoYears of history (default 5, max 20)
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. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, covering the safety profile. The description adds useful behavioral context: default weekly data frequency, default 5-year period, and the flexible index_code format. No contradiction with annotations, but it doesn't describe response format or pagination, which are minor gaps given the annotation coverage.

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 compact and well-structured. The first sentence front-loads the purpose and defaults, and the second paragraph efficiently explains the parameter format without repetition. No wasted words, and every sentence serves a purpose.

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 tool with two optional parameters, the description covers the essential information: what it returns, defaults, and parameter format. It lacks explicit mention of the response structure (e.g., time-series format), but given the tool's simplicity and absence of an output schema, this is not a critical omission. The description is adequate for an agent to call it correctly.

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 description coverage is 100%, providing a baseline of 3. The description adds value by explicitly mapping each slug to its numeric code (e.g., nifty-50 (13)) and clarifying that index_code accepts either form. This goes beyond the schema's description, which lists only slugs, so the description meaningfully enhances parameter understanding.

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 clearly states the tool retrieves index valuation metrics (PE, PB, Dividend Yield) over time, with specific defaults. It is specific about the resource and purpose, but it does not explicitly differentiate from sibling tools like get_index_history or market_heatmap, so it falls short of a 5.

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 includes a use case ('assessing whether the market is overvalued or undervalued relative to historical averages') but provides no explicit guidance on when to use this tool versus alternatives, nor any exclusions. The usage is implied rather than explicitly contrasted with siblings.

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