Skip to main content
Glama

증명서 다운로드

hometax__certificate__download
Destructive

먼저 호출할 도구: hometax__session__login (같은 account_link_id). 발급된 증명서를 PDF 로 내려받습니다. 결과의 data 에는 발급 식별값(cva_id, rcat_no)이, artifacts[] 에는 PDF 와 서명된 내려받기 주소(download_url)가 담깁니다. 되돌릴 수 없습니다. 기관에서는 이것이 출력이라 출력할 때마다 신청한 발급 매수(발급 한도) 1매를 쓰고, 다 쓰면 증명서를 다시 신청해야 합니다. 취소 기능이 없습니다. cva_id 값은 증명서 신청 결과(apply_auto, apply_with_template 등)에서 얻습니다. rcat_no 값은 apply_auto(data.list_info.rcat_no) 또는 apply_auto_download(최상위)에서 얻고, apply_with_template 의 결과에서는 rcat_no 값이 null 입니다. 이 도구는 기관의 기록을 바꿉니다. 첫 호출은 실행되지 않고, 전송할 내용의 미리보기와 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

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": {
      "cva_id": "<cva_id>",
      "rcat_no": "<rcat_no>"
    },
    "name": "hometax__certificate__download"
  }
}

Input Schema

NameRequiredDescriptionDefault
cva_idYesCertificate ID (증명서 ID, cvaId)
end_dtNoIssued-certificate list lookup end date YYYYMMDD. Optional.
rcat_noYesReceipt number (접수번호, rcatNo)
strt_dtNoIssued-certificate list lookup start date YYYYMMDD. Optional — used when cva_id/rcat_no must be resolved from the list; the default window is the last 3 days.
page_numNoPage number (default 1)
page_sizeNoPage size (default 10)
rpt_pkg_pthNoReport package path (rptPkgPth). Optional — looked up from the certificate list when omitted.
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.7/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, and the description pays that off with concrete detail beyond them: one quota unit consumed per call, no cancellation path, the record being changed at the issuing agency, a 15-minute link lifetime and 7-day file retention, and the rule that changing any argument invalidates the token. This is exactly the irreversible/limited-quota context an agent needs before acting.

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?

The prerequisite and purpose are correctly front-loaded, but the body runs long and mixes several concerns (recovery_receipt handling, job-result recovery, quota, token mechanics) in a dense block. The trailing sentence about XBOSS job creation and the note that the call is "순수 읽기 전용이 아닙니다" read as appended boilerplate that repeats what destructiveHint already says.

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?

There is no output schema, so the description carries the return-value burden and does so: data holds cva_id/rcat_no, artifacts[] holds the PDF and a signed download_url. For a destructive, quota-limited, two-phase tool, the recovery paths and expiry rules leave nothing an agent needs unstated.

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 schema already documents all nine parameters, which sets the baseline at 3. The description still adds provenance the schema does not provide: cva_id comes from the apply results and rcat_no comes from apply_auto (data.list_info.rcat_no) or apply_auto_download, and is null in apply_with_template results. That sourcing detail meaningfully changes how an agent fills the required fields.

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?

"발급된 증명서를 PDF 로 내려받습니다" names a specific verb and resource, and the surrounding text distinguishes it from the sibling apply tools that merely request issuance. An agent can tell this is the final download step rather than the application step without opening the schema.

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?

It states the prerequisite explicitly ("먼저 호출할 도구: hometax__session__login (같은 account_link_id)"), explains the two-call confirmation flow with the exact error code WRITE_CONFIRMATION_REQUIRED, and says what to do when the download link expires (re-call xdata__job__result with job_id). Alternatives and decision points are named rather than implied.

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