Skip to main content
Glama
sec-edgar-filings-10k-8k-mcp

sec-edgar-filings-10k-8k-mcp

Compare SEC XBRL financials across companies

sec_filing_compare
Read-onlyIdempotent

Compare 2–5 U.S. public companies side by side on their SEC EDGAR 10-K or 10-Q XBRL financials, including revenue, net income, margins, assets, cash, EPS, and metric leaders.

Instructions

Compare 2 to 5 U.S. public companies side by side on their latest SEC EDGAR 10-K or 10-Q XBRL financials: revenue, net income, operating income, total assets, cash, diluted EPS, net profit margin %, operating margin %, and metric leaders.

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": {
      "companies": "<companies>"
    },
    "name": "sec_filing_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
formNoFiling period to compare: "10-K" (annual) or "10-Q" (quarterly). Default "10-K".
companiesYes2 to 5 companies to compare (each identified by ticker or cik).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is fully covered. Beyond that, the description usefully discloses the data provenance ('latest SEC EDGAR 10-K or 10-Q XBRL financials') and the returned content set including 'metric leaders', which the annotations do not convey. It says nothing about rate limits, partial-data cases, or what happens when a company lacks a requested form type.

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 that leads with the verb, resource, and cardinality before the metric inventory. The long metric enumeration is dense but earns its place by telling the agent exactly what the comparison returns; no filler or hedging language.

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?

With no output schema, the description carries the return-value burden and does list the metrics plus 'metric leaders', which is adequate. It omits how results are shaped when a company lacks the requested filing or a given metric, which matters for a cross-company comparison tool with openWorldHint=true.

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 both the companies array (ticker/cik) and the form enum are already documented with examples and defaults. The description restates the 2-to-5 bound and the 10-K/10-Q choice but adds no syntax or format detail beyond the schema, 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?

States a specific verb (compare), a specific resource (latest SEC EDGAR 10-K/10-Q XBRL financials), and an explicit scope (2 to 5 U.S. public companies side by side). The enumerated metric list makes it unmistakable what is produced, and the multi-company scope implicitly separates it from the single-company sec_xbrl_financials sibling.

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 5 companies side by side' framing implies when this tool is appropriate rather than a single-company lookup, which is helpful context. However, it never names an alternative (e.g., sec_xbrl_financials for one company) or states exclusions, so the agent must infer the routing decision from the sibling name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.