Skip to main content
Glama

SecFeed: SEC EDGAR filings

stock_screener

Screen all SEC filers on up to 5 XBRL conditions for one calendar period, e.g. conditions=Revenue>1e9,GrossProfit/Revenue>0.5 (A/B makes a ratio). Rows carry each value with its tag and source accession. No prices: no P/E or market cap. Concepts: GET /v1/screener/concepts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "stock_screener"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNomax 100
sortNoa concept or ratio; default the first condition
orderNoasc or desc
periodNoCY2025 (year) or CY2026Q2 (quarter); default latest year
conditionsNocomma separated, e.g. Revenue>1e9,NetIncomeLoss>0,Liabilities/Assets<0.5

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it discloses ratio support, result-row contents (value, tag, accession), and the no-price boundary. It omits read-only confirmation, permissions/auth, pagination/result-size behavior, and error semantics, so material gaps remain.

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?

Dense, front-loaded, and free of filler: purpose, example, row content, and limitation appear in three sentences. The concepts endpoint pointer is compact and useful.

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?

For a five-parameter screener with no annotations or output schema, it covers screening scope, condition syntax, row contents, and the market-data limitation. Pagination/result-count behavior and permissions are unstated, but the core invocation context is present.

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; the description adds real meaning by explaining that conditions are comma-separated, capped at five, support A/B ratios, and apply to a single calendar period. It does not explain sort/order behavior beyond schema, but the added condition syntax is the key parameter guidance.

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 ('Screen') and resource ('SEC filers on XBRL conditions') and scopes it to a calendar period and up to five conditions. The cross-filer scope and 'No prices' caveat distinguish it from company-specific financial statement tools.

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?

It gives a concrete example and a clear limitation (no P/E or market cap), which implies when to use it. It does not explicitly say when to prefer it over financial_ratios/key_metrics or name an alternative for price-based screening.

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