Skip to main content
Glama

sec_compare

Read-only

Compare company financials side by side (SEC) — Side-by-side annual financials for 2 to 4 US-listed companies straight from their 10-K XBRL filings: revenue, net income, net margin, diluted EPS, operating cash flow, cash, equity, return on equity and year-over-year growth, plus which company leads each metric and a revenue ranking. Price: $0.012 USDC (Base, via x402).

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": {
      "symbols": "<symbols>"
    },
    "name": "sec_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolsYes2-4 comma-separated US tickers, e.g. AAPL,MSFT,GOOGL

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds substantial context beyond that: the data source (10-K XBRL filings), the exact metrics returned, the inclusion of leader-per-metric and revenue ranking, and critically the price of $0.012 USDC via x402 on Base. It does not mention rate limits or error behavior for invalid tickers, preventing a 5.

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 description is a single dense sentence followed by a pricing note, with the core purpose front-loaded. Every clause earns its place—metrics, source, derived outputs like rankings, and the price—though the long list of metrics makes it slightly less scannable than it could be.

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?

With no output schema, the description carries the burden of explaining return values, and it does so explicitly: revenue, net income, net margin, diluted EPS, operating cash flow, cash, equity, return on equity, year-over-year growth, leader-per-metric, and a revenue ranking. It also discloses the data source and cost, giving an agent everything needed to invoke the tool correctly and anticipate the response.

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 the single 'symbols' parameter as '2-4 comma-separated US tickers, e.g. AAPL,MSFT,GOOGL.' The description reinforces the '2 to 4 US-listed companies' constraint but adds no new syntax, format, or edge-case detail beyond what the schema provides. Baseline 3 is appropriate when the schema does the heavy lifting.

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 states a specific verb and resource—'Compare company financials side by side'—and specifies the scope as '2 to 4 US-listed companies' drawing from '10-K XBRL filings.' It also enumerates the exact metrics covered, making the tool's function unambiguous. However, it does not explicitly differentiate itself from likely siblings such as sec_financials or finance_peer_compare, leaving the agent to infer the boundary.

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?

The '2 to 4 US-listed companies' constraint implies when the tool is appropriate—multi-company comparison—but the description offers no explicit alternatives or exclusions. There is no guidance on when to prefer sec_financials (single company) or finance_peer_compare, so the usage context is only implied rather than stated.

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