Skip to main content
Glama

Server Details

Deterministic liquidity and leverage ratio tools for AI agents — current, quick and cash ratios, defensive interval, debt-to-equity, debt-to-assets, equity multiplier and interest coverage via Model Context Protocol. Useful for corporate finance, credit analysis, financial analysis, financial formulas and financial modeling.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2024-11-05
URL
ChatGPT
–
Claude
–

TDQS

A4.7/5.0

Scored across 8 tools

Disambiguation5/5

Each tool calculates a distinct, well-defined financial ratio with a unique formula and clear guidance on when to use it. Liquidity measures (current, quick, cash, defensive interval) are differentiated by strictness and units, while leverage measures (debt-to-assets, debt-to-equity, equity multiplier, interest coverage) target different aspects of capital structure and debt service.

Naming Consistency5/5

All eight tools follow the exact same verb_noun pattern: calculate_<ratio_name>. This makes the set highly predictable and easy for an agent to navigate.

Tool Count5/5

Eight tools is a well-scoped count for a specialized liquidity and leverage ratio server. Each tool covers a distinct ratio without redundant entries or unnecessary bloat.

Completeness5/5

The tool surface covers the major liquidity ratios (current, quick, cash, defensive interval) and the key leverage ratios (debt-to-assets, debt-to-equity, equity multiplier, interest coverage). No obvious missing ratio is needed for the server's stated purpose.

Available Tools

8 tools
calculate_cash_ratioA
Read-onlyIdempotent
Inspect

Calculate the cash ratio: cash and marketable securities divided by current liabilities — the most conservative liquidity measure. Formula: Cash Ratio = (Cash + Marketable Securities) / Current Liabilities. WHEN TO USE: Use for the strictest view of liquidity, or when a company is in distress and only cash-like assets can be relied on. WHEN NOT TO USE: Do NOT use in isolation for healthy operating businesses — it ignores receivables and inventory that normally convert to cash. BEHAVIOUR: pure deterministic calculation — no side effects, no network or storage access; idempotent and non-destructive; identical inputs always produce identical outputs. Division by zero or non-finite inputs returns an explicit error instead of a number. RETURNS: JSON object { cash_ratio: number (e.g. 0.5 = 0.5x), inputs }. PARAMETERS: cash_and_equivalents (required): Cash and cash equivalents, e.g. 80000. Must be >= 0. marketable_securities (required): Short-term marketable securities, e.g. 30000. Must be >= 0. current_liabilities (required): Total current liabilities, e.g. 220000. Must be > 0.

Inputs: current_liabilities (required), cash_and_equivalents (required), marketable_securities (required).

calculate_current_ratioA
Read-onlyIdempotent
Inspect

Calculate the current ratio, a liquidity measure of whether a company can cover its short-term obligations (due within a year) with its short-term assets. Formula: Current Ratio = Current Assets / Current Liabilities. WHEN TO USE: Use to assess short-term solvency, compare liquidity across peers of different sizes, or screen for distress risk. WHEN NOT TO USE: Do NOT use as the sole liquidity measure — it ignores asset quality and timing of cash flows (use calculate_quick_ratio or calculate_cash_ratio for stricter views). BEHAVIOUR: pure deterministic calculation — no side effects, no network or storage access; idempotent and non-destructive; identical inputs always produce identical outputs. Division by zero or non-finite inputs returns an explicit error instead of a number. RETURNS: JSON object { current_ratio: number (e.g. 1.8 = 1.8x), inputs }. PARAMETERS: current_assets (required): Total current assets, e.g. 500000. Must be >= 0. current_liabilities (required): Total current liabilities, e.g. 280000. Must be > 0.

Inputs: current_assets (required), current_liabilities (required).

calculate_debt_to_assetsA
Read-onlyIdempotent
Inspect

