Skip to main content
Glama
scvcoder

korean-privacy-law-mcp

by scvcoder

get_law_tree

Retrieve the hierarchical table of contents of a Korean law, showing article ranges and counts per section. Navigate large laws like PIPA by quickly identifying relevant chapters.

Instructions

법령 내부 편·장·절·관 목차 트리 (lawService · target=law JSON, '조문여부=전문' 헤더 추출). PIPA 같은 대형 법령(126조+)에서 LLM 네비게이션 보조용 — 어느 장·절을 봐야 할지 빠른 결정. 각 헤더의 조문 범위([제N조~제M조]) + 조문 개수 표시. get_law_text(전체 본문, 12K cap)와 다름: 본문 X 구조만. get_law_system_tree(법-시행령-시행규칙 체계도)와도 다름. 다음: get_law_text(mst)로 전문, compare_articles(mst, jo)로 특정 조문 정밀 조회.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mstNo법령일련번호 (search_law 결과의 [mst=N])
lawIdNo법령ID (mst와 택1)
efYdNo시행일 YYYYMMDD (시점별 트리 조회용)
Behavior4/5

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

With no annotations, the description carries the full burden. It explains the output includes article ranges and counts, and that it extracts from law JSON with a specific header. However, it does not mention auth requirements, rate limits, or potential size limitations for large trees. Minor omission but overall 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?

The description is concise: a few sentences each serving a purpose. It front-loads the core function, then differentiates from siblings, and ends with usage suggestions. No redundant or wasted words.

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?

Given no output schema, the description adequately describes the output (structure with article ranges and count). It explains all three parameters, provides a concrete use case, and references related tools. It is complete for a tree/toc tool.

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% with descriptions, so baseline is 3. The description adds value by clarifying that mst and lawId are alternatives (택1) and efYd is for time-point queries. This extra context justifies a 4.

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 the tool extracts the internal table of contents (편·장·절·관) of a law, including article ranges and counts. It distinguishes itself from get_law_text (full text) and get_law_system_tree (hierarchy of laws), making the purpose unambiguous.

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?

The description explicitly says when to use this tool: for navigating large laws like PIPA to quickly decide which chapter/section to examine. It also tells when not to use it (for full text or system hierarchy) and suggests follow-up tools (get_law_text, compare_articles). This is exceptional guidance.

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