Skip to main content
Glama

동국 규정 MCP

규정의 상위법령 관계

get_rule_upper_laws
Read-onlyIdempotent

동국대 규정(또는 한 조문)이 근거로 인용한 국가 법령을 현행 법령 목록과 대조합니다. 법령별로 현행 여부·종류·시행일, 인용한 조문이 지금도 있는지(삭제·없음), 옛 법령명 인용(제명 변경), 규정 개정 뒤 법령·조문 개정, 시행예정 개정을 점검 신호로 보여 줍니다. 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. Changed4 schema fields changed
    • addedInput schema / properties / history_id / minimum
      Added value: +1
    • changedInput schema / properties / history_id / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / law_id / minimum
      Added value: +1
    • changedInput schema / properties / law_id / type
      Previous value: -"number"New value: +"integer"
  2. First observed

TDQS

A4/5.0
Behavior5/5

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

Goes well past the readOnly/openWorld/idempotent annotations: it discloses the graceful-degradation path when the law server is unconfigured or disabled, the size caps and partial-status behavior for text inclusion, and explicitly warns that the check signals are not a conflict/applicability determination. That last caveat is exactly the kind of guidance annotations cannot express.

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?

Purpose is front-loaded in the first sentence, and the conditional behaviors (include_text, no-citation case, unavailable law server) follow in a logical order. It is dense and long for a single description, but nearly every clause carries distinct operational 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 an output schema already covers return shape, the description fills the remaining gaps an agent needs: what the signals mean and do not mean, what happens with no cited laws, and what is returned when the law server is unreachable or disabled. Nothing essential for a correct call appears to be missing.

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

Parameters3/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. The description does add consequence-level meaning for include_text (side-by-side rule text plus current law text, with a comparison field carrying the linkage), but it largely restates schema-documented behavior and says nothing about law_offset pagination or max_laws prioritization.

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?

Opens with a specific verb+resource: comparing the national laws cited by a Dongguk University rule (or a single article) against the current law list. The scope is precise enough that an agent can distinguish it from a generic reference-listing tool, though it never names a sibling to contrast with.

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

Usage Guidelines3/5

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

Usage is implied by the described output (currency checks, repealed-article signals, renamed-law citations), but there is no explicit statement of when to pick this over get_rule_references, verify_rule_citations, or check_rule_updates, and no stated prerequisites such as needing a law-server connection.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.