Skip to main content
Glama

지방소득세 특별징수 신고 대상 저장

wetax__tax__local_income__special_withholding__target_save
Destructive

먼저 호출할 도구: wetax__session__login (같은 account_link_id). 기관에 저장합니다. 귀속 연월, 지급 연월과 소득 종류별 한 줄(인원, 과세표준, 특별징수 지방소득세)을 저장합니다. 귀속 연월은 지급 연월보다 늦을 수 없고, 과세표준이 있는 줄은 인원이 있어야 합니다. 납부지연 일수를 비우면 위택스가 계산한 값을 씁니다. 요청 처리 시 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": {
      "dclr_id": "<dclr_id>",
      "attribution_year_month": "<attribution_year_month>",
      "payment_year_month": "<payment_year_month>",
      "income_rows": "<income_rows>"
    },
    "name": "wetax__tax__local_income__special_withholding__target_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
dclr_idYes신고 식별자입니다. 신고인 저장이 돌려준 값을 그대로 넣습니다.
income_rowsYes소득 종류별로 한 줄씩 넣는 목록입니다. 줄은 1개에서 12개까지이고 같은 소득 종류를 두 줄에 쓰지 않습니다. 줄마다 소득 종류 코드(income_type_code), 인원(headcount), 과세표준(tax_base_amount), 특별징수 세액(withheld_local_income_tax)을 보냅니다. 인원은 과세표준이 0 보다 크면 1 이상이어야 하고, 특별징수 세액은 10원 미만을 버리고 저장합니다.
filing_cycleNo신고 주기입니다. 매월 신고(monthly)만 받으며, 보내지 않으면 monthly 입니다.
account_link_idNo연동 ID(UUID v4). 선택 입력입니다. 비워 두면 서버가 API 키로 연동을 찾아 씁니다. 같은 기관에 인증서를 여러 개 연동했을 때만 직접 입력해 주세요. 기관마다 ID 가 다릅니다.
payment_year_monthYes소득을 지급한 연월입니다. 202609 처럼 여섯 자리로 넣습니다.
attribution_year_monthYes소득이 귀속되는 연월입니다. 202608 처럼 여섯 자리로 넣고, 지급 연월보다 늦을 수 없습니다.
late_payment_day_countNo납부 지연 일수입니다. 보내지 않으면 기관이 계산한 날수를 쓰고, 보내면 그 날수와 같은지 확인해 다르면 저장하지 않습니다.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / attribution_year_month / description
      Previous value: -"Attribution month, YYYYMM."New value: +"소득이 귀속되는 연월입니다. 202608 처럼 여섯 자리로 넣고, 지급 연월보다 늦을 수 없습니다."
    • changedInput schema / properties / dclr_id / description
      Previous value: -"Draft filing ID returned by the declarant step."New value: +"신고 식별자입니다. 신고인 저장이 돌려준 값을 그대로 넣습니다."
    • changedInput schema / properties / filing_cycle / description
      Previous value: -"Filing cycle. Only monthly is supported."New value: +"신고 주기입니다. 매월 신고(monthly)만 받으며, 보내지 않으면 monthly 입니다."
    • changedInput schema / properties / income_rows / description
      Previous value: -"One row per income type: income_type_code, headcount, tax_base_amount, withheld_local_income_tax."New value: +"소득 종류별로 한 줄씩 넣는 목록입니다. 줄은 1개에서 12개까지이고 같은 소득 종류를 두 줄에 쓰지 않습니다. 줄마다 소득 종류 코드(income_type_code), 인원(headcount), 과세표준(tax_base_amount), 특별징수 세액(withheld_local_income_tax)을 보냅니다. 인원은 과세표준이 0 보다 크면 1 이상이어야 하고, 특별징수 세액은 10원 미만을 버리고 저장합니다."
    • changedInput schema / properties / late_payment_day_count / description
      Previous value: -"Days late, when paying after the due date."New value: +"납부 지연 일수입니다. 보내지 않으면 기관이 계산한 날수를 쓰고, 보내면 그 날수와 같은지 확인해 다르면 저장하지 않습니다."
    • changedInput schema / properties / payment_year_month / description
      Previous value: -"Month the income was paid, YYYYMM."New value: +"소득을 지급한 연월입니다. 202609 처럼 여섯 자리로 넣습니다."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations it discloses real behavior: an XBOSS job is created on each request, the result is persisted, the call is explicitly not pure read-only, and unset late_payment_day_count falls back to the institution's computed value. It never says what existing saved data this overwrites or whether it is idempotent, which matters given destructiveHint=true.

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

Conciseness4/5

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

The prerequisite call is front-loaded before the save semantics, then validation rules, then side effects, which is a sensible order. The closing sentence ('기관 데이터 변경은… 기존 확인 절차를 따릅니다') is vague boilerplate that carries no actionable information.

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 7-parameter destructive save with no output schema, the description covers the prerequisite, key data constraints, default handling, and the fact that a background job is created. The remaining gap is overwrite/repeat-call behavior relative to the sibling submit and cancel steps.

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 description coverage is 100%, so all seven parameters are already documented in the schema; the description mostly restates them (row shape, late-day default). It does add cross-field rules — attribution month may not be later than payment month, and a row with a tax base requires headcount — which earns the baseline rather than more.

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?

The description names a specific verb and resource ('귀속 연월, 지급 연월과 소득 종류별 한 줄…을 저장합니다' saved to the institution), so an agent knows this writes special-withholding report target data. It does not, however, distinguish this from the adjacent declarant_save/statement_save/adjustment_save siblings, which are steps in the same flow.

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

Usage Guidelines3/5

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

It gives one concrete sequencing rule — call wetax__session__login first with the same account_link_id — which is genuinely useful ordering context. But there is no guidance on when to pick this over the other *_save siblings in the same family, nor any exclusion or precondition beyond login.

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