Skip to main content
Glama

homeloanscalculator

emi

Takes a loan amount, annual rate and tenure, plus optional prepayments or a rate change, and returns the monthly EMI, total interest and year-by-year schedule for an Indian home loan. Example input: {"principal":5000000,"annualRate":8.5,"years":20}

Input Schema

NameRequiredDescriptionDefault
modeNoWhat prepayment shortens: reduceTenure (default) or reduceEMI
yearsNoLoan tenure in years (0.5 to 40). Give months or years.
monthsNoLoan tenure in months (6 to 480). Give months or years.
monthlyNoSet true to include the month-by-month schedule in the result
lumpSumsNoOne-time prepayments as a list of { month, amount }, or a string like "12:100000,24:50000"
principalYesLoan amount in rupees
rateResetNoA floating-rate change part-way through the loan
annualRateYesAnnual interest rate in percent, for example 8.5
extraMonthlyNoExtra rupees prepaid every month

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the burden well by disclosing that it supports optional prepayments and rate changes and that it returns EMI, total interest, and a yearly schedule. It omits edge-case behavior (e.g. if both years and months are supplied, rounding/precision) and has no output schema, so a minor gap remains.

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 well-formed sentences: the first front-loads inputs and outputs, the second gives a concrete example. Efficient with little waste; slightly dense but appropriately sized for a 9-parameter tool.

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?

Given 9 parameters, nested objects, no annotation coverage, and no output schema, the description supplies the key behavioral shape (inputs, optional features, returns) and an example. It stops short of covering precedence rules and failure modes, but overall it is complete enough to invoke the 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 including enums and nested objects, establishing a baseline of 3. The description reinforces this by naming prepayments and rate change and providing a concrete example input, but adds no semantics beyond 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?

States a specific calculation ('returns the monthly EMI, total interest and year-by-year schedule') on a specific resource domain (Indian home loan), which is clearly distinct from siblings like sensitivity or eligibility. It does not explicitly name or differentiate itself from those siblings, keeping it at 4 rather than 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 description implies the tool's role (compute EMI given loan parameters) but gives no explicit when-to-use/when-not guidance and never mentions alternatives such as sensitivity, which plausibly also computes EMI variants. Usage is inferable but not steered.

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