Skip to main content
Glama
SEC Financial Analyst MCP

SEC Financial Analyst MCP

by Yigituysgl

Get Metric Trend

get_metric_trend

Retrieves annual SEC-reported financial metric for a company over recent fiscal years with precomputed growth, enabling trend and change analysis without manual calculations.

Instructions

Return one financial metric for a company over recent fiscal years with growth.

Use this for questions about growth or change over time, and use its growth figures instead of calculating growth yourself. Growth is (value - previous) / previous, computed in code; it is null when no earlier year exists, the previous value is not positive, or a fiscal year is missing. Values are in USD from annual 10-K filings, each with its filing date. Supported metrics: Revenues, NetIncomeLoss, OperatingIncomeLoss, OperatingCashFlow, CapitalExpenditure, FreeCashFlow, LongTermDebt, CommercialPaper, CashAndEquivalents, ShortTermInvestments, StockholdersEquity, Liabilities, AssetsCurrent, LiabilitiesCurrent and InterestExpense. Returns at most 10 years. Requires an exact ticker.

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>",
      "metric": "<metric>"
    },
    "name": "get_metric_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNo
metricYes
tickerYes

Output Schema

NameRequiredDescriptionDefault
unitYes
metricYes
pointsYes
tickerYes
company_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it defines the growth formula, enumerates exactly when growth is null (no earlier year, non-positive previous value, missing fiscal year), states the currency and source (USD, annual 10-K filings with filing dates), and caps results at 10 years. These are precisely the behavioral details an agent would otherwise have to guess.

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?

Purpose and usage guidance are front-loaded, followed by computation semantics, then supported values. The metric enumeration is long but functional since the schema provides no enum; overall it is dense but every clause carries information.

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?

An output schema exists, so return shape needn't be explained, and the description still covers the non-obvious parts: null growth conditions, data source, currency, and result limits. Nothing an agent needs to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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: it enumerates all supported metric values (which the schema leaves as a bare string with no enum) and states that ticker must be exact. It also adds an upper bound of 10 years for the years parameter, meaning not present in the schema.

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 description opens with a specific verb and resource: return one financial metric for a company over recent fiscal years, including growth. The scope constraints (single metric, one company, at most 10 years, annual 10-K data) make it clearly distinguishable from siblings like get_financial_ratios without needing to inspect any schema.

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

Usage Guidelines4/5

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

It gives explicit routing guidance: use this for questions about growth or change over time, and use its computed growth figures rather than calculating growth yourself. There are no explicit when-not conditions or named alternative tools, which keeps it just short of a 5.

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