Skip to main content
Glama

get_law_text

Read-onlyIdempotent

Retrieve full text of Korean law articles by specifying a law ID or serial number, and optionally a specific article using its natural notation or 6-digit code.

Instructions

Korean-law-mcp — [법령조회] 조문 전문 조회. mst/lawId 필수, jo로 특정 조문만 가능 — jo는 '제148조의2' 같은 자연어 조문 표기를 그대로 받는다(권장). 6자리 JO 코드를 직접 쓰려면 조번호 4자리 zero-pad + 의X 2자리: 제10조의2→001002, 제234조의2→023402(234002 아님).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
joNo조문 번호. 자연어 표기 권장 — '제38조'·'제148조의2'를 그대로 넣으면 서버가 변환한다. 6자리 JO 코드 직접 지정 시 조번호 4자리 zero-pad + 의X 2자리: 제38조→003800, 제10조의2→001002, 제234조의2→023402(234002 아님)
mstNo법령일련번호 (search_law에서 획득)
efYdNo시행일자 (YYYYMMDD). 그 법령에 **실재하는 시행일**이어야 한다 — 오늘 날짜 같은 임의 '조회 기준일'을 넣으면 NOT_FOUND 가 난다. 현행 본문은 efYd 없이 조회할 것. 시행예정본은 search_law 가 안내한 efYd 를 그대로 쓴다.
lawIdNo법령ID (search_law에서 획득)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv4.13.0
    • changedInput schema / properties / efYd / description
      Previous value: -"시행일자 (YYYYMMDD 형식)"New value: +"시행일자 (YYYYMMDD). 그 법령에 **실재하는 시행일**이어야 한다 — 오늘 날짜 같은 임의 '조회 기준일'을 넣으면 NOT_FOUND 가 난다. 현행 본문은 efYd 없이 조회할 것. 시행예정본은 search_law 가 안내한 efYd 를 그대로 쓴다."
  2. Changed1 schema field changedv4.12.0
    • changedInput schema / properties / jo / description
      Previous value: -"조문 번호 (예: '제38조' 또는 '003800')"New value: +"조문 번호. 자연어 표기 권장 — '제38조'·'제148조의2'를 그대로 넣으면 서버가 변환한다. 6자리 JO 코드 직접 지정 시 조번호 4자리 zero-pad + 의X 2자리: 제38조→003800, 제10조의2→001002, 제234조의2→023402(234002 아님)"
  3. Addedv4.9.1
  4. Removedv4.9.1
  5. First observedv4.4.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld, so the description's real value is behavioral detail: the server normalizes natural-language jo input, and an efYd that isn't a real enforcement date returns NOT_FOUND rather than silently failing. That error semantics and input-normalization disclosure is more than annotations provide, though return format/pagination behavior is unaddressed.

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?

Front-loaded with tool identity and purpose, then parameter rules, then the efYd caveat; no filler sentences. The 6-digit JO-code example duplicates the schema description, costing a little efficiency.

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 a read-only retrieval tool with no output schema, the description covers what the agent needs to pick arguments: obligation of mst/lawId, jo granularity, and the current-vs-scheduled-version decision. It leaves the mst/lawId exclusivity rule and any paging behavior implicit.

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%, and the description largely restates the jo encoding rule already spelled out in the schema, so baseline 3 applies. It does add one piece of semantic information not in the schema — that mst or lawId must effectively be supplied despite required being empty — but that tension is left unclarified rather than explained.

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?

States a specific verb+resource: full-text retrieval of statutory articles ([법령조회] 조문 전문 조회), with the optional narrowing to a single article via jo. It implicitly distinguishes itself from search_law by telling the agent to obtain mst/lawId there, though it never explicitly contrasts with get_annexes or legal_research.

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?

Gives concrete selection rules: mst/lawId are needed, jo is only for pinning a single article, use no efYd for the current text, and use the efYd that search_law reported for a forthcoming version. It stops short of explicit when-not-use-this guidance or sibling routing beyond search_law.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.