Skip to main content
Glama

KorkoPuntari

Check loan against Finnish KSL 7:17a statutory interest & fee caps

check_rate_cap
Read-onlyIdempotent

Verifies whether a consumer credit in Finland complies with the statutory interest cap (reference rate 2.50% + 15 pp = 17.50%, absolute max 20%) and annual fee cap (0.01%/day, max 150 EUR/year).

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_eur": "<amount_eur>",
      "nominal_rate_pct": "<nominal_rate_pct>"
    },
    "name": "check_rate_cap"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNoLoan term in years
amount_eurYesLoan amount in euros
monthly_fee_eurNoMonthly account management fee (€)
opening_fee_eurNoOne-time opening fee (€)
nominal_rate_pctYesNominal annual interest rate (%)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world behavior, so the safety profile is covered. The description adds real domain value by stating the concrete thresholds (2.50% reference + 15 pp = 17.50%, absolute 20%; fee cap 0.01%/day, max 150 EUR/year) that determine the verdict. It does not say what the check returns — a boolean, a list of breached caps, or a computed effective rate — leaving the result shape opaque.

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?

A single sentence with zero filler, front-loading the action and the regulatory anchor before the numeric caps. Every clause carries information the agent needs.

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

Completeness3/5

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

For a compliance-check tool the description is accurate but thin: with no output schema, it never states what a positive/negative verdict looks like or which cap is reported when multiple are breached. The safety annotations and fully documented schema keep it serviceable, but the result contract is missing.

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%, with every parameter (amount, rate, term, monthly fee, opening fee) documented inline, so the baseline of 3 applies. The description mentions the interest and fee concepts that map onto these inputs but adds no format, unit, or defaulting guidance 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?

The description gives a specific verb ('Verifies') and a precise resource ('consumer credit in Finland') tied to a named statute (KSL 7:17a), so the agent knows this is a regulatory compliance check rather than a generic calculator. It does not explicitly contrast with calculate_loan or compare_lenders, so sibling differentiation 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 Guidelines2/5

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

There is no statement of when to call this versus calculate_loan or compare_lenders, and no exclusions or prerequisites. The Finnish KSL scope hints at usage context, but the agent must infer the routing decision entirely on its own.

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