Skip to main content
Glama
zisu17
by zisu17

get_tax_document

Retrieve a specific Korean National Tax Service tax ruling or precedent by document number or ID, returning full text and structured sections such as reply, facts, and legal grounds.

Instructions

국세청 문서 1건의 본문·구조화 필드를 가져온다. ntst_dcm_id(검색 결과의 문서 ID) 또는 document_number 로 지정한다. 해석례는 요지·질의내용·사실관계·회신·관련법령으로, 결정례는 처분개요·청구인주장·처분청의견·심리및판단·결론으로 분해해 반환한다. 문서 종류에 따라 존재하는 절이 다르므로 없는 절은 생략된다. 본문을 원본이 주지 않으면 DETAIL_NOT_AVAILABLE 로 알리고 본문을 생성하지 않는다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
body_limitNo
ntst_dcm_idNo국세법령정보시스템 문서 ID(숫자 18자리)
document_numberNo문서번호. ID 를 모를 때 사용.
include_full_textNo본문 전문 포함 여부

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

The description discloses key behaviors: missing sections are omitted, and if the original does not provide the body, it returns DETAIL_NOT_AVAILABLE and does not generate it. This proactively sets expectations about edge cases and output handling.

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?

The description is concise yet information-dense. Each sentence contributes: purpose, specification method, structure for both document types, handling of missing sections, and fallback for body. No fluff or redundancy.

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 the tool's complexity (different document types with varying fields, potential for missing data), the description is complete. It explains the output structure, edge cases, and fallback behavior. With no output schema provided, the description fully covers what is returned.

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?

The schema already provides descriptions for all four parameters. The tool description adds context for ntst_dcm_id and document_number (how they relate to search results and fallback), and mentions include_full_text indirectly via '본문' but does not elaborate on body_limit. It adds some value beyond the schema, but not complete coverage for all parameters.

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 clearly states the tool fetches one document's body and structured fields, and distinguishes it from search tools by specifying document ID or number. It also explains the two types of documents (해석례 and 결정례) and their corresponding fields, making the purpose unambiguous.

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 provides clear guidance on how to specify the document (by ID or number) and when to expect missing sections. It implies usage after search results (mentioning '검색 결과의 문서 ID') but does not explicitly state not to use for searching or when to choose this over sibling tools. Still, the practical instructions are solid.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zisu17/nts-taxlaw-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server