Skip to main content
Glama

4대보험 공제 재료

payroll_pack__insurance_deduction_material_v1__generate
Read-only

Composite insurance-deduction material v1: combines NHIS, NPS, and COMWEL employment billing notice steps, then returns computed premium totals. The amounts are institution-notice totals billed to the workplace, including BOTH employee and employer portions (employment insurance is the unemployment-benefit portion only); they are NOT the employee payroll-deduction amounts, so compute the employee share separately. Requires prior session login for 건강보험·국민연금·고용산재. Tax fields remain out of scope. One 고지 (고지년월 + 고지차수) reissued as several NHIS 작성회차 (WRT_CHASU) resolves to the newest revision. When no row key or filter narrows the search to one 고지, each summary uses the newest 고지 of its provider (latest 고지년월, then latest round within it); a tie, or a row whose age cannot be read, stays skipped unless the provider-specific row key disambiguates it. No account_link_id is needed here: each step finds its own institution link. If computed is null the result could not be assembled: read computed_error for the reason and do not present the result as complete. Two shapes carry that case: this envelope with partial set to true (we fetched everything - the legs hold it - but could not calculate), or an error whose data carries the same envelope. partial is true whenever the result is incomplete, whether a leg failed or the calculation did. Files: a document generated from this result, as Excel (xlsx) only when requested in output_formats, listed in artifacts[] of the result with a download_url that works for 15 minutes; each file is kept for 7 days. If a link has expired, call xdata__job__result with the pack_run_id from the result for fresh links. For an anonymous result, keep its private recovery_receipt and send it with the original job_id or pack_run_id to xdata__job__result. It grants access to that result only, until the original file retention expires. Do not publish it. Losing it cannot be repaired by signing up. The receipt also works if the client later signs in; it does not grant access to other results. Without a receipt, results require the original account and lane. 호출마다 토큰 1소진

Input Schema

NameRequiredDescriptionDefault
goji_roundNoOptional NHIS notice round
nps_row_keyNoOptional NPS row key from pension notice search. Without it the newest notice is used; pass it to summarize an older notice or to settle a tie between equally new notices
billing_yearYesCOMWEL billing year in YYYY format
nhis_row_keyNoOptional NHIS row key from premium notice search. Without it the newest notice is used; pass it to summarize an older notice or to settle a tie between equally new notices
billing_monthYesCOMWEL billing month 1-12 (string or integer)
output_formatsNoOptional. Also return this result as a file (Excel (xlsx)) in artifacts[] of the result. Omit it for data only.
idempotency_keyNoOptional outer idempotency key; leg keys are derived deterministically from this value.
nhis_document_idNoNHIS summary document: BMBB_030=regular, BMBB_050=adjustedBMBB_030
installment_roundYesNPS installment round: 1=ED02, 2=ED08
notice_year_monthYesTarget notice year-month in YYYYMM format
business_management_noNoOptional COMWEL business management number; defaults to the logged-in workplace

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / nhis_row_key / description
      Previous value: -"Optional NHIS row key from premium notice search, used only to disambiguate multiple exact matches"New value: +"Optional NHIS row key from premium notice search. Without it the newest notice is used; pass it to summarize an older notice or to settle a tie between equally new notices"
    • changedInput schema / properties / nps_row_key / description
      Previous value: -"Optional NPS row key from pension notice search, used only to disambiguate multiple exact matches"New value: +"Optional NPS row key from pension notice search. Without it the newest notice is used; pass it to summarize an older notice or to settle a tie between equally new notices"
  2. Changed1 schema field changed
    • addedInput schema / properties / output_formats
      Added value: +{
      +  "description": "Optional. Also return this result as a file (Excel (xlsx)) in artifacts[] of the result. Omit it for data only.",
      +  "items": {
      +    "enum": [
      +      "xlsx"
      +    ],
      +    "type": "string"
      +  },
      +  "minItems": 1,
      +  "type": "array",
      +  "uniqueItems": true
      +}
  3. First observed

TDQS

A3.8/5.0
Behavior5/5

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

Annotations only say read-only/non-destructive, and the description goes far beyond that: per-call token cost, partial/computed_error failure semantics, the two failure envelopes, 15-minute download links and 7-day file retention, refresh via xdata__job__result, and the anonymous recovery_receipt contract (do not publish, cannot be repaired). These are exactly the operational traits an agent cannot get from structured fields.

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

Conciseness2/5

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

A single dense run-on paragraph mixing English and Korean, where the most important caveat (these are NOT the employee deduction amounts) is buried mid-sentence and the receipt/artifact plumbing occupies as much space as the conversion rule. The content mostly earns its place, but the packing and ordering make it hard to scan.

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 an 11-parameter composite with no output schema and only safety annotations, the description supplies the return-value shape (artifacts[], computed, partial, computed_error), the failure envelopes, and the recovery path, which is close to sufficient. What remains missing is any indication of relative cost/latency across the three leg fetches or a fallback when only one provider link is missing.

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; the description adds real semantics on top by explaining that a 고지 reissued as multiple NHIS 작성회차 resolves to the newest revision, and that row keys exist to disambiguate ties or reach an older notice. It also ties output_formats to artifact behavior. It does not explain how the required notice_year_month / installment_round / billing_year / billing_month map onto the three provider legs, which would have earned a 5.

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?

Opens with a specific verb+resource: combines NHIS, NPS and COMWEL billing notice steps and returns computed premium totals. The second sentence sharply delimits the output ('institution-notice totals billed to the workplace, including BOTH employee and employer portions ... NOT the employee payroll-deduction amounts'), which prevents the most likely misuse. It does not, however, distinguish itself from the sibling payroll_pack__premium_summary_v1__generate or employment_insurance_summary_v1__generate, which an agent would need to choose between.

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?

Gives prerequisites ('Requires prior session login for 건강보험·국민연금·고용산재') and an explicit negative rule ('No account_link_id is needed here'), plus what to do when computed is null. But it never says when to use this pack instead of the closely-named sibling packs, so alternative selection is left to inference.

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