Skip to main content
Glama

홈택스 원천세 신고 삭제신청 제출

hometax__tax__withholding__delete_request__submit
Destructive

REQUIRES prior hometax__session__login call with same account_link_id. prepare 로 확인한 원천세 신고의 삭제신청을 기관에 제출합니다. 기관이 검토해 삭제하므로 제출이 곧 삭제 확정은 아닙니다. 되돌릴 수 없는 기관 쓰기라 사용자의 제출 확인과 동의 값을 명시해야 합니다. This writes to the institution. The first call is not executed: it returns a preview of exactly what will be sent and a one-time confirmation_token (error WRITE_CONFIRMATION_REQUIRED). Show that preview to the user as it is. Only after the user agrees, call again with the same arguments plus that confirmation_token. Never add the token without the user's agreement. Changing any argument makes the token invalid; call without the token to get a new preview. 호출마다 토큰 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": {
      "businessNo": "<businessNo>",
      "sourceJobId": "<sourceJobId>",
      "expectedSnapshotHash": "<expectedSnapshotHash>",
      "confirmDeleteRequest": "<confirmDeleteRequest>"
    },
    "name": "hometax__tax__withholding__delete_request__submit"
  }
}

Input Schema

NameRequiredDescriptionDefault
taxCodeNo세목 코드입니다. 원천세를 뜻하는 14 만 받으며 입력하지 않으면 14 입니다.14
businessNoYes삭제신청할 원천세 신고의 사업자등록번호입니다. 하이픈 없이 숫자 10자리로 입력하며 이전 단계 작업의 사업자와 다르면 403 으로 거절합니다.
sourceJobIdYes이어서 진행할 이전 단계 작업의 job_id 를 그대로 입력합니다(job_ 으로 시작하는 작업 번호). 제출 준비(prepare) 결과 가운데 신청인 이름과 연락처, 개인정보 동의가 모두 들어가 준비가 끝난 결과(ready_for_submission 이 true)를 받습니다. 같은 조직과 환경, 같은 기관 연결에서 성공한 원천세 삭제신청 작업이어야 하고 아니면 진행하지 않고 거절하며, 받지 않는 상태의 결과이면 409 로 거절합니다.
account_link_idNo연동 ID(UUID v4). 선택 입력입니다. 비워 두면 서버가 API 키로 연동을 찾아 씁니다. 같은 기관에 인증서를 여러 개 연동했을 때만 직접 입력해 주세요. 기관마다 ID 가 다릅니다.
confirmation_tokenNo첫 호출이 돌려준 1회용 확인 토큰입니다(오류 WRITE_CONFIRMATION_REQUIRED). 같은 인자에 이 값을 그대로 넣어 다시 호출하면 실행됩니다. 10분 뒤 만료되고 한 번만 쓸 수 있습니다.
confirmDeleteRequestYes삭제신청을 실제로 제출한다는 최종 확인값입니다. 접수된 삭제신청은 되돌릴 수 없으므로 사용자 동의를 받았을 때 JSON 불리언 true 로 입력합니다. 빠지거나 false 이면 기관에 아무것도 보내지 않고 최종 확인이 필요하다는 오류(422)로 거절하고, 문자열로 쓴 true 나 숫자 1 은 입력 오류로 거절합니다. 제출 결과는 삭제신청 접수이고 삭제가 확정된 것은 아닙니다. 이 값도 확인 토큰이 가리키는 요청 본문에 들어가므로 확인 토큰을 받는 첫 요청부터 함께 입력합니다. 나중에 더하면 본문이 달라져 확인 토큰을 다시 받아야 합니다.
expectedSnapshotHashYessourceJobId 작업 결과의 snapshot_hash 를 그대로 입력합니다(소문자 16진수 64자리). 그 작업의 내용과 맞지 않으면 진행하지 않고 작성 내용이 바뀌었다는 오류(409)로 거절합니다.

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?

Goes well beyond annotations: discloses the preview/confirmation_token handshake, one-time use, 10-minute expiry, argument-change invalidation, that submission is acceptance not confirmed deletion, the 403/409/422 rejection conditions, and the side effect of creating an XBOSS job. Consistent with destructiveHint=true and readOnlyHint=false.

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 critical flow is front-loaded and clear, but the text repeats itself: the English 'This writes to the institution' duplicates the preceding Korean sentence and the annotations, and the closing sentences about XBOSS job creation and '기관 데이터 변경은 도구별…' read as boilerplate appended per call.

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?

For a destructive, token-gated write with no output schema, the description covers the preview return, the mutation's non-finality, prerequisite state, and failure modes — enough for an agent to drive the two-step flow correctly without guessing.

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 baseline is 3, but the description adds real meaning: confirmation_token is issued only on the WRITE_CONFIRMATION_REQUIRED error and must be reused with identical arguments, confirmDeleteRequest must be a JSON boolean true present from the first call, and expectedSnapshotHash must match the sourceJobId snapshot.

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 verb and resource: submit the deletion request for a withholding tax report already verified via prepare. It also names the prerequisite step family (prepare, session login) so the agent can distinguish this submit tool from prepare/receipt/history siblings without opening schemas.

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?

Explicit prerequisites (prior hometax__session__login with the same account_link_id, sourceJobId from a completed prepare with ready_for_submission true), explicit two-phase usage (first call returns preview only, second call with confirmation_token executes), and explicit when-not conditions (no token without user agreement, changing arguments invalidates the token).

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