Skip to main content
Glama

search_law

Read-onlyIdempotent

Search Korean statutes, local ordinances, and administrative rules by name to retrieve law identifiers for legal research. Automatically falls back to related regulations when exact match is not found.

Instructions

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv4.9.1

TDQS

A4.2/5.0
Behavior5/5

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

The description significantly enriches the annotations (readOnlyHint, idempotentHint, etc.) by detailing specific behaviors: automatic fallback to autonomous/administrative rules on zero results, automatic abbreviation conversion, automatic annotation of name changes and upcoming amendments, and identifier acquisition. No contradictions 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.

Conciseness3/5

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

The description is adequately structured with the main function first, but it is relatively long with multiple clauses and examples. Some redundancy exists (e.g., listing document types multiple times). A more streamlined version would improve conciseness without losing key information.

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?

Given the tool complexity (2 parameters, no output schema, rich annotations), the description covers core behaviors, fallback, and special features. It lacks an explicit specification of the output format beyond 'lawId, mst', which may require some domain inference from the agent. Overall, nearly complete.

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 description coverage is 100% for both parameters (query and display), so the baseline is 3. The tool description does not add new semantic detail about the parameters beyond what the schema already provides (e.g., examples and caution about display default). No gap to compensate.

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 is for keyword searching of Korean law names, ordinance names, and administrative rule names to obtain lawId and mst identifiers. It distinguishes itself from siblings like get_law_text (which retrieves full text) by emphasizing identifier acquisition and search fallback behaviors.

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 indicates when to use the tool: before querying legal documents to secure identifiers. It explains automatic fallback and abbreviation conversion, providing context for effective use. However, it does not explicitly state when not to use it or directly compare with alternatives like ordinance_radar or legal_analysis.

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

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/episodic-rush/korean-law-mcp-unclean'

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