Skip to main content
Glama

get_law_text

Read-onlyIdempotent

Fetches the full text of a specific article from a Korean statute using law ID and optional effective date, accepting natural article numbers like '제148조의2'.

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 형식)
lawIdNo법령ID (search_law에서 획득)
Behavior4/5

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

Annotations already mark the tool as read-only, idempotent, and non-destructive. The description adds useful behavioral details beyond annotations, especially the jo natural-language conversion and the 6-digit code formatting pitfall. It does not mention response format, but annotation coverage lowers that burden.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense sentence with front-loaded purpose followed by necessary usage details. The jo code examples and the explicit error case '234002 아님' carry high information value with no filler.

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, this description covers purpose, required identifiers, optional jo behavior, and the tricky JO code transformation. No output schema exists, but '전문 조회' implies the return is the full provision text. It could be more complete by explaining the mst/lawId ambiguity and return behavior explicitly, but it is largely sufficient.

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 description coverage is 100%, so the baseline is 3. The description adds extra meaning by declaring mst/lawId as required and emphasizing jo as the recommended way to target a specific article. It is partly redundant with the schema's detailed jo explanation, but still adds selection semantics absent from the required array.

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?

Description clearly states this is a law-article full-text lookup ('조문 전문 조회') using mst/lawId and optional jo, which distinguishes it from search-oriented siblings like search_law and get_annexes. It is specific about the resource and action, though it does not explicitly contrast itself with sibling tools.

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?

Provides clear usage context: mst/lawId are required, jo narrows to a specific article, and natural-language jo input is recommended. It does not state explicit when-not-to-use guidance or name alternatives, but the context is unambiguous enough for an agent to decide when this tool applies.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrisryugj/korean-law-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server