Skip to main content
Glama
scvcoder

korean-privacy-law-mcp

by scvcoder

get_law_text

Get the full text of a Korean law with articles sorted. Specify an effective date to view a historical version.

Instructions

법령 본문 조회 (법제처 lawService · target=law). mst(또는 lawId)로 법령 전체 본문 가져옴. 조문 단위로 정렬된 결과 반환. 시점 본문은 efYd=YYYYMMDD. 큰 법령은 12,000자에서 잘림 (특정 조문은 v1.1의 get_law_article 사용). 다음: get_related_laws(lawId)로 관계, get_law_history(lawId)로 개정 이력.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mstNo법령일련번호 (search_law 결과의 [브래킷] 안 숫자)
lawIdNo법령ID (mst와 택1)
efYdNo시행일자 YYYYMMDD (시점별 본문 조회용, 미지정 시 현행)
Behavior4/5

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

Discloses truncation limit of 12,000 characters and use of efYd for time-specific versions. No annotations provided, so burden is on description; it could mention error cases or response format but is otherwise transparent.

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?

Concise three sentences, front-loaded main purpose, then behavioral details and usage guidance. No unnecessary words.

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?

No output schema, so description must compensate. It notes results are sorted by article (조문 단위로 정렬됨) and mentions truncation. Could be more detailed on return structure, but is sufficient for context.

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 baseline is 3. Description adds value by explaining mutual exclusivity of mst and lawId (택1) and clarifying efYd's role for versioned queries, going beyond schema.

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 clearly states it retrieves the full text of a law using mst or lawId, returned sorted by article. It distinguishes from sibling tools like get_law_article for specific articles, and mentions related tools for history and relationships.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says when to use this tool (for full law text) and when not (for large laws truncated at 12,000 characters, recommending get_law_article for specific articles). Also suggests next steps: get_related_laws and get_law_history.

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/scvcoder/korean-privacy-law-mcp'

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