Skip to main content
Glama
scvcoder

korean-privacy-law-mcp

by scvcoder

get_law_tree

Extracts the table of contents tree from a Korean law with article ranges and counts. Helps navigate large laws like PIPA to find relevant sections quickly.

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?

No annotations are provided, so the description carries full burden. It explains the output (headers with article ranges and counts) and contrasts with sibling tools. While it doesn't explicitly state read-only or non-destructive nature, the context implies it's a safe retrieval operation.

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 description is moderately concise, front-loading the core purpose. It contains multiple pieces of information but avoids redundancy. The structure is logical: purpose, use case, differentiation, next steps.

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?

Despite no output schema, the description sufficiently describes the return format (header article ranges and counts). It also covers prerequisites, limitations, and differentiation from siblings. This is complete for a non-mutating tree tool.

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 coverage is 100%, so baseline is 3. The description adds context (mst from search_law, efYd for time-specific tree) but does not significantly extend beyond the schema descriptions. Parameter semantics are adequate but not enriched.

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 a tree of law structure (편, 장, 절, 관) with article ranges and counts, and explicitly distinguishes it from get_law_text and get_law_system_tree. The verb 'retrieve tree' and resource 'law internal structure' are specific.

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 specifies when to use (large laws like PIPA for LLM navigation), what not to use (full text from get_law_text, system tree from get_law_system_tree), and suggests next steps (get_law_text for full text, compare_articles for specific articles). This provides explicit 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