Skip to main content
Glama
rabqatab

LexLink

admrul_search

Read-onlyIdempotent

Search Korean administrative rules including 훈령, 예규, 고시, 공고, and 지침 issued by government agencies to find detailed regulations.

Instructions

Search administrative rules (행정규칙 목록 조회).

This tool searches Korean administrative rules including 훈령, 예규, 고시, 공고, 지침, etc. Administrative rules are detailed regulations issued by government agencies.

Args: query: Search keyword (default "*") display: Number of results per page (max 100, default 20). Recommend 50-100 for law searches (법령 검색) to ensure exact matches are found. page: Page number (1-based, default 1) oc: Optional OC override (defaults to env var) type: Response format - "HTML" or "XML" (default "XML", JSON not supported by API) nw: 1=현행 (current), 2=연혁 (historical), default 1 search: 1=규칙명 (rule name), 2=본문검색 (full text), default 1 org: Ministry/department code filter knd: Rule type - 1=훈령, 2=예규, 3=고시, 4=공고, 5=지침, 6=기타 date: Promulgation date (YYYYMMDD) prml_yd: Promulgation date range (YYYYMMDD~YYYYMMDD) mod_yd: Modification date range (YYYYMMDD~YYYYMMDD) sort: Sort order ctx: MCP context (injected automatically)

Returns: Search results with administrative rules list or error

Examples: Search for "학교": >>> admrul_search(query="학교", display=10, type="XML")

Search by date:
>>> admrul_search(date=20250501, type="XML")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNo*
displayNo
pageNo
ocNo
typeNoXML
nwNo
searchNo
orgNo
kndNo
dateNo
prml_ydNo
mod_ydNo
sortNo
Behavior4/5

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

The description adds valuable behavioral context beyond annotations: it explains response format limitations ('JSON not supported by API'), provides practical display size recommendations, clarifies date format requirements (YYYYMMDD), and explains what the search modes mean (rule name vs full text). While annotations cover read-only/idempotent safety, the description adds API-specific constraints and usage guidance.

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?

Well-structured with purpose statement, parameter explanations, return statement, and examples. The information is front-loaded with the core purpose first. Some parameter explanations could be slightly more concise, but overall the description efficiently conveys necessary information without wasted text.

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?

For a complex 13-parameter search tool with no output schema, the description provides comprehensive parameter explanations, practical usage guidance, and examples. It covers format limitations, search modes, date formats, and recommendations. The main gap is lack of output structure details, but given the annotations indicate a safe read operation and the parameter coverage is excellent, this is reasonably complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully compensates by providing detailed explanations for all 13 parameters. Each parameter gets clear semantic meaning: query is 'Search keyword', display has 'max 100' constraint with recommendation, type explains format options with API limitation, nw distinguishes current vs historical, search explains rule name vs full text, etc. The description does the heavy lifting the schema doesn't.

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: 'Search administrative rules (행정규칙 목록 조회)' with specific examples of rule types (훈령, 예규, 고시, etc.) and explains what administrative rules are. It distinguishes from siblings by focusing specifically on administrative rules rather than other legal documents like laws or precedents.

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 clear context for when to use this tool (searching Korean administrative rules) and includes practical recommendations like 'Recommend 50-100 for law searches to ensure exact matches are found.' However, it doesn't explicitly state when NOT to use this tool or mention specific alternatives among the many sibling tools.

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/rabqatab/LexLink-ko-mcp'

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