Skip to main content
Glama
Financial Modeling Prep MCP Server

Financial Modeling Prep MCP Server

getRatios

Read-onlyIdempotent

Analyze a company's financial health by retrieving profitability, liquidity, and efficiency ratios for a stock symbol, helping assess operational performance across annual or quarterly periods.

Instructions

Analyze a company's financial performance using the Financial Ratios API. This API provides detailed profitability, liquidity, and efficiency ratios, enabling users to assess a company's operational and financial health across various metrics.

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": {
      "symbol": "<symbol>"
    },
    "name": "getRatios"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoLimit on number of results (default: 100, max: 1000)
periodNoPeriod (Q1, Q2, Q3, Q4, FY, annual, or quarter)
symbolYesStock symbol

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.9.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds only a content summary and says nothing about whether results are latest-period or historical, how periods are ordered, whether pagination applies with the limit parameter, or what the response looks like — a real gap for a data-retrieval tool with no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is a reasonable statement of purpose; the second is largely marketing filler ('enabling users to assess a company's operational and financial health') that repeats the first's intent. Nothing is front-loaded about the required symbol argument or the period semantics where such detail would be most useful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and three parameters, the description should clarify what the returned ratio set looks like and how period/limit affect it. Instead it stays at the marketing level, leaving an agent unable to predict whether this returns one period or many, or how it differs from the TTM ratio sibling.

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%: symbol, period, and limit are all documented in the schema, including the enum values and the default/max for limit. The description adds no meaning beyond that, so the baseline of 3 applies.

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?

The description names a clear resource — financial ratios — and enumerates the categories covered (profitability, liquidity, efficiency), so an agent knows what data it returns. It does not, however, distinguish this from close siblings such as getFinancialRatiosTTM, getRatiosTTMBulk, or getKeyMetrics, which is the main ambiguity an agent faces here.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no mention of the obvious alternatives (getFinancialRatiosTTM for trailing-twelve-month ratios, getRatiosTTMBulk for multi-symbol fetches). Usage is only loosely implied by the phrase 'assess a company's operational and financial health'.

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

Deploy Server

Other Tools