Skip to main content
Glama

AnyBanQ — Sri Lankan banking products and card offers

Cheapest loans for an amount

loan_rates
Read-onlyIdempotent

Loans listed on anybanq.lk ranked by indicative monthly instalment for an amount and tenure (reducing balance, at each bank's published rate). Loans whose published maximum amount or tenure is below the request are flagged and ranked last.

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": {
      "amount": "<amount>",
      "tenureMonths": "<tenureMonths>"
    },
    "name": "loan_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
bankNoOnly this bank's loans
kindNoLoan typepersonal-loan
limitNoHow many results to return (1-10)
amountYesLoan amount in LKR
tenureMonthsYesRepayment period in months

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 cover the safety profile (readOnly, idempotent, non-destructive, closed-world). The description adds genuinely new behavioral context: instalments are computed on a reducing-balance basis at each bank's published rate, results are indicative, and loans whose max amount or tenure fall short are flagged and pushed to the end of the ranking. It does not discuss ties, pagination, or what the flag field looks like, which keeps it below 5.

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?

Two sentences, zero filler, and the core ranking basis is front-loaded before the edge-case flagging rule. Every clause carries operational meaning.

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?

With five fully documented parameters and no output schema, the description covers the computation basis and the ranking/flagging outcome, which is what an agent needs to call it correctly. It stops short of describing the shape of returned entries (rate, instalment, bank), leaving a small gap given there is no output schema.

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 earns more by explaining that amount and tenure drive an instalment calculation under a specific method, which tells the agent how the two required parameters are actually used. The kind, bank, and limit parameters get no additional narrative treatment.

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 concrete resource (loans listed on anybanq.lk) and a concrete operation (ranked by indicative monthly instalment), so the agent knows exactly what comes back. It never names a sibling tool, so differentiation from tools like compare_products or check_eligibility is left implicit.

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?

Usage is implied by the requirement for amount and tenure and by the ranking behavior, which tells the agent this is a cost-comparison query. There is no explicit when-to-use or when-not guidance and no pointer to an alternative tool for eligibility checks or product browsing.

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