Skip to main content
Glama

lsDelegated_service

Read-onlyIdempotent

Retrieve delegated laws, rules, and ordinances from a parent law. Shows the delegation hierarchy and which specific articles grant authority.

Instructions

Retrieve delegated laws/rules/ordinances (위임 법령 조회).

This tool retrieves information about laws, administrative rules, and local ordinances that are delegated by a parent law. Shows the delegation hierarchy and which specific articles delegate authority.

⚠️ Note: This API does NOT support HTML format (only XML/JSON).

Args: id: Law ID (required if mst not provided) mst: Law master number (required if id not provided) oc: Optional OC override (defaults to env var) type: Response format - "JSON" (default) or "XML" (HTML not available for this endpoint) ctx: MCP context (injected automatically)

Returns: Delegation hierarchy with delegated laws/rules/ordinances or error

Examples: Retrieve delegations for 초·중등교육법: >>> lsDelegated_service(id="000900", type="XML")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
ocNo
mstNo
typeNoJSON
Behavior5/5

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

The description adds valuable behavioral details beyond the readOnly/idempotent annotations: it warns about the lack of HTML support, explains the id/mst dependency, and clarifies the response type default. This helps the agent anticipate API constraints.

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-structured with a clear one-line summary, then args, returns, and an example. Every sentence carries informative weight and there is no redundant text.

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?

Even without an output schema, the description covers the return type, mutual exclusivity of id/mst, and format limitations. This is sufficient for an agent to invoke the tool correctly in context.

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 zero schema descriptions, the description fully compensates by explaining every parameter, including optionality, defaults, and the required id/mst interplay. The example demonstrates concrete usage.

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 retrieves delegated laws/rules/ordinances and shows the delegation hierarchy, distinguishing it from sibling search/service tools. The verb 'retrieve' plus the specific resource makes the purpose unambiguous.

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 the tool: to inspect delegation relationships from a parent law. However, it does not explicitly name alternatives or state when not to use it, so it falls short of a 5.

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