Skip to main content
Glama
HonglingLei

MCP-Server-Financial-Analyzer

by HonglingLei

calculate_financial_ratios

Compute valuation, profitability, and leverage ratios for a stock using its ticker symbol.

Instructions

Calculate key financial ratios for a stock.

Returns valuation ratios (P/E, P/B, P/S, EV/EBITDA), profitability (ROE, ROA, profit margin, EBITDA margin), and leverage (debt/equity, current ratio, quick ratio).

Args: ticker: Stock ticker symbol, e.g. 'AAPL'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool 'returns' specific ratios, but it does not mention data source, time period (e.g., trailing twelve months), any dependencies on financial statement data, or potential caveats. This is insufficient for a tool with no annotation support.

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?

The description is concise and front-loaded, stating the main purpose first, then enumerating output categories, and finally providing an Args section. Every sentence contributes value, with no fluff or repetition of schema details.

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?

The description lists all output ratios and explains the parameter, and an output schema exists to define the exact return structure. However, it lacks context on data source, time period, or how this integrates with sibling financial statement tools. For a single-parameter tool this is mostly complete but leaves some gaps.

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?

The input schema provides only a 'ticker' property with no description, so schema coverage is 0%. The description compensates by explaining 'ticker: Stock ticker symbol, e.g. 'AAPL'', which clarifies the format and provides an example. This adds meaningful guidance for the sole parameter.

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 clearly states the tool calculates key financial ratios for a stock, listing specific ratio categories (valuation, profitability, leverage). This distinguishes it from sibling tools like get_income_statement and get_balance_sheet, which return raw financial statements rather than derived metrics.

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?

Usage is implied but not explicitly stated. The description says it returns ratios, so an agent can infer when to use it (when ratios are needed) but there is no explicit guidance on when not to use it or alternatives. No mention of sibling tools or how this differs beyond the ratio list.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HonglingLei/MCP-Server-Financial-Analyzer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server