Skip to main content
Glama

Kr Law Search

kr_law_search
Read-onlyIdempotent

Search South Korean national statutes by title keyword (국가법령정보, Ministry of Government Legislation). Returns each matching law's id, mst (version id, pass to kr_law_article/kr_law_history), ministry, promulgation/effective dates, and whether it is the current ("현행") or a superseded ("연혁") version. BYOK: requires your own OC from open.law.go.kr (Korean real-name verification to register); pass it as _apiKey.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "도로교통법",
      "_apiKey": "test",
      "display": 5
    },
    "name": "kr_law_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page number (default 1).
queryYesTitle keyword, Korean or romanized, e.g. "도로교통법" (Road Traffic Act) or "개인정보".
statusNoNarrow to currently-in-force laws only ("current") or search as-is ("all", default). "historical" still returns the general list; filter client-side on the returned "status" field for superseded versions.
_apiKeyNoYour own OC (Open API user id) from https://open.law.go.kr/LSO/main.do. The Ministry's public demo id "test" works here for smoke-testing.
displayNoResults per page, 1-100 (default 20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely useful operational context beyond that: BYOK, needing an OC from open.law.go.kr, Korean real-name verification at registration, and the "test" demo key for smoke tests. It remains silent on rate limits, error behavior when the key is invalid, and total result counts.

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?

Front-loaded with the search scope, then the enumerated return fields, then the BYOK caveat – a sensible order for an agent deciding whether to call. It is dense but every clause carries information; the parenthetical Korean/English glosses could be trimmed slightly.

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?

With no output schema, the description carries the burden of describing returns and does so by listing id, mst, ministry, dates, and current/historical status. Auth friction is disclosed, pagination lives in the schema. Minor gaps remain around result counts and failure modes.

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%, so every parameter is already documented, giving a baseline of 3. The description's extra value is limited to framing _apiKey as a BYOK requirement and noting the demo id; the status quirk is also documented in the schema itself, so little meaning is added beyond structured data.

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?

Names a specific verb and resource ("Search South Korean national statutes by title keyword"), gives the authoritative data source, and enumerates the returned fields including mst. It also distinguishes itself from the article- and history-level siblings by explaining that mst is what you pass to kr_law_article/kr_law_history, so an agent can place it in the workflow without opening other schemas.

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?

Implicitly scopes usage to title-keyword lookup with downstream handoff to kr_law_article/kr_law_history, and explicitly warns that status="historical" does not filter server-side and must be filtered client-side on the returned status field. It doesn't state a when-not-to-use case (e.g. full-text or article-number search), which keeps it from a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.