Skip to main content
Glama
dongguk-rule-mcp

dongguk-rule-mcp

규정 인용 관계 조회

get_rule_references
Read-onlyIdempotent

Find regulations and national laws explicitly cited by a Dongguk University rule or article, plus internal rules citing it, with optional current legal text.

Instructions

규정(또는 특정 조문)이 명시적으로 인용한 다른 교내 규정·국가 법령(outgoing)과, 이 규정을 인용하는 교내 규정(incoming, 전문 색인 필요)을 찾습니다. 국가 법령은 법령명·조문을 externalLaws로 정리합니다. include_law_text=true이면 인용된 법령 조문의 현행 원문(최대 8개 조문)을 한국법령 MCP에서 함께 가져옵니다. 인용의 존재와 적용 여부는 다릅니다.

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_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo방향별 최대 표시 건수
law_idYesLAW_ID
articleNo선택 조문. 예: 3, 제10조의2
directionNooutgoing
history_idNoHISTORY_ID (생략=최신). 인용 대상은 현행 목록과 대조합니다.
include_law_textNotrue이면 인용된 국가 법령 조문의 현행 원문을 함께 가져옵니다(조문이 특정된 인용만, 최대 8개). 법령 서버가 응답하지 않아도 규정 인용 결과는 반환합니다.

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.15.13
    • changedInput schema / properties / include_law_text / description
      Previous value: -"true이면 인용된 국가 법령 조문의 현행 원문을 함께 가져옵니다(조문이 특정된 인용만, 최대 3개). 법령 서버가 응답하지 않아도 규정 인용 결과는 반환합니다."New value: +"true이면 인용된 국가 법령 조문의 현행 원문을 함께 가져옵니다(조문이 특정된 인용만, 최대 8개). 법령 서버가 응답하지 않아도 규정 인용 결과는 반환합니다."
  2. Addedv0.15.0

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the read-only, idempotent, open-world annotations, the description discloses operationally important behavior: incoming search depends on a full-text index, law-text fetching is capped at 8 articles, and results are still returned even if the law server is unreachable. It also notes that history_id defaults to the latest version and that citations are reconciled against the current law list.

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 four sentences with the core outgoing/incoming distinction front-loaded, and each sentence carries information. Minor waste comes from repeating the 'max 8 articles' constraint already present in the schema.

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?

For a six-parameter lookup tool with an output schema and read-only annotations, the description covers what is needed to call it: direction semantics, the index prerequisite for incoming, and degraded behavior for law-text fetching. Return-value structure is left to the output schema, which is appropriate.

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 83%, so the schema already documents most parameters, and the description mostly restates them (the 8-article cap, the externalLaws grouping of national law citations). It adds some meaning for history_id by noting citations are matched against the current version, but the baseline 3 is appropriate when the schema does the heavy lifting.

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 states a specific verb and resource — finding regulations or national laws a rule explicitly cites (outgoing) plus campus rules citing it (incoming) — and explains the directional distinction that defines the tool. It does not name any sibling tool, so an agent must infer how this differs from neighboring tools that deal with citations or upper laws.

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 context is implied rather than stated: it mentions that incoming lookups require a full-text index and closes with the caveat that 'citation existence differs from applicability', which hints at applicability-oriented tools. There is no explicit 'use this when / use X instead' routing, leaving the agent to infer the boundary with siblings such as verify_rule_citations or get_rule_upper_laws.

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