Skip to main content
Glama

Finology Student Loan Calculator

compare_federal_student_loan_repayment_plans

Compare every federal repayment plan a loan can elect (Standard, RAP, IBR, PAYE, ICR) on the current federal rules: monthly payment, lifetime cost, forgiveness timing and the estimated tax on forgiven balances. Plans the loan cannot elect are listed with the reason. For Parent PLUS it also runs the consolidation path unprompted, because that is the number that decides. loanType drives PLAN ELIGIBILITY, not just the rate: choose accurately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
balanceYesCurrent federal loan balance in dollars.
ratePctYesWeighted average interest rate as a percentage, e.g. 6.54 for 6.54%.
loanTypeNodirect_unsubsidized | direct_subsidized | grad_plus_legacy | parent_plus | direct_consolidation | direct_consolidation_with_plusdirect_unsubsidized
spouseAgiNoSpouse's annual AGI. Only used when filingStatus is mfj.
dependentsNoNumber of qualifying dependents. A spouse is NOT a dependent.
borrowerAgiYesBorrower's adjusted gross income in dollars, annual.
filingStatusNoTax filing status: single, mfj, mfs, hoh.single

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral disclosure burden and does it well: it states that ineligible plans are listed with reasons, that Parent PLUS runs the consolidation path unprompted, and that loanType affects eligibility, not just rates. These are non-obvious behaviors beyond the input schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three dense sentences with no filler: the first front-loads the purpose and outputs, the second explains the ineligible-plan behavior, and the third highlights the critical parameter. Every sentence earns its place.

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

Completeness5/5

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

For a complex 7-parameter tool with no output schema and no annotations, the description is nearly complete: it specifies the returned comparison dimensions, explains handling of ineligible plans, flags special Parent PLUS behavior, and warns about the loanType dependency. This is enough to invoke the tool correctly without external documentation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds meaningful semantic guidance for loanType by emphasizing that it drives plan eligibility and should be chosen accurately, which goes beyond the schema's enum list and helps the agent avoid a critical parameter mistake.

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?

The description names the action ('Compare') and the exact resource ('every federal repayment plan a loan can elect') and enumerates the output dimensions: monthly payment, lifetime cost, forgiveness timing, and estimated tax on forgiven balances. It also names the specific plans, making the tool's scope clear and distinguishable from siblings like estimate_rap_monthly_payment.

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

Usage Guidelines4/5

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

The description clearly implies a comprehensive comparison use case and explicitly calls out when Parent PLUS triggers the consolidation path. However, it does not explicitly name sibling tools or state when to use them instead, such as when the user only needs a repayment estimate or a married filing status comparison.

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.