Retrieve full law content by effective date (시행일 기준 법령 본문 조회). Retrieves the complete text of a law organized by effective date. **IMPORTANT: For specific article queries (e.g., "제174조"), ALWAYS use the `jo` parameter. Some laws (e.g., 자본시장법) have 400+ articles ...
Part of the Korean Law Search MCP server. Enforce policies on this tool with Intercept, the open-source MCP proxy.
AI agents call eflaw_service to retrieve information from Korean Law Search without modifying any data. This is common in research, monitoring, and reporting workflows where the agent needs context before taking action. Because read operations don't change state, they are generally safe to allow without restrictions -- but you may still want rate limits to control API costs.
Even though eflaw_service only reads data, uncontrolled read access can leak sensitive information or rack up API costs. An agent caught in a retry loop could make thousands of calls per minute. A rate limit gives you a safety net without blocking legitimate use.
Read-only tools are safe to allow by default. No rate limit needed unless you want to control costs.
tools:
eflaw_service:
rules:
- action: allow See the full Korean Law Search policy for all 54 tools.
Agents calling read-class tools like eflaw_service have been implicated in these attack patterns. Read the full case and prevention policy for each:
Other tools in the Read risk category across the catalogue. The same policy patterns (rate-limit, allow) apply to each.
Retrieve full law content by effective date (시행일 기준 법령 본문 조회). Retrieves the complete text of a law organized by effective date. **IMPORTANT: For specific article queries (e.g., "제174조"), ALWAYS use the `jo` parameter. Some laws (e.g., 자본시장법) have 400+ articles and the full response can exceed 1MB. Using `jo` returns only the requested article, which is much faster and cleaner.** Args: id: Law ID (either id or mst is required) mst: Law serial number (MST/lsi_seq) ef_yd: Effective date (YYYYMMDD) - required when using mst jo: **REQUIRED for specific articles.** Article number in XXXXXX format. Format: first 4 digits = article number (zero-padded), last 2 digits = branch suffix (00=main). Examples: "017400" (제174조), "017200" (제172조), "000300" (제3조), "001502" (제15조의2) chr_cls_cd: Language code - "010202" (Korean, default) or "010201" (Original) oc: Optional OC override (defaults to env var) type: Response format - "JSON" (default), "XML", or "HTML" Returns: Full law content or specific article content Examples: Retrieve specific article (RECOMMENDED): >>> eflaw_service(mst="279823", jo="017400", type="XML") # 자본시장법 제174조 Retrieve full law (WARNING: large response for some laws): >>> eflaw_service(id="1747", type="XML") . It is categorised as a Read tool in the Korean Law Search MCP Server, which means it retrieves data without modifying state.
Add a rule in your Intercept YAML policy under the tools section for eflaw_service. You can allow, deny, rate-limit, or validate arguments. Then run Intercept as a proxy in front of the Korean Law Search MCP server.
eflaw_service is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the eflaw_service rule in your Intercept policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the Intercept policy for eflaw_service. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
eflaw_service is provided by the Korean Law Search MCP server (rabqatab/lexlink-ko-mcp). Intercept sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Open source. One binary. Zero dependencies.
npx -y @policylayer/intercept