Skip to main content
Glama

ordin_service

Read-onlyIdempotent

Retrieve the complete text of a Korean local ordinance. Provide an ordinance ID or master number to get the full text in JSON, XML, or HTML.

Instructions

Retrieve local ordinance full text (자치법규 본문 조회).

This tool retrieves the complete text of a Korean local ordinance.

Args: id: Ordinance ID (either id or mst is required) mst: Ordinance master number (either id or mst is required) oc: Optional OC override (defaults to env var) type: Response format - "JSON" (default), "XML", or "HTML" ctx: MCP context (injected automatically)

Returns: Full ordinance text or error

Examples: Retrieve by ID: >>> ordin_service(id="000001", type="XML")

Retrieve by MST:
>>> ordin_service(mst="123456", type="XML")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
ocNo
mstNo
typeNoJSON
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true. The description adds useful behavioral context, such as the ability to choose response format (JSON/XML/HTML) and an 'oc' override that defaults to an environment variable. It doesn't elaborate on error cases or rate limits, but it adds value beyond the annotations.

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 a clear purpose statement, argument explanations, return note, and examples. It is slightly verbose due to the inclusion of 'ctx' in the args list (which is auto-injected and not actually in the schema), but it remains efficient and front-loaded.

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 simple read-only retrieval tool with no output schema, the description covers required inputs, response formats, and usage examples. It doesn't detail error responses or explain the 'oc' parameter in depth, but it provides enough information for basic invocation and is consistent with the annotations.

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

Parameters4/5

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

With 0% schema description coverage, the description compensates by explaining each parameter: id, mst, oc, and type, including default and possible values. Examples clarify usage. The 'oc' description is cryptic, but overall the description adds meaning beyond the bare schema titles.

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 'Retrieve local ordinance full text' with the Korean equivalent, using a specific verb (retrieve) and resource (local ordinance full text). It distinguishes itself from sibling search tools like ordin_search, which focus on finding ordinances rather than retrieving the full text.

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 specifies that either id or mst is required, implying the user already has an identifier and needs the full text. Examples show retrieval by ID or MST. While it doesn't explicitly name alternatives or exclusion scenarios, the context is clear enough for an agent to decide when to invoke.

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