Skip to main content
Glama

Get Financials

get_financials
Read-only

Bulk financial data for multiple public biopharma companies. Pass company_ids ("co_...") from match_entity, search_entities, or research_entity results. Do not construct or guess IDs. Each company costs 1 credit.

For single-company financial snapshots, research_entity with aspects=["financials"] is faster and simpler (1 credit).

metrics is a projection: the response carries only the fields you request, plus fiscal_date/period/currency. Omit it for everything. Each metric maps to specific fields:

  • revenue -> revenue_usd

  • ebitda -> ebitda_usd

  • profitability -> cost of revenue, gross profit, operating income, net income, EPS

  • opex -> R&D and SG&A expense

  • balance_sheet -> assets, liabilities, equity, debt, cash

  • cash_flow -> operating/investing/financing cash flow (balance sheets are a separate metric)

  • market_cap, analyst_ratings

Statement families are filed on different schedules, so latest periods can differ across income statements, balance sheets, and cash flows. Each company carries a statement_freshness block reporting the latest period per family.

Use this tool when comparing financials across multiple companies, analyzing time-series trends, or building financial models. The default compact response returns latest market cap instead of long daily market-cap history; set detail_level='full' when you need market_cap_history. Full history is daily only for one company over one year; longer or multi-company calls are downsampled.

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": {
      "company_ids": "<company_ids>"
    },
    "name": "get_financials"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNoNumber of years of history (default 5).
metricsNoWhich measures to return. Acts as a projection: only the fields these metrics map to are included, plus fiscal_date/period/currency. Omit for everything.
company_idsYesList of company IDs ("co_...") from match_entity, search_entities, or research_entity.
period_typeNoPeriod type for financial data. Default: 'annual'.annual
detail_levelNoResponse detail. Default 'compact' returns latest_market_cap only. 'full' includes market_cap_history when market_cap is requested. Daily history is preserved only for one company over one year; longer or multi-company calls are downsampled with metadata.compact

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is fully covered and the description need not restate it. What it adds is operational context: per-company credit cost, the ban on guessing IDs, projection semantics, statement_freshness per family, and downsampling of market-cap history. However, it doesn't describe the shape of the top-level response envelope or whether there is a per-call company limit. With annotations carrying safety, this is adequate but short of rich behavioral disclosure.

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?

Front-loaded: identity, ID provenance, cost, and the cheaper alternative all come before the detail. The metric mapping block is dense but each line maps a distinct enum value to real fields, so it earns its space. Minor redundancy where detail_level/market_cap behavior is repeated from the schema.

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-format explanation is unnecessary. Given 5 parameters, two enums, and the projection model, the description covers cost, ID sourcing, alternative routing, metric semantics, and freshness/downsampling caveats. Nothing an agent needs to invoke 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 coverage is 100%, so the baseline is 3. The description goes beyond it by spelling out the metric-to-field mapping (revenue→revenue_usd, profitability→cost of revenue/gross profit/operating income/net income/EPS, etc.) and the downsampling nuance for detail_level='full', meaning it adds substantial semantic value for the two enum-shaped parameters.

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?

Opens with a specific verb+resource+scope: "Bulk financial data for multiple public biopharma companies." It also distinguishes itself from the single-company path (research_entity with aspects=["financials"]), so an agent can route without inspecting either schema.

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?

Names the alternative explicitly and the condition that selects it (single-company snapshots are faster/simpler via research_entity, 1 credit). It also states when this tool is the right one: cross-company comparison, time-series trends, financial models.

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