Skip to main content
Glama

SecFeed: SEC EDGAR filings

financial_ratios

About 30 financial ratios (margins, ROA, ROE, liquidity, leverage, turnover, free cash flow, growth) computed from a company's XBRL filings, annual, quarterly or trailing twelve months. Each ratio shows its formula, inputs, tags and source accession; missing inputs give null with a reason. No price-based ratios.

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": "financial_ratios"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoperiods, max 20
periodNoannual, quarterly or ttm
tickerNoticker or CIK

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?

With no annotations, the description carries the behavioral burden and discloses key traits: ratios are computed from XBRL filings, return formula/inputs/tags/source accession, and missing inputs become null with a reason. It does not state read-only status, default period or limit behavior, or auth/rate-limit considerations.

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?

The description is three compact sentences that front-load what is computed, then scope periods and exclusions, then describe return detail. Every sentence carries useful information with no filler.

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?

Without an output schema or annotations, the description sufficiently explains ratio families, period scope, provenance fields, and null handling. It omits return structure, default parameter behavior, and explicit positioning against sibling tools, so it is strong but not fully complete.

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 the schema already documents ticker, period, and limit. The description clarifies period values including trailing twelve months but does not add meaning for ticker/CIK handling, the limit maximum, or default behavior beyond the schema.

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 computation, financial ratios from XBRL filings, and enumerates categories and periods. It also excludes price-based ratios, which adds useful scope, but it does not explicitly differentiate from siblings such as key_metrics or financial_statements.

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 description implies use for ratio analysis from filings across annual, quarterly, and TTM periods and rules out price-based ratios. However, it gives no explicit when-to-use or when-not-to-use guidance and does not name an alternative sibling tool for 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