Skip to main content
Glama

증명서 자동 신청 및 다운로드

hometax__certificate__apply_auto_download
Destructive

먼저 호출할 도구: hometax__session__login (같은 account_link_id). 기본 발급 옵션으로 국세완납증명(Tax Clearance Certificate) 신청을 기관에 접수하고, 발급된 PDF 를 한 번에 내려받습니다. 신청이 먼저 접수되므로 기관에 접수 기록(cvaId, rcatNo)이 남으며 취소 기능이 없습니다. 이 도구에서는 서식과 발급 옵션을 바꿀 수 없습니다(옵션을 정하려면 hometax.certificate.apply.national_tax_payment 를 사용합니다). 이 도구는 기관의 기록을 바꿉니다. 첫 호출은 실행되지 않고, 전송할 내용의 미리보기와 1회용 confirmation_token 을 돌려줍니다(오류 WRITE_CONFIRMATION_REQUIRED). 그 미리보기를 사용자에게 그대로 보여 줍니다. 사용자가 동의한 뒤에만 같은 인자에 그 confirmation_token 을 더해 다시 호출합니다. 사용자의 동의 없이 토큰을 넣지 않습니다. 인자를 하나라도 바꾸면 토큰은 무효가 됩니다. 그때는 토큰 없이 호출해 새 미리보기를 받습니다. 파일: PDF · 기관이 발급한 원본. 결과의 artifacts[] 에 실리고, 내려받기 링크(download_url)는 15분 동안 열리며 파일은 7일 동안 보관됩니다. 링크가 만료되면 결과의 job_id 로 xdata__job__result 를 다시 불러 새 링크를 받습니다. 로그인 없이 받은 결과는 함께 온 recovery_receipt 를 따로 보관했다가, 처음의 job_id 나 pack_run_id 와 함께 xdata__job__result 에 보내세요. 증표로는 그 결과 하나만, 원래 파일 보관 기간이 끝날 때까지 열 수 있습니다. 증표는 공개하지 마세요. 잃어버리면 가입해도 되찾을 수 없습니다. 나중에 로그인해도 증표는 그대로 쓰이고, 다른 결과는 열지 못합니다. 증표가 없으면 처음 계정과 같은 환경(데모 · 정식)에서만 결과를 읽을 수 있습니다. 호출마다 토큰 1소진 요청 처리 시 XBOSS 작업을 생성하고 처리 결과를 저장합니다. 기관 원본의 조회 여부와 별개로 이 호출은 순수 읽기 전용이 아닙니다. 기관 데이터 변경은 도구별 실행 내용과 기존 확인 절차를 따릅니다.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hometax__certificate__apply_auto_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_link_idNo연동 ID(UUID v4). 선택 입력입니다. 비워 두면 서버가 API 키로 연동을 찾아 씁니다. 같은 기관에 인증서를 여러 개 연동했을 때만 직접 입력해 주세요. 기관마다 ID 가 다릅니다.
confirmation_tokenNo첫 호출이 돌려준 1회용 확인 토큰입니다(오류 WRITE_CONFIRMATION_REQUIRED). 같은 인자에 이 값을 그대로 넣어 다시 호출하면 실행됩니다. 10분 뒤 만료되고 한 번만 쓸 수 있습니다.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Far exceeds what the annotations convey. It discloses that the application is actually filed with the institution, leaves a record (cvaId, rcatNo), cannot be cancelled, and that the call is not purely read-only — consistent with readOnlyHint=false and destructiveHint=true. It also documents the two-phase confirmation flow, the WRITE_CONFIRMATION_REQUIRED error, token invalidation on argument change, 15-minute link lifetime and 7-day file retention.

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

Conciseness3/5

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

Front-loads the prerequisite and purpose well, but the body sprawls: the recovery_receipt block, environment-restriction notes and the closing XBOSS/token-consumption sentences are dense and partially tangential to the primary call path. It is informative but longer than the core task requires.

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?

Covers nearly everything an agent needs for a write-with-confirmation tool: prerequisite, irreversible side effect, confirmation protocol, artifact delivery and expired-link recovery via xdata__job__result. Minor gaps remain — the sibling reference is written as 'hometax.certificate.apply.national_tax_payment' rather than the actual tool name, and the distinction from the similarly named apply_auto variant is not stated.

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 the schema does not: the confirmation_token is only obtained from a first preview call, must be replayed with identical arguments, and must not be injected without explicit user consent. The account_link_id linkage to the login call is also clarified.

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?

States a specific compound action (submit a 국세완납증명 / Tax Clearance Certificate application with default options and download the resulting PDF in one call) against a named resource. It explicitly separates itself from the option-configurable variant (hometax.certificate.apply.national_tax_payment), so an agent can tell which certificate tool to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit prerequisite (call hometax__session__login first with the same account_link_id) and an explicit alternative with the condition that selects it (use national_tax_payment when you need to choose form/options). It also states a hard exclusion: options and form cannot be changed here.

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.

Resources