Skip to main content
Glama

Opitios 美股智投

US stock valuation

get_us_valuation
Read-onlyIdempotent

Valuation of an S&P 500 stock: current P/E percentile since 2014 and over 3 years, P/E 1/3/5 years ago, trailing growth, dividend yield, and a side-by-side comparison with peers.

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_us_valuation"
  }
}

Input Schema

NameRequiredDescriptionDefault
peersNoOptional: 2-4 comparable S&P 500 tickers, comma separated, e.g. PEP,KDP
symbolYesUS ticker, e.g. NVDA

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine context beyond that by disclosing the content and lookback windows of the response (percentile since 2014, P/E 1/3/5 years ago, peer comparison), which is important because there is no output schema. It does not state behavior for invalid or non-S&P 500 symbols.

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?

A single front-loaded sentence with no filler, and the metric list is dense but each item is informative. The list form is slightly harder to scan than a structured breakdown, but nothing is redundant.

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 two-parameter read-only tool with no output schema, the description is largely complete: it covers scope, metrics, lookback windows, and the effect of the optional peers parameter. The remaining gap is edge-case behavior, such as what happens for a ticker outside the S&P 500 or an invalid peer list.

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 schema already documents both parameters with examples and the 2-4 peer constraint. The description adds only modest meaning by indicating that peers produce a side-by-side comparison; it gives no extra detail on symbol validity or peer formatting beyond the schema.

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 names the resource and scope precisely ('Valuation of an S&P 500 stock') and enumerates the exact metrics returned: P/E percentile since 2014 and over 3 years, historical P/E, trailing growth, dividend yield, and peer comparison. This clearly separates it from the A-share valuation sibling by market. It stops short of naming an alternative tool explicitly, so it is a strong 4 rather than 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?

There is no explicit when-to-use statement, no exclusions, and no named alternative among the siblings (e.g., get_us_stock for price data). Usage is only implied by the metric list and by the phrase 'side-by-side comparison with peers', which hints at when the optional peers parameter is worth supplying.

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.

Resources