Skip to main content
Glama

세법 조문 검색

search_articles
Read-onlyIdempotent

현행 세법 조문을 찾는다. ① 법령명(약칭)+조번호('부가세법 60조', '조특법 29조의8', '소득령 155', '법법52')는 그 조문을 바로 준다(모델 호출 없음). ② 실무 용어('접대비', '경정청구 기한', '간이과세 기준금액')는 조문 전문검색과 같은 말로 쓰인 해석례가 인용한 조문을 후보로 모아 AI 가 관련도 순으로 매긴다. 관련도 순위는 외부 순위 서비스(TypeSafe AI)에 검색어와 후보 조문 일부를 보내 매긴다. AI 를 못 쓰면 전문검색 순으로 답하고 첫 줄에 표시한다. 순위는 검증된 인용이 아니다.

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": {
      "query": "<query>"
    },
    "name": "search_articles"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo최대 결과 수 (기본 8, 최대 20)
queryYes검색어 — 법령 약칭+조번호 또는 실무 용어(조사 없는 명사 위주). 따옴표·AND/OR 구문은 지원하지 않는다(낱말로 쪼갠다)
law_nameNo법령명 필터 — 그 법령의 법·시행령·시행규칙 묶음 안에서. 약칭(조특법·부가세법) 가능

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / law_name / description
      Previous value: -"법령명 필터 (부분 일치, 예: '소득세법')"New value: +"법령명 필터 — 그 법령의 법·시행령·시행규칙 묶음 안에서. 약칭(조특법·부가세법) 가능"
    • changedInput schema / properties / query / description
      Previous value: -"검색어 (명사 위주, 구문검색은 따옴표)"New value: +"검색어 — 법령 약칭+조번호 또는 실무 용어(조사 없는 명사 위주). 따옴표·AND/OR 구문은 지원하지 않는다(낱말로 쪼갠다)"
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses a significant data flow: the query and part of the candidate articles are transmitted to an external ranking service (TypeSafe AI). It also describes the fallback behavior (full-text order, flagged on the first line) and warns that the ranking is not a verified citation — behavior an agent could not infer from annotations or schema.

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 clause and the two modes are enumerated, so the structure is easy to scan. The sentences are dense, and the external-service sentence is awkwardly placed after the mode explanation rather than being flagged as a caveat up front, but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the burden of describing results, yet it never says what a hit looks like — article text, citation metadata, relevance score, or snippet. The search mechanism and ranking caveat are thoroughly covered, but an agent cannot predict the response shape before calling.

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 by showing the accepted query grammar through concrete abbreviation patterns, including truncated forms like '법법52' and '소득령 155' that aren't spelled out in the schema. It does not elaborate on limit or law_name beyond what the schema already says.

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 names a specific verb (찾는다) and resource (현행 세법 조문), then splits the behavior into two clearly labelled modes: a direct citation lookup by law abbreviation plus article number, and a term-based candidate search ranked by AI. A caller can immediately tell this returns statute text, not cases, interpretations, or annexes, which is what separates it from the surrounding search_* siblings.

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?

The numbered ①/② structure gives explicit when-to-use guidance keyed to input shape: law-name-plus-article-number for pinpoint lookup, practical terminology for exploratory search, with concrete examples ('부가세법 60조', '접대비', '경정청구 기한'). It also states the degraded path when AI ranking is unavailable, but it never routes the agent to a named sibling (e.g., interpretations or cases) for the other document types.

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.