Skip to main content
Glama

법령 조문 원문

get_law_article
Read-onlyIdempotent

법령 조문 원문 조회 — 6,000자를 넘으면 잘라서 주고 truncated로 공시한다.

**긴 조문은 잘린다(2026-10-15).** 원문이 6,000자를 넘으면 `truncated: true`와
`content_total_chars`(원문 총 글자수)·`content_shown_chars`·`paragraphs_shown`·
`paragraphs_omitted`·`paragraph_cut`·`truncation_note`가 온다. 그때 content는 조문
전체가 아니다 — 생략된 항을 "없다"고 말하지 말고, ref에 항을 붙여(예: "소득세법 시행령
제155조제20항") 다시 부르면 그 항부터 창을 열어 준다(`requested_paragraph`).
ref에 호를 붙이면(예: "…제26조제1항제5호") `requested_item_found`가 그 호의 실재를 말한다 —
false면 그 호는 본문에 없다(조문 전체를 줬을 뿐이다), null이면 판정 못 함(`requested_item_note`).
**한 항이 상한을 넘으면 호를 붙여라(2026-11-24).** 그 항은 항 지정만으로는 끝까지 안 열린다
(`paragraphs_unreachable`). 지정한 호가 머리 창 밖이면 그 호부터 창을 열고 `requested_item_window:
true`를 싣는다(그 앞 호는 그 응답에 없다). 잘린 자리를 이어 읽을 ref는 `next_item_ref`에 온다.
**긴 별표도 호를 붙이면 그 호 머리표부터 창이 열린다(2026-11-25)** — "…[별표 2] 제19호"(판정은 여전히 null).
목까지 붙이면(예: "…제25조제1항제5호바목") `requested_mok_found`가 그 목의 실재를 같은 뜻으로 말한다.
목 뒤에 세목까지 붙이면(예: "…제26조제1항제5호가목5)") `requested_semok_found`가 그 세목의 실재를 같은 뜻으로
말한다 — false면 그 세목은 없다(`requested_semok_note`에 확인된 범위). 세목 아래 '가)'는 판정하지 않는다.

**코퍼스가 둘이다(2026-08-29)** — 공공계약(국가·지방계약법 계열)과 세법(소득세법·
법인세법·부가가치세법·조세특례제한법·지방세법 등). 축은 법령명으로 자동으로 정해지니
부르는 쪽은 신경 쓸 것이 없다("소득세법 제55조"도 "국가계약법 시행령 제26조"와 똑같이
넣으면 된다). 다만 **답할 때는 어느 법의 조문인지 밝혀라** — 세법 조문을 공공계약
근거로 인용하는 것은 우리가 막을 수 없다.

응답의 `notes`가 비어 있지 않으면 **법률 자체의 미정비 상호인용**이 탐지된
것이다(예: 제5항이 '제2항 각 호'를 인용하나 제2항에 각 호가 없음). 원문은
law.go.kr 현행 그대로이며 우리가 고치지 않는다 — 그 조문을 근거로 답할 때는
notes의 내용을 사용자에게 함께 알리고 단정을 피하라. notes에 `type: "deleted_stub"`이
있으면 **삭제된 조문·별표**다 — 현행 법령에 규정이 없으니 판단 근거로 인용하지 마라.
ref에 지정한 항·호·목만 삭제된 자리여도 같은 표지가 붙고 `requested_ref_deleted`에 그 자리('제3호아목')가
실린다 — 이때 `requested_*_found=true`는 자리가 실재한다는 뜻일 뿐 현행 규정이 있다는 뜻이 아니다.

응답에 `assumption`이 있으면 **법령명을 우리가 추정해 채운 것**이다(예: "시행령
제26조" → 국가계약법 시행령). 지방계약 질문이었다면 틀린 법을 보고 있는 것이니
assumption.hint대로 법령명을 붙여 다시 부르고, 어느 법령 기준인지 사용자에게 밝혀라.
실무 약칭도 같은 자리에 공시된다 — 국계법·지계법, 법령명 뒤의 '영'(=시행령)·'규칙'(=시행규칙)·
'법'(=법률): "국계법 영 50조"는 국가계약법 시행령 제50조로 읽는다(get_law_article_asof·search_law 공통).

**`implementing_note`(및 `implementing_articles`)가 있으면 이 조문의 위임을 받은
하위 조문이 이 서버 안에 있다.** 조문 본문에 사유·요건·수치가 안 보이면 없어서가
아니라 아래로 넘겼기 때문이다 — 거기 적힌 ref를 그대로 get_law_article에 넣어 읽고
답하라(추가 검색 불필요). 본문이 값을 직접 정하고 있으면 본문이 근거다. 하위 조문의
`cites`는 그 조문이 이 조문의 어느 자리를 받았는지 스스로 밝힌 인용이다.

**`delegation_note`가 있으면 이 조문의 일부 값이 하위 규범에 넘겨졌다**(넘긴 자리는
`delegations[].where`). 그 자리의 배점·요율·금액 같은 수치가 조문에 안 보이는 것은
없어서가 아니라 하위 규범(시행령·시행규칙·예규·고시)에 넘겨졌기 때문이다(본문에
직접 적힌 값은 본문이 근거다). 그 자리가 쟁점이면 `delegations[]`의 `how`가 시키는
대로 그 규범을 먼저 읽고 답하라. `in_corpus`가 false면 이 서버 범위 밖이니 **"규정이 없다"고 말하지 말고**
law.go.kr로 안내하라. 조문만 읽고 수치를 단정하는 것이 이 필드가 막으려는 실패다.

**`delegation_coverage_note`가 있으면 이 법령의 위임 관계를 우리가 취득하지 않았다** —
그때 delegations·implementing_articles가 비어 있는 것은 '위임 없음'이 아니라 '못 봄'이다.
본문의 '대통령령으로 정하는' 같은 문구를 직접 보고 하위 규범을 읽어라.

**별표(표)도 같은 도구로 읽는다**(2026-08-23). search_law가 별표 히트로 준 law_ref
("건설기술 진흥법 시행령 [별표 8]")를 그대로 넣으면 표 전문이 온다 — 이때 응답의
`kind`가 "table"이고, `related_article`이 있으면 그 표의 근거 조문이다(표만 인용하고
근거 조문을 빼면 읽는 쪽이 법적 근거를 되짚을 수 없다).

**계약예규·세부기준의 조문도 같은 도구로 읽는다**(2026-09-04). search_references가
준 `source`+`section`을 이어 붙여 넣으면 된다("(계약예규) 용역계약일반조건 제18조").
이때 응답의 `kind`는 "admin_rule"이다 — **법률·시행령이 아니라 행정규칙(예규)**이니
인용할 때 그 신분을 밝혀라. 법령명·정식명 어느 쪽으로 불러도 같은 조문이 온다
("국가를 당사자로 하는 계약에 관한 법률 시행령 제26조" = "국가계약법 시행령 제26조").
조 번호가 없는 행정규칙 단위도 연다(1.74.0): 세부기준 별표("조달청 시설공사 적격심사세부기준
[별표 10]")와 장·절("지방자치단체 입찰시 낙찰자 결정기준 제4장 제6절", 조각은 끝에 "(2/24)").
이때 `notes`가 표 경계·조각 나눔을 밝히니 함께 읽어라.

404(`article_not_found`)에서 `law_in_corpus`가 true면 **그 규범은 우리가 갖고 있고
그 조문번호만 없다**는 뜻이다 — 규범 자체가 없다고 말하지 마라. false면 범위 밖이며,
`corpus_laws`(법령)와 `corpus_admin_rules`(예규·세부기준)가 우리 범위 전부다.

**`law_currency`는 이 규범의 현행 여부를 언제 마지막으로 확인했는지다(2026-09-23).**
`status`가 "verified"가 아니면 `note_currency`가 함께 온다 — "unverified"(대조 실패·
오래됨: 모른다 / 현행판과 개정 이력이 갈림: `current_version_effective_date` 시행 개정분이
우리 판에 빠졌을 수 있음을 안다 — `unmerged_amendment`)·"stale"(현행보다 낡은 구판임을
안다 — `law_status`가 "EXPIRED"면 유효기간이 끝난 실효 고시다)·"unmonitored"(감시 대상 밖).
그때 이 조문을 현행으로 단정해 인용하지 말고 그 사실과 `last_verified_at`을 밝혀라.

Args:
    ref: 정확한 조문 참조 (예: "국가계약법 시행령 제26조") 또는 별표 참조
        (예: "국가계약법 시행규칙 [별표 2]") 또는 예규 조문 참조
        (예: "(계약예규) 용역계약일반조건 제18조")

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": {
      "ref": "<ref>"
    },
    "name": "get_law_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes far beyond the annotations by disclosing truncation at 6,000 characters and the exact fields returned, how to re-call with paragraph/item refs, notes about deleted stubs, assumptions, delegation coverage, 404 semantics, and law currency verification. Annotations only say read-only, idempotent, and open-world.

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?

Very long for a one-parameter tool, but structured with bold headings and front-loads the core purpose and truncation behavior. Most sentences carry edge-case detail; some repetition could be trimmed.

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 no output schema and a single required parameter, the description is thorough enough to handle truncation, delegation, tables, admin rules, 404s, and currency uncertainty. An agent has what it needs to call and interpret correctly.

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?

The single ref parameter has 0% schema description coverage, but the description fully compensates with syntax examples for article, paragraph, item, mok, semok, table, and admin-rule references, including exact string formats.

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?

States a specific verb and resource ('법령 조문 원문 조회') and scopes the tool to law articles, tables, and administrative rules. It does not explicitly distinguish current-law retrieval from get_law_article_asof, leaving that sibling comparison implicit.

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?

Provides extensive conditional guidance: use when search_law returns a law_ref for tables, when search_references returns source+section for admin rules, or when delegation fields point to subordinate articles. It lacks an explicit 'use this instead of get_law_article_asof when...' rule.

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.