Skip to main content
Glama

CalcPronto: exact calculators (tax, payroll, loans, VAT, EU261)

Borrowing capacity

loan_borrowing_capacity
Read-onlyIdempotent

How much can I borrow? Maximum loan from net income, existing debts and a maximum debt-to-income ratio (35% by default, the French HCSF rule). insurance_rate_pct: annual borrower insurance rate on the capital.

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": {
      "net_monthly_income": "<net_monthly_income>",
      "existing_monthly_debts": "<existing_monthly_debts>",
      "annual_rate_pct": "<annual_rate_pct>",
      "term_years": "<term_years>"
    },
    "name": "loan_borrowing_capacity"
  }
}

Input Schema

NameRequiredDescriptionDefault
term_yearsYes
down_paymentNo
annual_rate_pctYes
insurance_rate_pctNo
max_debt_ratio_pctNo
net_monthly_incomeYes
existing_monthly_debtsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the remaining burden is small. The description does add real domain context beyond annotations: the 35% debt-to-income ceiling is the default and follows the French HCSF rule, which tells the agent how the result is bounded; it stops short of saying how down_payment or insurance shift that ceiling.

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?

Short and front-loaded with the core question before the formula and the two parameter notes; nearly every clause earns its place. The mid-sentence break before the insurance_rate_pct note reads slightly as an appended afterthought.

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?

Annotations are rich and an output schema exists, so return values need no explanation. What remains thin is coverage of the five unexplained numeric inputs in a 7-parameter, 4-required tool, though their names are largely self-describing, keeping the gap modest.

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 0% across 7 parameters, so the description must compensate and only partly does: it explains max_debt_ratio_pct (default 35%, HCSF rule) and insurance_rate_pct (annual borrower insurance rate on capital). net_monthly_income, existing_monthly_debts, annual_rate_pct, term_years and down_payment are left to be inferred from their names, with no units or treatment of down_payment spelled out.

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?

States a specific question and the exact computation: the maximum loan amount derived from net income, existing debts and a debt-to-income ceiling. This is clearly distinguishable from siblings such as loan_payment (monthly payment) or loan_amortization_schedule, since the output is a capacity figure, not a schedule.

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?

The framing 'How much can I borrow?' implies the use case (a borrower asking for a capacity estimate), but there is no explicit when-to-use/when-not guidance and no named alternative for related questions such as payment size or APR. Usage must be inferred.

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.