Skip to main content
Glama

search_law

Read-onlyIdempotent

Search Korean statutes, local ordinances, and administrative rules by keyword to obtain the law IDs needed for legal research. Automatically falls back to related subordinate regulations when no exact match is 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.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false. The description adds valuable behavioral details: automatic fallback to autonomous/administrative rules on zero results, automatic abbreviation conversion, and automatic notation of name changes/scheduled amendments. 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.

Conciseness5/5

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

The description is compact and front-loaded with the core purpose ('keyword search → lawId/mst'). Each clause adds operational detail (scope, fallback, abbreviation conversion, usage context) without redundancy or filler, making it highly efficient.

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?

Despite lacking an output schema, the description conveys essential return values (lawId, mst) and covers fallback behavior, abbreviation handling, and usage context. It does not detail result structure or pagination, but those are minor for a search 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 description coverage is 100%, so the baseline is 3. The description enriches parameter understanding by explaining fallback behavior for queries returning 0 results and the rationale for the display default (preventing short-name exact-match omissions). This goes beyond the schema's basic descriptions.

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 specifies the verb (검색/search) and resource (법령명·조례명·행정규칙명), and the outcome (lawId, mst acquisition). It also distinguishes itself from sibling tools like search_decisions by focusing on law/ordinance/rule name searches for identifier extraction, and mentions fallback to autonomous/administrative rules.

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 explicitly states the tool is for obtaining identifiers before retrieving laws/ordinances/rules ('조회 전 식별자 확보용'), indicating when it should be used in a workflow. It does not explicitly name alternative tools, but the context clearly differentiates it from content-retrieval functions.

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-clean'

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