Skip to main content
Glama

legal_analysis

Read-onlyIdempotent

Verify Korean legal citations, check precedent status, determine applicable law version, or map impact of a statute. Choose analysis mode for precise legal research.

Instructions

Korean-law-mcp — [정밀분석] 검증·분석 4종 통합. mode: verify_citations=텍스트 속 조문 인용('민법 제750조' 등)이 실존하는지 법제처 DB 교차검증, LLM 환각 방지(text 필수) | cite_check=판례 생사 확인 — 사건번호로 후속 인용 역추적+변경·폐기 감지, 한국형 Citator(caseNumber 필수) | applicable_law=사건 시점에 시행되던 법령 버전+그 시점 조문+부칙 경과조치, 행위시법 판단(lawName+date 필수, jo 선택) | impact_map=한 조문을 인용한 판례·헌재·해석례·행심·조례 역방향 그래프+mermaid(lawName+jo 필수)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
joNo[impact_map 필수, applicable_law 선택] 조문 번호 (예: '제103조', '제10조의2')
dateNo[applicable_law 필수] 기준일 — 행위·계약·처분 시점 (예: '2023-05-10', '20230510')
modeYes분석 유형 (도구 설명의 mode 표 참조)
textNo[verify_citations 필수] 검증할 법률 텍스트 (LLM 답변/계약서 등 조문 인용 포함 문자열)
displayNo[cite_check] 후속 인용 판례 최대 표시 수 (기본 20)
lawNameNo[applicable_law·impact_map 필수] 법령명 (예: '민법', '도로교통법')
deepScanNo[cite_check] 후속 인용 상위 판례 본문 정밀 스캔 (기본 true, false면 빠르지만 변경·폐기 감지 생략)
caseNumberNo[cite_check 필수] 사건번호 (예: '2013다61381', 문장 포함 가능)
maxCitationsNo[verify_citations] 검증할 최대 인용 개수 (기본 15, 많을수록 느림)
includeMermaidNo[impact_map] mermaid 그래프 코드 출력 (기본 true)
includeOrdinancesNo[impact_map] 자치법규 인용 검색 포함 (기본 true, false면 전국 조례 팬아웃 생략)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv4.9.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint as safe. The description adds substantial behavioral context beyond annotations: verify_citations cross-checks against the law DB to prevent LLM hallucination; cite_check performs reverse citation tracking and detects changes/abandonment; applicable_law retrieves the correct law version with transitional provisions; impact_map generates a reverse reference graph with mermaid output. It also discloses behavior for optional parameters like deepScan (default true, skipping detection if false). No contradiction with 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 compact and information-dense, covering four modes in a single paragraph without excess verbiage. It is front-loaded with the title 'Korean-law-mcp — [정밀분석] 검증·분석 4종 통합.' However, the structure mixes Korean and English with pipe separators, which reduces scanability for an English-speaking AI agent. A bulleted or sectioned format would improve clarity without sacrificing conciseness.

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?

Given the high complexity (11 parameters, 4 modes, no output schema), the description provides adequate contextual coverage: it explains the purpose and required inputs for each mode, hints at output types (e.g., 'mermaid 그래프 코드 출력' for impact_map, '법령 버전+그 시점 조문+부칙 경과조치' for applicable_law), and details behavior like default settings. It does not fully specify return structures, but without an output schema, that is acceptable. The description could be more complete by clarifying what verify_citations returns (e.g., a list of validated citations).

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?

Schema description coverage is 100%, so baseline is 3, but the description adds significant value: it groups parameters by mode, specifies which parameters are required for each mode (using '필수' markers), provides clear examples (e.g., '제103조', '2023-05-10', '2013다61381'), and explains defaults (e.g., '기본 15' for maxCitations, '기본 true' for deepScan). This meaningfully enriches the bare schema descriptions.

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 it is an integrated verification/analysis tool for Korean law with four distinct modes (verify_citations, cite_check, applicable_law, impact_map), each with a specific verb and resource (e.g., '검증·분석 4종 통합' and 'mode: verify_citations=텍스트 속 조문 인용...이 실존하는지 법제처 DB 교차검증'). This clearly distinguishes it from sibling tools like search_law or get_law_text, which are for retrieval, not analysis.

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 provides clear usage context by specifying required parameters per mode (e.g., 'text 필수' for verify_citations, 'caseNumber 필수' for cite_check, 'lawName+date 필수' for applicable_law, 'lawName+jo 필수' for impact_map). It implies when each mode is appropriate but does not explicitly state when not to use this tool or list alternatives (e.g., using get_law_text for plain text retrieval). However, the mode selection paradigm effectively guides the agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/episodic-rush/korean-law-mcp-unclean'

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