Calculate the debt-to-assets ratio: total debt divided by total assets — the proportion of a company’s assets financed by debt. Formula: Debt-to-Assets = Total Debt / Total Assets. WHEN TO USE: Use to measure overall leverage and asset encumbrance; values above 0.5 indicate debt funds more than half of assets. WHEN NOT TO USE: Do NOT use when you need the debt-to-equity view of capital structure (use calculate_debt_to_equity). BEHAVIOUR: pure deterministic calculation — no side effects, no network or storage access; idempotent and non-destructive; identical inputs always produce identical outputs. Division by zero or non-finite inputs returns an explicit error instead of a number. RETURNS: JSON object { debt_to_assets: decimal (e.g. 0.42 = 42%), debt_to_assets_pct: number (e.g. 42.0), inputs }. PARAMETERS: total_debt (required): Total debt, e.g. 300000. Must be >= 0. total_assets (required): Total assets, e.g. 720000. Must be > 0.

Inputs: total_debt (required), total_assets (required).

calculate_debt_to_equityA
Read-onlyIdempotent
Inspect

Calculate the debt-to-equity ratio: total debt divided by shareholders’ equity — how much a company relies on debt versus equity financing. Formula: Debt-to-Equity = Total Debt / Shareholders’ Equity. WHEN TO USE: Use to evaluate capital structure and financial risk, compare leverage across peers, or assess covenant headroom. WHEN NOT TO USE: Do NOT compare D/E across industries without context — capital intensity varies widely; a negative ratio (negative equity) indicates distress, not low leverage. BEHAVIOUR: pure deterministic calculation — no side effects, no network or storage access; idempotent and non-destructive; identical inputs always produce identical outputs. Division by zero or non-finite inputs returns an explicit error instead of a number. RETURNS: JSON object { debt_to_equity: number (e.g. 1.5 = 1.5x), inputs }. PARAMETERS: total_debt (required): Total debt (short-term + long-term interest-bearing), e.g. 300000. Must be >= 0. shareholders_equity (required): Total shareholders’ equity, e.g. 200000. May be negative in distress (result will be negative).

Inputs: total_debt (required), shareholders_equity (required).

calculate_defensive_intervalA
Read-onlyIdempotent
Inspect

Calculate the defensive interval ratio: how many days a company can fund its operating expenses from liquid assets alone, without new revenue. Formula: Defensive Interval = (Cash + Marketable Securities + Receivables) / Daily Operating Expenses. WHEN TO USE: Use to gauge cash runway from liquid assets — useful for startups, distressed companies, or businesses with lumpy revenue. WHEN NOT TO USE: Do NOT use for companies with stable, predictable revenue where ongoing collections are dependable. BEHAVIOUR: pure deterministic calculation — no side effects, no network or storage access; idempotent and non-destructive; identical inputs always produce identical outputs. Division by zero or non-finite inputs returns an explicit error instead of a number. RETURNS: JSON object { defensive_interval_days: number (e.g. 45.3 days), inputs }. PARAMETERS: cash_and_equivalents (required): Cash and cash equivalents, e.g. 80000. Must be >= 0. marketable_securities (required): Short-term marketable securities, e.g. 30000. Must be >= 0. receivables (required): Accounts receivable, e.g. 60000. Must be >= 0. daily_operating_expenses (required): Daily operating expenses (annual opex / 365), e.g. 3750. Must be > 0.

Inputs: receivables (required), cash_and_equivalents (required), marketable_securities (required), daily_operating_expenses (required).

calculate_equity_multiplierA
Read-onlyIdempotent
Inspect

