Skip to main content
Glama

Server Details

Deterministic operational-efficiency ratio tools for AI agents — asset, fixed-asset, inventory, receivables and payables turnover, days outstanding measures and cash conversion cycle via Model Context Protocol. Useful for corporate finance, financial analysis, working-capital 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.5/5.0

Scored across 11 tools

Disambiguation5/5

Each tool computes a distinct, precisely defined financial ratio: asset turnover vs. fixed asset turnover vs. working capital turnover differ by denominator, and turnover vs. days versions are separate metrics. Descriptions explicitly state WHEN TO USE and WHEN NOT TO USE, and cross-reference related tools (e.g., operating cycle vs. cash conversion cycle), leaving no ambiguity.

Naming Consistency5/5

All 11 tools follow the exact same snake_case pattern: calculate_<metric_name>. The verb 'calculate' is uniform, and the noun portion clearly names the metric. No mixing of conventions.

Tool Count5/5

11 tools is well within the ideal 3-15 range. Each tool corresponds to a distinct, standard financial efficiency ratio, with no filler or redundant tool. The set is tightly scoped to the domain.

Completeness5/5

The tools cover the full set of core activity/efficiency ratios: total asset turnover, fixed asset turnover, working capital turnover, inventory turnover, receivables turnover, payables turnover, their days-based counterparts (DIO, DSO, DPO), plus composite cycles (operating cycle, cash conversion cycle). No obvious gap remains for computing working-capital and asset efficiency from raw financial inputs.

Available Tools

11 tools
calculate_asset_turnoverA
Read-onlyIdempotent
Inspect

Calculate asset turnover: net sales divided by average total assets — how efficiently a company generates revenue from its asset base. Formula: Asset Turnover = Net Sales / Average Total Assets. WHEN TO USE: Use to compare revenue productivity across companies or years; a falling ratio suggests assets are not generating sales efficiently. WHEN NOT TO USE: Do NOT compare asset turnover across industries — capital intensity differs fundamentally (software vs manufacturing). 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 { asset_turnover: number (e.g. 0.85 = 0.85x per year), inputs }. PARAMETERS: net_sales (required): Net sales / revenue for the period, e.g. 900000. Must be >= 0. begin_total_assets (required): Total assets at the START of the period, e.g. 1000000. Must be >= 0. end_total_assets (required): Total assets at the END of the period, e.g. 1100000. Must be >= 0.

Inputs: net_sales (required), end_total_assets (required), begin_total_assets (required).

calculate_cash_conversion_cycleA
Read-onlyIdempotent
Inspect

Calculate the cash conversion cycle (CCC): DSO + DIO - DPO — the net number of days cash is tied up between paying suppliers and collecting from customers. Formula: CCC = Days Sales Outstanding + Days Inventory Outstanding - Days Payables Outstanding. WHEN TO USE: Use as the definitive working-capital efficiency measure: a shorter (or negative) CCC means less capital trapped in operations. WHEN NOT TO USE: Do NOT use unless all three components are computed on a consistent 365-day basis and comparable periods. 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_conversion_cycle_days: number (e.g. 57.7 days; negative = operating on supplier cash), inputs }. PARAMETERS: dso (required): Days sales outstanding, e.g. 45.6. dio (required): Days inventory outstanding, e.g. 60.8. dpo (required): Days payables outstanding, e.g. 48.7.

Inputs: dio (required), dpo (required), dso (required).

calculate_days_inventory_outstandingA
Read-onlyIdempotent
Inspect

Calculate days inventory outstanding (DIO): the average number of days a company holds inventory before selling it. Formula: DIO = 365 / Inventory Turnover. WHEN TO USE: Use to assess inventory efficiency and capital tied up in stock; high DIO risks obsolescence and cash drag. WHEN NOT TO USE: Do NOT apply mechanically across industries — optimal DIO differs hugely between fresh grocery and heavy machinery. 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 { days_inventory_outstanding: number of days (e.g. 60.8), inputs }. PARAMETERS: cogs (required): Cost of goods sold for the period, e.g. 600000. Must be > 0. begin_inventory (required): Inventory at period start, e.g. 90000. Must be >= 0. end_inventory (required): Inventory at period end, e.g. 110000. Must be >= 0.

