Skip to main content
Glama

Is This Stock Undervalued?

is_this_stock_undervalued
Read-onlyIdempotent

Whether a company's share price sits above or below what its owner earnings support, from its SEC filings: value per share on three anchors, the price's gap to each, a margin-of-safety ladder, and the growth the price requires. Same engine as owner_earnings_valuation. Returns refused, with the reason, when the business has no durable owner earnings to value. Example questions: "Is Coca-Cola undervalued at $70?"; "What's Deere's intrinsic value?"; "Is MSFT overvalued right now?"

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": {
      "ticker": "<ticker>",
      "price": "<price>"
    },
    "name": "is_this_stock_undervalued"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceYesShare price in dollars
tickerYesUS-listed ticker that files with the SEC, e.g. KO or BRK.B
hurdle_pctNoRequired return, % (default 10)
long_bond_pctNoLong-bond yield in percent (5.4 = 5.4%). Default: the latest 30-year Treasury par yield, fetched from treasury.gov

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world, so the description's added value is in disclosing that the tool refuses requests with a stated reason when a business lacks durable owner earnings — a meaningful failure mode an agent can plan around. It also discloses the data provenance (SEC filings). It stops short of describing latency, cost, or what a partial/successful payload looks like beyond the field list.

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?

The output inventory is front-loaded in one dense sentence, followed by the sibling relationship, the refusal condition, and usage examples — a sensible order. The example questions consume roughly a third of the text but earn it by pinning down the price-required usage pattern; the 'Same engine as' clause is the only phrase that could be trimmed or made more directive.

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?

With no output schema, the description carries the return-value burden and does so by listing the four result components, plus the refusal contract. For a four-parameter analytical tool that is close to sufficient; it leaves the agent unsure how this differs operationally from owner_earnings_valuation and says nothing about whether the price anchor must be current.

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 description coverage is 100%, so all four parameters (including the hurdle_pct default of 10 and the treasury.gov-derived long_bond_pct default) are already documented in the schema. The description's mentions of a 'margin-of-safety ladder' and 'the growth the price requires' gesture at how hurdle_pct feeds the output but add no explicit parameter-level meaning, so the baseline 3 applies.

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 names a specific analytical resource (share price versus owner-earnings-supported value) and enumerates exactly what comes back: value per share on three anchors, the price's gap to each, a margin-of-safety ladder, and required growth. It also positions itself against the sibling by stating it is the 'same engine as owner_earnings_valuation,' so an agent knows it is a valuation engine rather than a data-retrieval tool.

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?

The three example questions ('Is Coca-Cola undervalued at $70?', 'What's Deere's intrinsic value?', 'Is MSFT overvalued right now?') make the when-to-use case concrete, including the fact that a user must supply a price. What is missing is routing guidance: it says it shares an engine with owner_earnings_valuation but never states which to call when, so an agent facing both must guess.

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.