Skip to main content
Glama

eflaw_search

Read-onlyIdempotent

Find Korean laws currently in effect using effective date search. Filter by date range, ministry, and law type to locate current statutes.

Instructions

Search current laws by effective date (시행일 기준 현행법령 검색).

This tool searches Korean laws organized by effective date. Use this when you need to find laws that are currently in effect.

Args: query: Search keyword (law name or content) 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 - "JSON" (default), "XML", or "HTML" sort: Sort order - "lasc"|"ldes"|"dasc"|"ddes"|"nasc"|"ndes"|"efasc"|"efdes" ef_yd: Effective date range (YYYYMMDDYYYYMMDD, e.g., "2024010120241231") org: Ministry/department code filter knd: Law type filter

Returns: Search results with law list or error

Examples: Search for "자동차관리법": >>> eflaw_search(query="자동차관리법", display=10, type="JSON")

Search with date range:
>>> eflaw_search(
...     query="자동차",
...     ef_yd="20240101~20241231",
...     type="JSON"
... )

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ocNo
kndNo
orgNo
pageNo
sortNo
typeNoJSON
ef_ydNo
queryYes
displayNo
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the description only needs to add context. It does add useful details: the effective date organization, the recommendation for display=50-100, and the OC override defaulting to env var. 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 well-organized into intro, Args, Returns, and Examples. Every sentence and parameter line adds value, and the two examples are practical. It is detailed but not bloated.

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?

With 9 parameters and no output schema, the description covers all necessary information: parameter semantics, return format ('Search results with law list or error'), and usage examples. The agent can confidently invoke and understand the result.

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?

Schema description coverage is 0%, but the description documents all 9 parameters in the Args block with formats, defaults, and examples. It fully compensates for the missing schema info, even describing the ef_yd date range format and sort options.

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 'Search current laws by effective date' and 'This tool searches Korean laws organized by effective date.' This specific verb-resource-scope combination distinguishes it from sibling tools like law_search and elaw_search.

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 a clear 'when to use' statement: 'Use this when you need to find laws that are currently in effect.' However, it does not mention alternatives or exclusions, so it stops short of full 5-level guidance.

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

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