Skip to main content
Glama

현금영수증 개별 발급

hometax__cash_receipt__issue_individual
Destructive

먼저 호출할 도구: hometax__session__login (같은 account_link_id). 현금영수증 한 건을 발급합니다. 소비자의 소득공제용 또는 사업자의 지출증빙용(예: 사업자등록번호로 발급)으로 발급합니다. 발급하면 기관의 원장이 바로 바뀌고 받는 쪽의 소득공제와 지출증빙 자료에 반영됩니다. 취소는 발급한 당일에만 할 수 있고, 날짜가 바뀌면 이 도구로 되돌릴 수 없습니다. 이 도구는 기관의 기록을 바꿉니다. 첫 호출은 실행되지 않고, 전송할 내용의 미리보기와 1회용 confirmation_token 을 돌려줍니다(오류 WRITE_CONFIRMATION_REQUIRED). 그 미리보기를 사용자에게 그대로 보여 줍니다. 사용자가 동의한 뒤에만 같은 인자에 그 confirmation_token 을 더해 다시 호출합니다. 사용자의 동의 없이 토큰을 넣지 않습니다. 인자를 하나라도 바꾸면 토큰은 무효가 됩니다. 그때는 토큰 없이 호출해 새 미리보기를 받습니다. 호출마다 토큰 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": {
      "cshptTrsTypeCd": "<cshptTrsTypeCd>",
      "spstCnfrClCd": "<spstCnfrClCd>",
      "spstCnfrNoEncCntn": "<spstCnfrNoEncCntn>",
      "cshptUsgClCd": "<cshptUsgClCd>",
      "totaTrsAmt": "<totaTrsAmt>"
    },
    "name": "hometax__cash_receipt__issue_individual"
  }
}

Input Schema

NameRequiredDescriptionDefault
tipNoTip amount. Default '0'. Optional.
totaTrsAmtYesTotal transaction amount (총 거래금액, KRW as string, minimum 1)
cshptUsgClCdYesUsage class code (용도구분코드): 0=소득공제용, 1=지출증빙용
spstCnfrClCdYesIssue-means class code (발급수단구분코드): 01=주민등록번호, 02=사업자등록번호, 03=휴대전화번호, 04=카드번호
cshptTrsTypeCdYesTransaction type code (거래유형코드): 01=과세, 02=면세, 03=간이
account_link_idNo연동 ID(UUID v4). 선택 입력입니다. 비워 두면 서버가 API 키로 연동을 찾아 씁니다. 같은 기관에 인증서를 여러 개 연동했을 때만 직접 입력해 주세요. 기관마다 ID 가 다릅니다.
cshptIsnMmoCntnNoMemo content. Optional.
spstCnfrNoEncCntnYesIssue-means number (발급수단번호) matching the class code, digits only. It is sent to the institution exactly as given - never encrypt or hash it, and never put an approval number here.
confirmation_tokenNo첫 호출이 돌려준 1회용 확인 토큰입니다(오류 WRITE_CONFIRMATION_REQUIRED). 같은 인자에 이 값을 그대로 넣어 다시 호출하면 실행됩니다. 10분 뒤 만료되고 한 번만 쓸 수 있습니다.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that the institution ledger changes immediately, that the first call is a dry-run returning a preview plus a one-time confirmation_token (WRITE_CONFIRMATION_REQUIRED), that the token expires in 10 minutes and is single-use, that changing any argument invalidates it, and that an XBOSS job is created per call. This is exactly the mutation/confirmation context the destructiveHint annotation cannot convey.

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 the confirmation workflow are front-loaded and useful, but the closing sentences ('기관 원본의 조회 여부와 별개로 이 호출은 순수 읽기 전용이 아닙니다. 기관 데이터 변경은 도구별 실행 내용과 기존 확인 절차를 따릅니다.') restate the mutation warning already made earlier and add little.

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?

For a nine-parameter destructive write with no output schema, the description covers prerequisites, side effects, the two-step confirmation protocol, and the cancellation window. Only the relationship to the sibling daily_issue tools is left unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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 including the code enums. The description adds only the high-level framing of the two issuance purposes, which loosely maps to cshptUsgClCd; it adds no syntax or format detail beyond the schema. Baseline 3 applies.

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 clarifies the two issuance modes (소비자 소득공제용 vs 사업자 지출증빙용). The '한 건' wording implicitly separates it from the daily_issue siblings, but it never names or contrasts them explicitly.

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?

Gives a concrete prerequisite (call hometax__session__login first with the same account_link_id) and a clear when-not constraint (cancellation only on the issuance day, irreversible after the date rolls over). It does not explicitly route the agent between this tool and the daily_issue variants, which is the main gap.

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