Skip to main content
Glama

SBA Express Loans

Debt service coverage ratio

calculate_debt_service_coverage
Read-onlyIdempotent

Debt service coverage before and after a new loan, and the largest loan the cash flow carries at a target ratio. Cash flow is net income plus interest, taxes, depreciation and amortization, and adjustments. A calculation only: a lender sets its own minimum.

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": {
      "income": "<income>",
      "rate": "<rate>",
      "months": "<months>"
    },
    "name": "calculate_debt_service_coverage"
  }
}

Input Schema

NameRequiredDescriptionDefault
daNoYearly depreciation and amortization in dollars (optional)
loanNoNew loan amount in dollars (optional)
rateYesNew loan rate in percent
debtsNoYearly payments on existing debt in dollars (optional)
taxesNoYearly income taxes in dollars (optional)
adjustNoOther yearly adjustments in dollars, negative allowed (optional)
incomeYesYearly net income in dollars
monthsYesNew loan term in months, 1 to 360
targetNoTarget coverage ratio. Default 1.15
interestNoYearly interest expense in dollars (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish this as a safe, idempotent, closed-world read, so the description's job is to add context — and it does: it defines cash flow as net income plus interest, taxes, D&A and adjustments, and warns that the ratio is informational because a lender supplies its own minimum. It does not detail output shape beyond naming the three results, but that is the main remaining gap.

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?

Three sentences, front-loaded with the computed outputs, then the cash-flow formula, then the disclaimer. Little waste, though the phrase 'the largest loan the cash flow carries at a target ratio' is compressed enough to require a second read.

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?

For a ten-parameter calculation with no output schema, the description covers what is returned and how cash flow is assembled, which is the essential missing piece. It still leaves open how 'months' and 'loan' drive the after-loan figures, but the schema carries that detail adequately.

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 coverage is 100% and every parameter carries its own description, so the schema does the heavy lifting. The description adds real meaning by explaining that interest, taxes, D&A and adjustments are add-backs into cash flow, but it leaves 'debts', 'months' and 'target' entirely to the schema.

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 states concretely what is computed: coverage before and after a new loan, plus the maximum supportable loan at a target ratio. That is specific enough to separate it from payment-size siblings such as calculate_business_loan_payment, though it never names an alternative explicitly.

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 only implied by the output names ('coverage before and after a new loan') and the closing caveat that a lender sets its own minimum. There is no explicit when-to-use versus when-to-reach-for-a-sibling statement, and no stated prerequisites for the required inputs.

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