Skip to main content
Glama

calculate insurance claim payout

calculate_insurance_claim_payout
Read-onlyIdempotent

Insurance payout from (a) permanent disability: sum insured × disability rate, rates of several body parts added and capped at 100%, pre-existing disability of the same part deducted (Korean standard policy disability table); or (b) a fault-based loss: damage × (1 − own fault %) − deductible, capped at the policy limit (민법 제396조·제763조). Calculation only; not loss adjusting or a fault ruling.

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": {
      "kind": "<kind>"
    },
    "name": "calculate_insurance_claim_payout"
  }
}

Input Schema

NameRequiredDescriptionDefault
sumNoDisability sum insured (KRW)
kindYesdisability = 후유장해 보험금, fault = 과실상계 보상
faultNoOwn fault as a fraction
limitNoPolicy limit (KRW, 0 = none)
priorNoPre-existing disability rate of the same part, fraction
ratesNoRates per body part
damageNoDamage amount (KRW)
deductibleNoDeductible (KRW)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds real value beyond them: it pins the legal/actuarial basis (Korean standard policy disability table, 민법 제396조·제763조), notes the 100% cap across body parts and the deduction of pre-existing disability of the same part, and scopes the tool away from adjudication. It does not say what the response object looks like or how rounding/currency is handled, but with no output schema that is a minor gap.

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?

The two-branch structure is front-loaded and mirrors the (a)/(b) decision the caller must make, with no filler sentences. It is dense — legal citations and parenthetical Korean terms sit inside the formula clauses — so a first read takes effort, but nothing is redundant.

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?

For an 8-parameter, two-mode calculation with no output schema, the description covers both formulas, the caps, and the scope boundary, which is enough to invoke it correctly. It stops short of stating which parameters belong to which branch (e.g., that `damage`/`deductible` are fault-only, `sum`/`rates`/`prior` disability-only), leaving that to be inferred from the formulas.

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 would be 3, but the description genuinely adds semantics the schema cannot express: it explains that the `rates` array entries are summed and capped at 100%, and that `prior` is deducted for the same body part — the inter-parameter rule that matters most for correct invocation. `fault`, `deductible` and `limit` are only implied by the fault formula rather than individually explained, which keeps it below a 5.

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 exact operation (insurance claim payout) and enumerates its two branches with the underlying formula for each: sum insured × disability rate for permanent disability, and damage × (1 − fault %) − deductible for fault-based loss. That level of specificity makes it unmistakable against sibling calculators such as calculate_health_insurance or the tax/labor tools, which compute entirely different quantities.

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?

It states the selection condition for each mode directly ('(a) permanent disability ... or (b) a fault-based loss'), and closes with an explicit exclusion: 'Calculation only; not loss adjusting or a fault ruling.' What is missing is any pointer to an alternative tool when the task is actually loss adjusting or a fault determination; the negative guidance names the boundary but not the next step.

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.