Skip to main content
Glama

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

Early loan repayment

loan_early_repayment
Read-onlyIdempotent

Effect of a partial prepayment after some payments: shorter term (reduce_term) or lower payment (reduce_payment), interest saved, penalty and net saving. apply_french_penalty_cap applies the legal cap on French property-loan prepayment indemnities.

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": {
      "principal": "<principal>",
      "annual_rate_pct": "<annual_rate_pct>",
      "term_months": "<term_months>",
      "payments_made": "<payments_made>",
      "prepayment": "<prepayment>"
    },
    "name": "loan_early_repayment"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoreduce_term
principalYes
prepaymentYes
term_monthsYes
payments_madeYes
annual_rate_pctYes
apply_french_penalty_capNo
penalty_pct_of_prepaymentNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, idempotent, closed-world computation, so the bar is lower. The description still adds real context: it identifies the two strategic outcomes of the mode switch and explains that apply_french_penalty_cap enforces a legal cap on French property-loan indemnities, which is behavior an agent could not infer from the schema.

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?

Two dense sentences with no filler, and the primary outcome framing comes first with the legal-cap caveat last. The opening noun phrase ('Effect of a partial prepayment...') is slightly oblique versus a verb-led statement, but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so the description does not need to enumerate return values, though it helpfully previews the key ones. For an 8-parameter financial calculator with zero schema documentation, it should also state units, currency assumptions, or validation constraints (e.g., payments_made must be below term_months), which it does not.

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%, so the description has to carry the load, and it partially does: it gives the meaning of the mode values (shorten term vs lower payment) and of apply_french_penalty_cap. However, penalty_pct_of_prepayment, annual_rate_pct units, principal currency, and the relationship between payments_made and term_months are left entirely undocumented.

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 names a specific computation: the effect of a partial prepayment after some payments, with the two outcome modes (reduce_term vs reduce_payment) and the figures returned (interest saved, penalty, net saving). It is not tautological and is distinguishable from siblings such as loan_amortization_schedule or loan_payment, though it never explicitly contrasts itself with them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'after some payments' implies the precondition that payments_made must be non-zero, which is a weak usage signal. There is no statement of when to prefer this over loan_amortization_schedule or loan_compare_offers, and no exclusion such as what to do for a full prepayment rather than a partial one.

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.