Skip to main content
Glama

Fundamentals

get_fundamentals
Read-onlyIdempotent

Financial statements for one ticker from its XBRL filings, per quarter or year: revenue, gross profit, operating and net income, diluted EPS and shares, cash flow, capex, free cash flow, cash, debt, assets, liabilities, equity. Each number names its us-gaap tag and accession; cite them. Nulls say why. period is quarterly (default) or annual.

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_fundamentals"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
periodNoquarterly
tickerYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent/non-destructive, and the description adds genuinely new behavior: each number carries its us-gaap tag and accession (with an instruction to cite them) and nulls are explained rather than silently absent. That provenance and null-semantics disclosure is exactly the kind of context annotations cannot carry. It does not describe ordering of periods or the effect of limit.

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?

Front-loads what the tool returns, then tacks on the citation rule, null rule, and period default as short clauses. Dense but nothing is redundant; the enumerated fields are the payload, not padding.

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?

An output schema exists, so return shape needn't be re-explained, and the description still adds the important provenance and null-handling notes. The only meaningful omission for a 3-parameter tool is the unexplained limit parameter.

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 coverage is 0%, so the description must carry parameter meaning; it does explain period (quarterly default vs annual) and implies ticker. The 'limit' parameter (default 8) is left completely undefined — whether it caps periods or line items is unstated, leaving a real gap.

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?

Names a specific verb+resource ('Financial statements for one ticker from its XBRL filings') and enumerates the exact line items returned, so scope is unambiguous. It never says how it differs from the fact-level sibling get_fact, so an agent must infer that this is the aggregated-statements view.

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?

Gives a usable default ('period is quarterly (default) or annual') which is real invocation guidance. It says nothing about when to prefer this over get_fact, get_earnings_results, or get_data_coverage, and gives no exclusion or prerequisite conditions.

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