Skip to main content
Glama

ordin_search

Read-onlyIdempotent

Search Korean local ordinances (자치법규) including 조례 and 규칙. Filter by region, type, date, and text to retrieve current or historical local government regulations.

Instructions

Search local ordinances (자치법규 목록 조회).

This tool searches Korean local ordinances (자치법규) including 조례, 규칙, and other local government regulations.

Args: query: Search keyword (default "*") display: Number of results per page (max 100, default 20) page: Page number (1-based, default 1) oc: Optional OC override (defaults to env var) type: Response format - "JSON" (default), "XML", or "HTML" nw: 1=현행 (current), 2=연혁 (historical), default 1 search: 1=자치법규명 (ordinance name), 2=본문검색 (full text), default 1 sort: Sort order - "lasc"|"ldes"|"dasc"|"ddes"|"nasc"|"ndes" date: Announcement date (YYYYMMDD) ef_yd: Effective date range (YYYYMMDDYYYYMMDD) anc_yd: Announcement date range (YYYYMMDDYYYYMMDD) anc_no: Announcement number org: Local government code filter (e.g., "6110000" for Seoul) sborg: Sub-organization code filter knd: Ordinance type - 1=조례, 2=규칙, 3=교육규칙 rr_cls_cd: Administrative district classification code ordin_fd: Ordinance field code gana: Dictionary search (ga, na, da, ...) ctx: MCP context (injected automatically)

Returns: Search results with local ordinance list or error

Examples: Search for "서울시 건축 조례": >>> ordin_search(query="건축", org="6110000", knd="1")

Search current ordinances:
>>> ordin_search(query="주차장", display=20, type="XML")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nwNo
ocNo
kndNo
orgNo
dateNo
ganaNo
pageNo
sortNo
typeNoJSON
ef_ydNo
queryNo*
sborgNo
anc_noNo
anc_ydNo
searchNo
displayNo
ordin_fdNo
rr_cls_cdNo
Behavior5/5

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

Beyond the readOnlyHint and idempotentHint annotations, the description discloses the return format ('Search results with local ordinance list or error'), pagination behavior (display/page), and the meaning of key parameters like 'nw' (current/historical) and 'search' (name vs full text). It also notes that MCP context is injected automatically. These details make the tool's behavior predictable and safe.

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?

The description is well-structured with clear sections: summary, Args list, Returns, and Examples. It is fairly long due to the large parameter count, but every line contributes useful information. The front-loaded purpose makes it easy to understand quickly.

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?

For a complex tool with 18 parameters, no output schema, and no schema descriptions, this description is complete: it defines all parameters, explains return values, provides multiple usage examples, and clarifies error behavior. There are no significant knowledge gaps left for an agent.

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?

The schema provides 0% parameter descriptions, but the description's Args section fully documents all 18 parameters, including default values, allowed formats, and Korean translations for codes like 'knd' and 'search'. This completely compensates for the missing schema descriptions and adds meaning beyond raw parameter names.

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 explicitly states 'Search local ordinances (자치법규 목록 조회)' and adds that it covers Korean local ordinances including 조례, 규칙, and other regulations. This clearly identifies the tool's function with a specific verb and resource, and distinguishes it from sibling tools that search national law.

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 gives clear context for when to use this tool (searching local ordinances) and provides practical examples with query, org, and knd filters. It does not explicitly mention when not to use it or name alternative tools, but the scope is clear enough for an agent to select it for local ordinance searches.

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