Skip to main content
Glama

AnyBanQ — Sri Lankan banking products and card offers

Loan eligibility check

check_eligibility
Read-onlyIdempotent

An indicative, rule-based loan eligibility check. Uses AnyBanQ's referral minimums (monthly income LKR 100,000, amount LKR 100,000) and a debt-service ratio: (existing repayments + new instalment) / monthly income below 0.5 is likely, up to 0.65 borderline, above that unlikely. Returns the verdict per loan, the largest affordable loan, and each loan's own published eligibility rules. Never an approval.

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

Input Schema

NameRequiredDescriptionDefault
kindNoLoan typepersonal-loan
limitNoHow many results to return (1-10)
amountYesLoan amount wanted, LKR
tenureMonthsYesRepayment period in months
monthlyIncomeLkrYesNet monthly income in LKR
existingRepaymentsLkrNoMonthly repayments already being paid on other loans and leases, LKR

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?

Annotations already declare readOnly, idempotent, non-destructive and closed-world; the description adds substantial new context beyond them: the exact referral minimums, the debt-service-ratio formula and its 0.5/0.65 thresholds, and what the response contains. The 'indicative, never an approval' disclaimer discloses the limits of the result, which no annotation conveys.

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 sentences, each load-bearing: what it is, the rule it applies with concrete thresholds, and what comes back. The verdict definition is front-loaded before the formula detail and the disclaimer closes it.

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?

With no output schema, the description carries the return-value burden itself and does so: verdict per loan, largest affordable loan, and each loan's own rules. Combined with the methodology and disclaimer, an agent can call this and report the result responsibly.

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, but the description adds real meaning by showing how monthlyIncomeLkr and existingRepaymentsLkr combine with the new instalment in the DSR formula. It does not explain tenureMonths or limit, which stay schema-only.

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?

Opens with a precise verb+resource: 'An indicative, rule-based loan eligibility check.' The stated outputs (verdict per loan, largest affordable loan, published eligibility rules) make clear this produces an eligibility verdict rather than the rate or product listings the sibling tools appear to cover.

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 DSR bands tell the agent how to interpret results (likely / borderline / unlikely), and 'Never an approval' is a clear usage constraint that shapes how the answer is presented. There is no explicit when-to-use-vs-alternatives line naming a sibling, so it stops short of a 5.

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