Skip to main content
Glama

index_pe_history

Get historical price-to-earnings, price-to-book, and dividend yield values for an index. Specify index name and date range in YYYY-MM-DD format.

Instructions

Historical P/E, P/B, and dividend yield for an index. Dates in YYYY-MM-DD.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
to_dateYes
from_dateYes
Behavior2/5

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

No annotations are provided, so the description must convey behavior. It only adds a date format note (YYYY-MM-DD). It does not disclose whether data is daily, how far back history goes, whether index names require a specific format, or what the return structure looks like. This is minimal behavioral transparency.

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 a single concise sentence with a date format note, front-loading the key action and resource. Every word earns its place; no redundancy or fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple historical data tool, the description covers core purpose and date format, but lacks information about accepted name values, data frequency, and response structure. Without annotations or output schema, it leaves gaps, though the tool's simplicity mitigates this somewhat.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema lists three parameters (name, from_date, to_date) with no descriptions. The description clarifies date format but provides no guidance on what 'name' should contain (e.g., index symbol, full name) or whether dates are inclusive. With 0% schema coverage, this insufficiently compensates.

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 clearly identifies the tool's function: retrieving historical valuation metrics (P/E, P/B, dividend yield) for an index. This distinguishes it from siblings like index_history, which likely provides price history. The specific metrics make the purpose unambiguous.

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 implies the tool should be used when historical valuation ratios for an index are needed, but it does not explicitly state when to prefer this over index_history or stock_history, nor does it mention any exclusions or prerequisites. 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/jugaad-py/nse-mcp'

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