Skip to main content
Glama

Lifelaw Korean Law (라이프로 법령)

Compare old/new and three-tier (신구법·3단 비교)

compare_law
Read-onlyIdempotent

Compare a Korean law's articles before and after amendment (신구법), or show the Act, Enforcement Decree and Enforcement Rule side by side (3단 비교, three-tier). kind: 신구법 = old/new text of the latest amendment (changed text in 【 】); 3단 위임 = Act articles with the Decree and Rule articles they delegate to; 3단 인용 = lower-level articles citing the Act article. Three-tier output is long, so choose an article. Korean abbreviations work, and an English law name gets an English answer. With 신구법, edition 시행예정 shows what an amendment not yet in force changes.

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": {
      "law": "<law>"
    },
    "name": "compare_law"
  }
}

Input Schema

NameRequiredDescriptionDefault
lawYesName of the Act in Korean or English. E.g. 근로기준법, 주택임대차보호법, 근기법, Labor Standards Act
kindNo신구법 (old/new, default) / 3단 위임 (three-tier, delegation) / 3단 인용 (three-tier, citation)
pageNoResult page number (from 1). Default 1
articleNoShow only this article. E.g. 11, 제44조의4
editionNo신구법 only. 시행예정: old/new comparison of the amendment promulgated but not yet in force

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / kind / description
      Previous value: -"신구법 (old/new) / 3단 위임 (three-tier, delegation) / 3단 인용 (three-tier, citation)"New value: +"신구법 (old/new, default) / 3단 위임 (three-tier, delegation) / 3단 인용 (three-tier, citation)"
    • changedInput schema / required
      Previous value: -[
      -  "law",
      -  "kind"
      -]New value: +[
      +  "law"
      +]
  2. Changed5 schema fields changed
    • changedInput schema / properties / article / description
      Previous value: -"이 조문만 보기. 예: 11, 제44조의4"New value: +"Show only this article. E.g. 11, 제44조의4"
    • changedInput schema / properties / edition / description
      Previous value: -"신구법 전용. 시행예정 을 주면 공포됐지만 아직 시행 전인 개정판의 신구 비교"New value: +"신구법 only. 시행예정: old/new comparison of the amendment promulgated but not yet in force"
    • changedInput schema / properties / kind / description
      Previous value: -"신구법 / 3단 위임 / 3단 인용"New value: +"신구법 (old/new) / 3단 위임 (three-tier, delegation) / 3단 인용 (three-tier, citation)"
    • changedInput schema / properties / law / description
      Previous value: -"법률 이름. 예: 근로기준법, 주택임대차보호법, 근기법"New value: +"Name of the Act in Korean or English. E.g. 근로기준법, 주택임대차보호법, 근기법, Labor Standards Act"
    • changedInput schema / properties / page / description
      Previous value: -"검색 결과 쪽 번호(1부터). 생략하면 1"New value: +"Result page number (from 1). Default 1"
  3. Changed1 schema field changed
    • addedInput schema / properties / edition
      Added value: +{
      +  "description": "신구법 전용. 시행예정 을 주면 공포됐지만 아직 시행 전인 개정판의 신구 비교",
      +  "enum": [
      +    "현행",
      +    "시행예정"
      +  ],
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, the description discloses that old/new marks changes with 【 】, that edition 시행예정 covers promulgated-but-not-yet-in-force amendments, that Korean abbreviations are accepted, and that an English law name yields an English answer. It does not discuss pagination behavior or result size limits beyond the article caveat.

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 text is dense but front-loaded, leading with the two capabilities and then unpacking kind values. Some clauses (Korean abbreviations, English answer) are tersely stacked, but nothing is clearly wasted.

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 and does so by stating the 【 】 change markers and the shape of each three-tier mode. Combined with fully documented parameters, an agent has everything needed to invoke it correctly.

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 already 100%, so the baseline is 3, but the description adds real meaning: it explains what each kind enum value returns and how edition interacts with 신구법. This goes beyond restating the schema field text.

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 specific act (article comparison before/after amendment, 신구법) and the two three-tier modes in a way an agent can distinguish from siblings like get_article or search_law. Each mode is stated with a concrete output shape, e.g., changed text shown in 【 】.

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 gives clear selection guidance between the three kinds and warns that three-tier output is long so an article should be chosen. It does not name an alternative sibling (such as get_article) to route to for single-article lookups, so the when-not guidance is implied rather than explicit.

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