Skip to main content
Glama
dongguk-rule-mcp

dongguk-rule-mcp

규정의 상위법령 관계

get_rule_upper_laws
Read-onlyIdempotent

Compare laws cited by Dongguk University regulations with current national legislation to check each law's validity, article existence, renamed titles, and amendment or effective-date signals.

Instructions

동국대 규정(또는 한 조문)이 근거로 인용한 국가 법령을 현행 법령 목록과 대조합니다. 법령별로 현행 여부·종류·시행일, 인용한 조문이 지금도 있는지(삭제·없음), 옛 법령명 인용(제명 변경), 규정 개정 뒤 법령·조문 개정, 시행예정 개정을 점검 신호로 보여 줍니다. include_text=true이면 인용이 나온 규정 조문 원문(HTML)과 현행 법령 조문 원문을 나란히 붙이며 comparison에 연결 관계와 전달 범위를 제공합니다. 법령을 인용하지 않은 규정에는 제목으로 고른 주제 후보 법령을 따로 표시합니다. 점검 신호는 충돌·적용 여부의 판정이 아닙니다. 법령 서버 연결 정보가 없거나 운영자가 꺼 둔 서버에서는 확인할 법령명·조문 목록과 설정 안내를 제공하고 include_text=true이면 규정 원문과 법령 본문 미확보 상태를 함께 반환합니다.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "law_id": "<law_id>"
    },
    "name": "get_rule_upper_laws"
  }
}

Input Schema

NameRequiredDescriptionDefault
law_idYesLAW_ID
articleNo선택 조문. 예: 45, 제10조의2. 지정하면 그 조문의 인용만 보고 주제 후보는 생략합니다.
max_lawsNo확인할 법령 수. 인용 법령이 주제 후보보다 먼저입니다.
history_idNoHISTORY_ID (생략=최신)
law_offsetNo이어서 볼 법령의 시작 위치. 법령이 max_laws보다 많으면 응답의 page.nextOffset 값을 넣어 나머지 법령을 이어서 확인합니다.
include_textNotrue이면 인용 규정 조문(조문당 6,000자·합계 24,000자)과 현행 법령 조문(조문당 3,000자)을 대조. 인용 24건까지, 누락·잘림은 partial
include_candidatesNo규정 제목으로 고른 주제 후보 법령 포함 여부

Output Schema

NameRequiredDescriptionDefault
okYes도구 실행 성공 여부
dataNo성공 시 구조화 결과
toolYes실행한 도구 이름
errorNo실패 시 구조화 오류

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.15.13
    • changedInput schema / properties / include_text / description
      Previous value: -"true이면 인용 조문의 현행 법령 원문(조문당 3,000자까지)을 함께 반환"New value: +"true이면 인용 규정 조문(조문당 6,000자·합계 24,000자)과 현행 법령 조문(조문당 3,000자)을 대조. 인용 24건까지, 누락·잘림은 partial"
    • addedInput schema / properties / law_offset
      Added value: +{
      +  "default": 0,
      +  "description": "이어서 볼 법령의 시작 위치. 법령이 max_laws보다 많으면 응답의 page.nextOffset 값을 넣어 나머지 법령을 이어서 확인합니다.",
      +  "maximum": 500,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. Addedv0.15.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, it discloses truncation limits (6,000 chars per rule article, 24,000 total, 3,000 per law article, up to 24 citations, with partial flags for dropped/truncated text), the degraded-server behavior, and the important caveat that the check signals are not determinations of conflict or applicability. That is substantial behavioral context an agent could not get from 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 purpose is front-loaded in the first sentence, followed by output signals, then include_text and fallback behavior, which is a sensible order. It is dense and long, with some clause-packed sentences, but nearly every sentence carries information the agent needs.

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 7-parameter, open-world tool with an output schema, the description covers the scenario space thoroughly: normal comparison, no-citation candidate fallback, pagination, text inclusion limits, and unavailable law server. Nothing critical for correct invocation is missing, and return-shape detail is appropriately left to the 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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: include_text controls side-by-side HTML comparison including truncated-chars behavior, max_laws ordering places cited laws before topic candidates, and law_offset is explained as feeding page.nextOffset to page through remaining laws. Opaque parameters like law_id and history_id get no extra explanation, keeping it from a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: it checks the national laws a Dongguk rule (or a single article) cites against the current statute list. It also enumerates the outputs (currency, type, effective date, deleted articles, renamed laws, post-revision amendments, pending amendments), so the agent knows precisely what it returns. It never names or distinguishes itself from closely related siblings such as verify_rule_citations or get_rule_references, so it falls short of a 5.

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?

It gives clear context for use: a rule/article that cites national law, with a described fallback when the rule cites nothing (topic candidate laws by title) and when the law server is unavailable or disabled (returns law/article list plus configuration guidance). There is no explicit exclusion or named alternative tool for overlapping tasks, which is the main gap.

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