Skip to main content
Glama

동국 규정 MCP

규정 조문 조회

get_rule_content
Read-onlyIdempotent

LAW_ID를 이미 알고 특정 조·장만 볼 때 사용하는 보조 도구. 관련 발췌는 lookup_dongguk_rule, 별표·서식을 포함한 전문은 get_rule_full_text를 사용하세요.

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

Input Schema

NameRequiredDescriptionDefault
grepNo키워드 포함 조문
headNo상위 N줄
law_idYesLAW_ID
articleNo특정 조문. 예: 48, 제48조, 제10조의2, 부칙 제2조, 부칙(2024.8.27.) 제1조(여러 부칙의 같은 번호는 개정일로 선택)
chapterNo특정 장만
history_idNoHISTORY_ID (생략=최신)

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / head / maximum
      Added value: +10000
    • addedInput schema / properties / head / minimum
      Added value: +1
    • changedInput schema / properties / head / type
      Previous value: -"number"New value: +"integer"
    • 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
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds one behavioral fact beyond them: the tool returns only the requested 조/장, not appendices or forms. It says nothing about behavior when an article is missing, whether the article and chapter filters can be combined, or how results are truncated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, both of which earn their place: the first states scope, the second routes to the correct sibling. The routing constraint is placed immediately after the purpose with no filler or repetition of the title.

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?

An output schema exists, six parameters are fully documented in the schema, and annotations cover safety, so the description only needs to carry purpose and routing—both are present. It is slightly incomplete for a 6-parameter tool in that it never explains interaction between article/chapter and the grep/head limits, but nothing essential for a correct first call is 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 description coverage is 100%, including detailed article syntax ('제10조의2', '부칙(2024.8.27.) 제1조'), so the schema already carries parameter meaning. The description only echoes the 조/장 concept and adds no extra semantics for grep, head, or history_id. Baseline 3 applies 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.

Purpose5/5

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

The description gives a specific verb+resource ('규정 조문 조회') and states the exact scope: retrieve only a specific 조/장 when the LAW_ID is already known. It explicitly distinguishes itself from two named siblings (lookup_dongguk_rule for excerpts, get_rule_full_text for full text with 별표/서식), so an agent can choose without opening any schema.

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 a clear precondition ('LAW_ID를 이미 알고') and names two alternatives with the conditions that select them (excerpts vs. full text including appendices/forms). The remaining gap is discovery: it never says what to do when the article/chapter number is unknown (get_rule_toc exists as a sibling but is not mentioned).

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.