Inputs: cogs (required), end_inventory (required), begin_inventory (required).

calculate_days_payables_outstandingA
Read-onlyIdempotent
Inspect

Calculate days payables outstanding (DPO): the average number of days a company takes to pay its suppliers. Formula: DPO = 365 / Payables Turnover. WHEN TO USE: Use to measure how long a company holds onto cash before paying suppliers — a source of working-capital financing. WHEN NOT TO USE: Do NOT treat very high DPO as always positive — it can indicate cash stress or strained supplier relationships. 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 { days_payables_outstanding: number of days (e.g. 48.7), inputs }. PARAMETERS: cogs_or_purchases (required): Cost of goods sold or purchases for the period, e.g. 600000. Must be > 0. begin_payables (required): Accounts payable at period start, e.g. 70000. Must be >= 0. end_payables (required): Accounts payable at period end, e.g. 90000. Must be >= 0.

Inputs: end_payables (required), begin_payables (required), cogs_or_purchases (required).

calculate_days_sales_outstandingA
Read-onlyIdempotent
Inspect

Calculate days sales outstanding (DSO): the average number of days it takes a company to collect payment after a sale. Formula: DSO = 365 / Receivables Turnover. WHEN TO USE: Use to measure collection speed and working-capital drag; rising DSO ties up cash and may signal collection problems. WHEN NOT TO USE: Do NOT use when credit sales are unknown (mixed cash/credit revenue distorts the result). 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 { days_sales_outstanding: number of days (e.g. 45.6), inputs }. PARAMETERS: net_credit_sales (required): Net credit sales for the period, e.g. 800000. Must be > 0. begin_receivables (required): Accounts receivable at period start, e.g. 95000. Must be >= 0. end_receivables (required): Accounts receivable at period end, e.g. 105000. Must be >= 0.

Inputs: end_receivables (required), net_credit_sales (required), begin_receivables (required).

calculate_fixed_asset_turnoverA
Read-onlyIdempotent
Inspect

Calculate fixed asset turnover: net sales divided by average net fixed assets — how efficiently a company uses its plant, property and equipment to generate sales. Formula: Fixed Asset Turnover = Net Sales / Average Net Fixed Assets. WHEN TO USE: Use for capital-intensive businesses to gauge whether fixed assets are earning their keep (e.g. manufacturing, logistics). WHEN NOT TO USE: Do NOT use for asset-light businesses (software, services) where the ratio is misleadingly high and uninformative. 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 { fixed_asset_turnover: number (e.g. 2.1 = 2.1x per year), inputs }. PARAMETERS: net_sales (required): Net sales / revenue for the period, e.g. 900000. Must be >= 0. begin_net_fixed_assets (required): Net fixed assets (PP&E after depreciation) at period start, e.g. 400000. Must be >= 0. end_net_fixed_assets (required): Net fixed assets at period end, e.g. 450000. Must be >= 0.

Inputs: net_sales (required), end_net_fixed_assets (required), begin_net_fixed_assets (required).

calculate_inventory_turnoverA
Read-onlyIdempotent
Inspect

Calculate inventory turnover: cost of goods sold divided by average inventory — how many times inventory is sold and replaced in a period. Formula: Inventory Turnover = COGS / Average Inventory. WHEN TO USE: Use to assess inventory management and demand strength; rising turnover usually means better stock discipline or strong demand. WHEN NOT TO USE: Do NOT use COGS-based turnover for service businesses with negligible inventory, and always pair with days inventory outstanding for intuition. 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 { inventory_turnover: number (e.g. 6.0 = 6.0x per year), inputs }. PARAMETERS: cogs (required): Cost of goods sold for the period, e.g. 600000. Must be >= 0. begin_inventory (required): Inventory at period start, e.g. 90000. Must be >= 0. end_inventory (required): Inventory at period end, e.g. 110000. Must be >= 0.

Inputs: cogs (required), end_inventory (required), begin_inventory (required).

calculate_operating_cycleA
Read-onlyIdempotent
Inspect

