Skip to main content
Glama

Kr Law History

kr_law_history
Read-onlyIdempotent

Revision history for a South Korean statute: every promulgation with its own date, promulgation number, and entry-into-force date, each as a separate historical mst you can pass to kr_law_article. Requires the caller's OC to have the 법령연혁 (law history) service separately enabled under My Applications at open.law.go.kr, if it is not, this throws a specific, actionable upstream error rather than a generic failure. BYOK: pass your OC as _apiKey.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "mst": "291133",
      "_apiKey": "test"
    },
    "name": "kr_law_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
mstYesLaw version id (법령일련번호) from kr_law_search's "mst" field.
_apiKeyNoYour own OC (Open API user id) from https://open.law.go.kr/LSO/main.do, with 법령연혁 enabled under My Applications.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive, but the description adds behavior they cannot: a per-application service-enablement requirement, the fact that the failure mode is a specific actionable upstream error rather than a generic one, and the BYOK pattern of passing OC as _apiKey. It also previews the returned structure (date, promulgation number, entry-into-force date).

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 purpose is front-loaded in the first clause, followed by return shape, then prerequisites and BYOK. Every sentence carries information, though the prerequisite sentence is long and clause-heavy and could be split for faster scanning.

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 still conveys what comes back (per-promulgation date, number, entry-into-force date, distinct mst). Auth, enablement, and error behavior are all covered, leaving nothing an agent needs missing before calling it.

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: it clarifies that mst is a law-version id obtained separately for each historical promulgation and that those ids are directly consumable by kr_law_article. That chaining semantics is not obvious from the schema alone.

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 states a specific verb and resource ('Revision history for a South Korean statute') and goes further by naming what each returned item is (a separate historical mst). It also names the sibling it feeds into (kr_law_article), so an agent can place it in the workflow without opening another schema.

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 makes the intended use clear: call it to enumerate promulgations when you need an older version, then pass the resulting mst to kr_law_article. It also states the prerequisite for use (법령연혁 enabled under My Applications). It stops short of an explicit 'do not use this when you only want the current text' exclusion, so it is not a full 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.