Calculate the equity multiplier: total assets divided by shareholders’ equity — a leverage measure of how many units of assets each unit of equity supports. Formula: Equity Multiplier = Total Assets / Shareholders’ Equity. WHEN TO USE: Use in DuPont analysis to quantify the financial-leverage component of return on equity, or on its own to gauge how many units of assets each unit of equity supports. WHEN NOT TO USE: Do NOT use alone — a high multiplier can mean efficient leverage or distress depending on profitability (interpret it alongside margin and turnover analysis). BEHAVIOUR: pure deterministic calculation — no side effects, no network or storage access; idempotent and non-destructive; identical inputs always produce identical outputs. Division by zero or non-finite inputs returns an explicit error instead of a number. RETURNS: JSON object { equity_multiplier: number (e.g. 3.6 = 3.6x), inputs }. PARAMETERS: total_assets (required): Total assets, e.g. 720000. Must be > 0. shareholders_equity (required): Total shareholders’ equity, e.g. 200000. May be negative in distress.

Inputs: total_assets (required), shareholders_equity (required).

calculate_interest_coverageA
Read-onlyIdempotent
Inspect

Calculate the interest coverage ratio: earnings before interest and taxes divided by interest expense — how many times a company can cover its interest obligations from operating earnings. Formula: Interest Coverage = EBIT / Interest Expense. WHEN TO USE: Use to assess credit risk and debt-service capacity; below 1.5 is typically a distress signal, above 3 is comfortable for most industries. WHEN NOT TO USE: Do NOT use for companies with significant non-cash EBIT distortions (large depreciation) — consider EBITDA-based coverage for those. BEHAVIOUR: pure deterministic calculation — no side effects, no network or storage access; idempotent and non-destructive; identical inputs always produce identical outputs. Division by zero or non-finite inputs returns an explicit error instead of a number. RETURNS: JSON object { interest_coverage: number (e.g. 4.2 = 4.2x), inputs }. PARAMETERS: ebit (required): Earnings before interest and taxes (operating income), e.g. 420000. May be negative. interest_expense (required): Annual interest expense, e.g. 100000. Must be > 0.

Inputs: ebit (required), interest_expense (required).

calculate_quick_ratioA
Read-onlyIdempotent
Inspect

Calculate the quick (acid-test) ratio: liquid assets excluding inventory divided by current liabilities — a stricter short-term solvency test than the current ratio. Formula: Quick Ratio = (Current Assets - Inventory) / Current Liabilities. WHEN TO USE: Use when inventory is slow-moving or hard to liquidate and you want a conservative view of short-term payment ability. WHEN NOT TO USE: Do NOT use for businesses where inventory converts to cash quickly (e.g. retailers with fast sell-through) — it understates true liquidity. BEHAVIOUR: pure deterministic calculation — no side effects, no network or storage access; idempotent and non-destructive; identical inputs always produce identical outputs. Division by zero or non-finite inputs returns an explicit error instead of a number. RETURNS: JSON object { quick_ratio: number (e.g. 1.2 = 1.2x), inputs }. PARAMETERS: current_assets (required): Total current assets, e.g. 500000. Must be >= 0. inventory (required): Inventory value to exclude, e.g. 120000. Must be >= 0 and <= current_assets. current_liabilities (required): Total current liabilities, e.g. 280000. Must be > 0.

Inputs: inventory (required), current_assets (required), current_liabilities (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to perform market analysis through typed access to deterministic market data, technical indicators, backtesting, and position sizing via the Model Context Protocol.
      5
      2
      MIT
    • F
      license
      A
      quality
      C
      maintenance
      Provides AI agents with deterministic, offline finance tools for commodity margin analysis, loan covenant compliance, invoice auditing, AP exception classification, and five-day close readiness.
      14
      3 npm
      -
    • A
      license
      A
      quality
      D
      maintenance
      Agent-ready financial intelligence tools for AI agents. Two curated tools — get_stock_snapshot and get_company_metrics — that combine multiple data sources, derive signals (UNDERVALUED, STRONG, ACCELERATING), and pre-compute the math. One call, one agent-friendly response.
      3
      126 npm
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Financial intelligence for AI agents. 31 tools across 8 data sources — regime, derivatives, stablecoin flows, momentum, volatility, macro, DeFi, weather patterns, political cycles, seasonality. The context layer between your agent and a bad trade.
      31
      37 npm
      9
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources