Skip to main content
Glama
Prem07a
by Prem07a

peer_valuation

Compare valuation and quality multiples for an NSE/BSE-listed Indian stock against explicit peer tickers, including a 0-100 attractiveness score per row to rank relative value.

Instructions

Compare valuation and quality multiples for an NSE/BSE-listed Indian equity against explicit peer tickers (Yahoo has no peer-discovery endpoint for Indian equities, so peers must be supplied). Includes a transparent 0-100 "attractiveness score" per row, min-max normalized within this peer set only -- ROCE, revenue CAGR, EPS CAGR, and FCF yield count positively, debt/equity negatively, equal-weighted. Not an absolute scale -- rerun if the peer set changes. A peer that can't be resolved gets its error field set rather than failing the whole call.

:param symbol: the anchor ticker symbol
:param peer_symbols: peer ticker symbols to compare against (max 5; extras dropped)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes
peer_symbolsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYes
Install Server

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so thoroughly. It explains the 0-100 attractiveness score is min-max normalized within the supplied peer set only, lists the exact factors and weightings, warns the score is not absolute, and states that unresolved peers get an error field instead of failing the call.

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 dense but every sentence earns its place: purpose, usage constraint, scoring methodology, error behavior, and parameter details are all included. It is well-structured and front-loaded with the core purpose before diving into scoring details.

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?

The tool has only two simple parameters and an output schema, so the description does not need to explain return values. It covers the essential behavioral context: peer-set-relative scoring, input limits, and error handling, making it complete enough for an agent to select and invoke 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 0%, so the description must compensate. It adds meaning to both parameters by labeling symbol as the anchor ticker and peer_symbols as peer tickers with a max of 5 and drop behavior. It could have added more detail about ticker formats but is otherwise sufficient.

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 states the tool compares valuation and quality multiples for Indian equities against explicit peer tickers, with a concrete resource and action. It also distinguishes itself from peer-discovery tools by noting Yahoo has no peer-discovery endpoint for Indian equities.

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?

It gives clear context that peers must be supplied and caps peer_symbols at 5, with extras dropped. It does not explicitly compare against sibling tools like compare_companies or historical_valuation, but the Indian-equity peer-comparison use case is clearly implied.

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

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/Prem07a/FinMCP'

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