Skip to main content
Glama
SEC Financial Analyst MCP

SEC Financial Analyst MCP

by Yigituysgl

Get Financial Ratios

get_financial_ratios

Compute a company's key financial ratios and cash metrics for a fiscal year from its 10-K, including debt to equity, current ratio, interest coverage, margins, ROE, free cash flow and net debt.

Instructions

Compute a company's key financial ratios and cash metrics for one fiscal year from its 10-K.

Returns debt to equity, current ratio, interest coverage, net profit margin, return on equity, free cash flow, free cash flow margin, net debt and net debt to free cash flow. Each metric has a unit, either "ratio" or "USD". Every metric includes its formula and the raw reported inputs, and the result names the source form and filing date, so cite them in your answer. A metric is null when SEC data lacks a required input: say it could not be computed and never estimate it. For growth over time, call get_metric_trend instead of calculating it yourself. Large share buybacks shrink equity and can inflate debt to equity and return on equity, so judge leverage with net debt and net debt to free cash flow instead. Uses the latest fiscal year unless period_end (YYYY-MM-DD) is given. Requires an exact ticker; call search_company first if you only have a company name.

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": {
      "ticker": "<ticker>"
    },
    "name": "get_financial_ratios"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYes
period_endNo

Output Schema

NameRequiredDescriptionDefault
ratiosYes
tickerYes
warningsYes
period_endYes
source_formYes
company_nameYes
source_filedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.8/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does so: it discloses what each metric carries (unit, formula, raw inputs, source form, filing date), defines null semantics when SEC data lacks an input, and forbids estimation. It also warns that share buybacks can inflate debt-to-equity and ROE, telling the agent to prefer net debt and net debt to FCF — behavior no schema or annotation could convey.

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 core purpose is front-loaded, followed by return contents, then caveats and prerequisites, which is a sensible order. Some of the return-value enumeration partially duplicates the output schema, and the buyback caveat is a longer aside, but every sentence carries actionable guidance rather than filler.

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?

For a two-parameter tool with an output schema, an unannotated mutation-free read, this is complete: it covers what is returned, how to cite it, how to handle nulls, which sibling to use for trends, and how to resolve a company name to a ticker. Nothing an agent needs in order to call it correctly is missing.

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 description coverage is 0%, so the description must compensate, and it does for both parameters: period_end is given a YYYY-MM-DD format plus the meaningful default (latest fiscal year), and ticker is constrained to an exact ticker with a fallback path. The added meaning goes beyond the bare schema, though ticker validation details and period_end matching semantics (e.g., must it match a fiscal year end exactly) remain implicit.

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?

The opening sentence names a specific verb (compute) and a precisely scoped resource (key financial ratios and cash metrics for one fiscal year from a 10-K). It then enumerates the actual metrics returned, so an agent knows exactly what it gets, and it is distinguishable from get_metric_trend, which handles growth over time.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit routing: use get_metric_trend for growth over time rather than calculating it, and call search_company first when only a company name is known. It also states the default behavior (latest fiscal year unless period_end is given) and an interpretation rule for buyback-distorted ratios, both of which steer correct use.

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