Skip to main content
Glama

search_law

Read-onlyIdempotent

Search Korean laws, ordinances, and administrative rules by keyword to retrieve legal identifiers, with automatic fallback and abbreviation handling.

Instructions

Korean-law-mcp — [법령검색] 법령명·조례명·행정규칙명 키워드검색 → lawId, mst 획득. 지자체 조례·규칙(자치법규), 훈령·예규·고시(행정규칙)도 검색 — 0건 시 자치법규/행정규칙으로 자동 폴백(예: '광진구 복무조례', '외국환거래규정'). 약칭 자동변환. 제명변경·시행예정 개정 자동 병기. 법령·조례·행정규칙 조회 전 식별자 확보용.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes검색할 법령명 (예: '관세법', 'fta특례법', '화관법')
displayNo최대 결과 개수 (기본 50 — 짧은 법령명 정확매칭 누락 방지)
Behavior4/5

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

Beyond annotations (readOnly, idempotent), the description discloses auto-fallback to local ordinances/administrative rules on zero results, automatic abbreviation conversion, and automatic notation of title changes and pending amendments. No contradiction with annotations.

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 concise and front-loaded with the main purpose. It could benefit from bullet points but contains no wasted sentences.

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 explains return values (lawId, mst) and handles edge cases (zero results, abbreviation conversion, title changes). Complete enough for an agent to use effectively.

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. The description adds context: query examples, display default value and its effect on exact matching, improving usability over schema alone.

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's purpose: keyword search for Korean laws, ordinances, and administrative rules to obtain identifiers (lawId, mst). It distinguishes from sibling tools like get_law_text and search_decisions.

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?

The description provides usage guidance: use before querying law/ordinance/rule texts for identifier acquisition. It explains automatic fallback and abbreviations, though it does not explicitly state when not to use.

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/pragato-throwaway/korean-law-mcp-unclean'

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