Skip to main content
Glama

EdgarStack

Compute market multiples from a price snapshot and reported filings

get_market_multiples
Read-onlyIdempotent

Compute market multiples (P/E basic and diluted, P/S, P/B, EV/Revenue, EV/EBITDA), plus market cap and enterprise value, from a delayed or end-of-day price snapshot (market prices are not included in SEC filings) and reported SEC filings. Flow metrics use TTM when available, otherwise the latest FY; the result states fundamentalsBasis.

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>"
    },
    "name": "get_market_multiples"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoannual
tickerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds real behavioral context beyond that: the price input is delayed or end-of-day, flow metrics default to TTM then the latest FY, and the response self-documents its basis via fundamentalsBasis. It does not mention failure modes when a price snapshot is unavailable.

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?

Two sentences, front-loaded with the output metric list so an agent learns what it gets immediately, followed by the input and basis caveats. The long parenthetical about SEC filings is slightly awkward but earns its place by explaining why a price input exists.

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?

There is no output schema, and the description does a fair job of covering outputs (metric list, market cap, EV, fundamentalsBasis). However, for a compute tool with two undocumented parameters and no output schema, it leaves gaps around ticker expectations, period behavior, and what happens when no price snapshot is supplied.

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 0%, so the description must carry the parameter burden. It partially does for period by explaining the TTM-versus-FY basis selection, but it never defines what 'annual' vs 'quarterly' selects, the default, or what ticker format is expected. Ticker, the sole required parameter, gets no explanation at all.

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?

States a specific verb and resource — 'Compute market multiples' — and enumerates the exact metrics (P/E basic and diluted, P/S, P/B, EV/Revenue, EV/EBITDA) plus market cap and enterprise value, along with the two required inputs. It is clear what the tool produces, but it never distinguishes itself from plausible siblings such as compute_ratios or peer_compare.

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?

Usage is only implied: the parenthetical that 'market prices are not included in SEC filings' signals that a price snapshot is required alongside filings, and the TTM-vs-FY fallback hints at the reporting basis. There is no explicit when-to-use / when-not-to-use guidance and no pointer to the alternative tool an agent should pick for raw ratio computation or peer comparison.

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