Calculate the operating cycle: days inventory outstanding plus days sales outstanding — the total number of days from purchasing inventory to collecting cash from customers. Formula: Operating Cycle = Days Inventory Outstanding + Days Sales Outstanding. WHEN TO USE: Use to measure the full cash-to-cash duration of operations before supplier terms are considered; shorter cycles free up cash faster. WHEN NOT TO USE: Do NOT use unless DIO and DSO are computed on a consistent 365-day basis; for the net (supplier-financed) view use calculate_cash_conversion_cycle. 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 { operating_cycle: number (e.g. 106.4 days), inputs }. PARAMETERS: dio (required): Days inventory outstanding, e.g. 60.8. dso (required): Days sales outstanding, e.g. 45.6.

Inputs: dio (required), dso (required).

calculate_payables_turnoverA
Read-onlyIdempotent
Inspect

Calculate payables turnover: purchases (or COGS) divided by average accounts payable — how many times a company pays its suppliers in a period. Formula: Payables Turnover = COGS or Purchases / Average Accounts Payable. WHEN TO USE: Use to assess supplier payment speed and working-capital management; lower turnover means the company stretches supplier credit longer. WHEN NOT TO USE: Do NOT interpret low payables turnover as inefficiency without context — it can be a deliberate financing strategy. 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 { payables_turnover: number (e.g. 7.5 = 7.5x per year), inputs }. PARAMETERS: cogs_or_purchases (required): Cost of goods sold or total purchases for the period, e.g. 600000. Must be >= 0. begin_payables (required): Accounts payable at period start, e.g. 70000. Must be >= 0. end_payables (required): Accounts payable at period end, e.g. 90000. Must be >= 0.

Inputs: end_payables (required), begin_payables (required), cogs_or_purchases (required).

calculate_receivables_turnoverA
Read-onlyIdempotent
Inspect

Calculate receivables turnover: net credit sales divided by average accounts receivable — how efficiently a company collects money owed by customers. Formula: Receivables Turnover = Net Credit Sales / Average Accounts Receivable. WHEN TO USE: Use to assess collection efficiency and customer credit quality; a falling ratio signals slower collections or looser credit terms. WHEN NOT TO USE: Do NOT use total revenue if a large share of sales is cash (use credit sales only), and pair with days sales outstanding for intuition. 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 { receivables_turnover: number (e.g. 8.0 = 8.0x per year), inputs }. PARAMETERS: net_credit_sales (required): Net credit sales for the period, e.g. 800000. Must be >= 0. begin_receivables (required): Accounts receivable at period start, e.g. 95000. Must be >= 0. end_receivables (required): Accounts receivable at period end, e.g. 105000. Must be >= 0.

Inputs: end_receivables (required), net_credit_sales (required), begin_receivables (required).

calculate_working_capital_turnoverA
Read-onlyIdempotent
Inspect

Calculate working capital turnover: net sales divided by average working capital — how efficiently a company uses its working capital (current assets minus current liabilities) to generate revenue. Formula: Working Capital Turnover = Net Sales / Average Working Capital. WHEN TO USE: Use to assess how efficiently working capital is deployed; a higher turnover means each unit of working capital supports more sales (less capital trapped in operations). WHEN NOT TO USE: Do NOT use in isolation — a very high turnover can also signal under-investment or liquidity stress; compare against peers and the operating cycle. 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 { working_capital_turnover: number (e.g. 4.5 = 4.5x), inputs }. PARAMETERS: net_sales (required): Net sales (revenue) for the period, e.g. 4500000. Must be > 0. begin_working_capital (required): Working capital at period start (current assets - current liabilities), e.g. 900000. Must be > 0. end_working_capital (required): Working capital at period end (current assets - current liabilities), e.g. 1100000. Must be > 0.

Inputs: net_sales (required), end_working_capital (required), begin_working_capital (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
    • A
      license
      A
      quality
      B
      maintenance
      Deterministic marketing math for AI agents: 62 engines that compute LTV:CAC, CAC payback, pipeline coverage, A/B test significance, budget allocation, pricing and retention from your own numbers. Runs locally with Node 18+, makes no network calls and stores no data.
      5
      1
      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
      -
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources