Skip to main content
Glama

calculate kr license points

calculate_kr_license_points
Read-onlyIdempotent

Korean driver's license penalty points (도로교통법 시행규칙 별표 28, 2025-12-02 version): mode status = running points from a dated history — suspension at 40 points (1 point = 1 day), revocation at 121 in 1 year / 201 in 2 / 271 in 3, expiry of under-40 points after 1 clean year, 20-point education reduction, 10-point pledge credits; events may give points directly or a violation id (speed100, speed80, speed60, speed40, speed20, drunk, signal, center, pedestrian, phone) with school-zone doubling. Mode surcharge = business suspension days converted to a monetary penalty (daily amount × days, 1 month = 30 days, cap 1 billion by default). Not a police decision.

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": {
      "mode": "<mode>"
    },
    "name": "calculate_kr_license_points"
  }
}

Input Schema

NameRequiredDescriptionDefault
capNosurcharge: legal cap (default 1,000,000,000)
asOfNostatus: reference date (default today)
daysNosurcharge: suspension days
modeYesWhich calculation
eventsNostatus: point history
monthsNosurcharge: suspension months (30 days each)
perDayNosurcharge: amount per day from the statute's table
mileageNostatus: completed 1-year pledges (10 points each)
educationNostatus: completed the reduction course

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds genuine domain behavior beyond that: the 40-point suspension threshold, 121/201/271 revocation tiers, one-year expiry for under-40 points, education and pledge credits, and school-zone doubling. What it does not disclose is the shape of the answer — whether a result reports a point total, a suspension verdict, or a won amount — which matters because there is no output schema.

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?

It is long but almost entirely load-bearing: legal citation, two mode definitions, thresholds, and the disclaimer, with no filler. The trade-off is readability — the first clause runs as a single semicolon-chained sentence, so an agent must parse carefully to separate the two modes. Front-loading the source law before the modes is sensible.

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 nine-parameter, two-mode calculator with no output schema, the description explains the input rules and legal thresholds well but says nothing about what is returned for either mode. The result format — point total, suspension/revocation status, or the computed surcharge figure — must be inferred. Adequate, but not fully complete for a tool of this complexity.

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 coverage is 100%, so the schema already documents every one of the nine parameters, including defaults for cap and asOf. The description largely restates that structured information (violation ids, school-zone doubling, 1 month = 30 days, default cap) rather than adding syntax or format detail the schema lacks. Baseline 3 is appropriate.

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 the concrete resource (Korean driver's license penalty points under 도로교통법 시행규칙 별표 28) and enumerates its two distinct computations: 'status' (points from a dated history with suspension/revocation/expiry thresholds) and 'surcharge' (suspension days converted to a monetary penalty). This is far more than a restatement of the name. It stops short of distinguishing itself from the many sibling calculate_kr_* tools, relying on the tool name to do that work.

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 mode split is effectively usage guidance: 'mode status = ...running points from a dated history' versus 'mode surcharge = business suspension days converted to a monetary penalty', which tells the agent which mode fits which question. The closing caveat 'Not a police decision' sets a boundary on what the result may be used for. There is no explicit when-not-to-use or named alternative.

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.