Skip to main content
Glama

peer_table

2 to 10 companies side by side from their SEC filings: revenue and its growth over the last four quarters, pretax margin, net income growth, diluted EPS growth and net debt (negative means net cash), with each column ranked. Pass a price and its date for any company to get its market cap and P/E. 1 credit per company with filed figures.

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": {
      "tickers": "<tickers>"
    },
    "name": "peer_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
pricesNoOptional prices you supply, keyed by ticker, each {'price': 182.5, 'date': '2026-10-24'}. A ticker without a dated price gets null valuation columns.
tickersYes2 to 10 tickers, like ['JPM', 'BAC', 'WFC']

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does reasonably well: it discloses the data source (SEC filings), the cost model ('1 credit per company with filed figures'), the degradation behavior for tickers lacking a dated price (null valuation columns), and a definitional quirk (net debt negative means net cash). It does not address latency, partial-failure behavior when a ticker has no filing, or what happens for the un-priced columns' ranking.

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?

Three sentences, front-loaded with the core capability and metric inventory, then the optional valuation path, then the credit cost. No filler, no restatement of the name, and every clause carries operational information.

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?

The tool is moderately complex (multi-ticker aggregation plus optional valuation input), and an output schema exists so return shape needn't be explained. The description covers scope, source, cost, and the null-valuation edge case. It stops just short of complete because it doesn't say whether metrics are quarterly-period or trailing, or how ranking is computed across columns.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning: the '2 to 10' cardinality is stated in prose even though the schema declares no minItems/maxItems, making the description the only source of that hard constraint. It also explains the payoff of the optional prices map (market cap and P/E) beyond the schema's shape-only text. It loses a point for not clarifying per-ticker price format tolerance beyond the schema's own example.

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 a specific resource (SEC filing fundamentals for 2-10 companies side by side) and enumerates the exact metrics produced: revenue growth over four quarters, pretax margin, net income growth, diluted EPS growth, net debt, plus optional valuation columns. That is far more concrete than a generic 'compare' verb. It stops short of 5 because it never names the obvious sibling alternatives (compare_stocks, analyze_stock, financials), so an agent must infer the boundary itself.

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 context is implied rather than stated: the '2 to 10 companies' scope and the optional price/date mechanism signal a peer-comparison task. There is no explicit when-to-use-this-instead guidance against compare_stocks or financials, and no stated prerequisites. An agent can infer the use case but gets no routing rule.

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