Skip to main content
Glama
rabqatab

LexLink

article_citation

Read-onlyIdempotent

Extract legal citations from Korean law articles to identify references to other laws and internal provisions using official law.go.kr data.

Instructions

Extract citations from a law article (조문 인용 조회).

This tool extracts all legal citations referenced by a specific law article. It parses the official hyperlinked citations from law.go.kr HTML pages, providing 100% accurate citation data with zero API cost.

The tool identifies:

  • External citations (references to other laws)

  • Internal citations (references within the same law)

  • Article, paragraph, and item level references

Args: mst: Law MST code (법령일련번호) - get this from eflaw_search or law_search results law_name: Law name in Korean (e.g., "자본시장과 금융투자업에 관한 법률") article: Article number (조번호, e.g., 3 for 제3조) article_branch: Article branch number (조가지번호, e.g., 2 for 제37조의2, default 0) oc: Optional OC override (defaults to env var)

Returns: Citation extraction result with: - success: Whether extraction succeeded - law_id: MST code - law_name: Law name - article: Article display (e.g., "제3조" or "제37조의2") - citation_count: Total number of citations found - citations: List of citation objects with target law, article, paragraph, item - internal_count: Number of same-law citations - external_count: Number of other-law citations

Examples: Get citations from 자본시장법 제3조: >>> article_citation( ... mst="268611", ... law_name="자본시장과 금융투자업에 관한 법률", ... article=3 ... )

Get citations from 건축법 제37조의2:
>>> article_citation(
...     mst="270986",
...     law_name="건축법",
...     article=37,
...     article_branch=2
... )

Workflow: 1. First use eflaw_search(query="법명") to find the law and get MST 2. Then use article_citation(mst=..., law_name=..., article=...) to get citations 3. Optionally use eflaw_service to get the full article text

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mstYes
law_nameYes
articleYes
article_branchNo
ocNo
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering safety and idempotency. The description adds valuable behavioral context beyond annotations: it specifies the data source ('parses official hyperlinked citations from law.go.kr HTML pages'), accuracy claims ('100% accurate citation data'), and cost implications ('zero API cost'). It also describes what types of citations are identified (external, internal, article/paragraph/item level).

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: purpose statement, what it identifies, args, returns, examples, and workflow. Most sentences earn their place by providing essential information. There's some redundancy (the Korean title '조문 인용 조회' appears twice, and the workflow section partially repeats earlier guidance), but overall it's efficiently organized with front-loaded key information.

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?

Given the tool's complexity (5 parameters, 0% schema coverage, no output schema), the description provides comprehensive context. It fully explains all parameters with examples, describes the return structure in detail (including all fields like success, law_id, citations, internal_count, etc.), provides concrete usage examples, and integrates this tool into a broader workflow with sibling tools. This compensates for the lack of structured output schema.

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 carries the full burden of explaining parameters. It provides clear semantic explanations for mst ('Law MST code - get this from eflaw_search or law_search results'), law_name ('Law name in Korean'), article ('Article number'), article_branch ('Article branch number'), and oc ('Optional OC override'). It includes examples showing how to use article_branch for special cases like '제37조의2'. The only minor gap is that oc's purpose could be more explicitly explained.

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 specific action ('extract citations'), target resource ('from a law article'), and scope ('all legal citations referenced by a specific law article'). It explicitly distinguishes this tool's function from sibling tools like eflaw_search (which finds laws) and eflaw_service (which gets article text), establishing clear differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit workflow guidance: 'First use eflaw_search... to find the law and get MST, then use article_citation... to get citations, optionally use eflaw_service to get the full article text.' This clearly defines when to use this tool versus alternatives and establishes prerequisites, with concrete examples showing the sequence.

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

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