Skip to main content
Glama

lease-schedule

Settle or overpay a loan early

loan_repay_early

Work out what settling or overpaying costs as of a period: the outstanding balance, the penalty if one is given, the recalculated remaining schedule and the interest saved, stated gross and net of the penalty. Pro.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
loanYesThe loan id, e.g. LOAN-2026-0001, or its exact name
limitNoMaximum remaining rows to return, ceiling 600
extra_minorNoA partial overpayment in whole minor units. Omit to settle the loan in full
as_of_periodYesThe period the extra money is paid at the end of. Period 1 is the first payment
keep_paymentNoOn a partial overpayment, keep the same payment and shorten the term. Default false, which keeps the term and lowers the payment
penalty_minorNoEarly repayment charge in whole minor units. Default 0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

Annotations are all false, so they do not establish a safety or side-effect profile. The description says 'work out what... costs,' which suggests a calculation, while the title says 'Settle or overpay a loan early,' which suggests an actual mutation. It never states whether the loan is modified, whether this is a quote/simulation, or whether separate confirmation or permissions are needed. This central behavioral ambiguity is not acceptable for a financial tool.

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?

The description is a single dense sentence that front-loads the operation and enumerates the useful outputs. The trailing 'Pro.' fragment is unexplained and adds no actionable value, which keeps this from being a 5. Otherwise, the wording is efficient and focused.

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

Completeness2/5

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

There is no output schema, and the annotations are all false, so the description must carry the behavioral and return-value burden. It does enumerate several outputs and references the as-of-period concept, but it omits the critical question of whether the early repayment is actually executed or merely simulated, and it provides no failure, prerequisite, or alternative-tool context. This is incomplete for a six-parameter financial tool.

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 100%, so the schema already documents every parameter clearly. The tool description adds some contextual meaning by tying the penalty and as-of-period concepts to the outputs, but it does not materially expand on the schema. Baseline 3 is appropriate here.

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 uses a specific verb ('work out') and resource ('settling or overpaying a loan') and lists concrete outputs: outstanding balance, penalty, recalculated schedule, and interest saved. It is clearly distinct from siblings like loan_schedule or loan_create, though it does not name a sibling to make that differentiation explicit. The title ('Settle or overpay') and description ('Work out what... costs') also create slight action-vs-quote ambiguity, so this is clear but not a 5.

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 use case is implied: when the user wants to know the cost or effect of settling or overpaying a loan as of a given period. However, there are no explicit when-to-use/when-not-to-use instructions, no prerequisites, and no mention of alternatives such as loan_schedule for normal amortization. The guidance remains implicit rather than directive.

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.