Skip to main content
Glama

연말정산 건강보험 상세 조회

nhis_edi__hr_payroll__year_end_settlement__detail

먼저 호출할 도구: nhis_edi__session__login (같은 account_link_id). 수신문서 목록에서 직장가입자 보험료 연말정산 산출내역서 행을 찾아 열면 가입자별 행과 열을 받습니다. 산출내역서가 목록에 없으면 행을 찾지 못했다는 결과가 옵니다. 로그인한 호출이면 첫 요청 전에 request_idempotency_key 값을 만들어 저장하세요. 응답을 받지 못한 그 요청을 되찾을 때만 같은 인자와 함께 그 값을 다시 보내고, 새로 실행할 때는 새 값을 쓰세요. 이 값 없이 다시 부르면 새 요청이 됩니다. 계정 없이 맛보기로 부를 때는 이 선택 칸을 쓸 수 없습니다. 기관 업무에 따로 있는 idempotency_key 칸은 다른 칸이니 그대로 두세요. 호출마다 토큰 1소진 요청 처리 시 XBOSS 작업을 생성하고 처리 결과를 저장합니다. 기관 원본의 조회 여부와 별개로 이 호출은 순수 읽기 전용이 아닙니다. 기관 데이터 변경은 도구별 실행 내용과 기존 확인 절차를 따릅니다.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "nhis_edi__hr_payroll__year_end_settlement__detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
row_keyNo가장 최근 목록 결과의 행 키(예: row:3). 그 목록 안의 자리를 가리키며 문서의 고정 번호가 아닙니다. 다시 쓰기 전에 같은 기간과 조건으로 목록을 다시 조회해 주세요.
to_dateNo조회 종료일 YYYYMMDD. 입력하지 않으면 오늘입니다.
form_nameNo서식 이름으로 문서를 거릅니다.
from_dateNo조회 시작일 YYYYMMDD. 입력하지 않으면 3개월 전입니다.
row_indexNo앞선 목록 결과가 돌려준 그 행의 행 번호. 받은 값을 그대로 입력합니다(0 부터 세지 않을 수 있습니다. 예: 국민연금 행은 1 부터 세는 rnum 입니다).
goji_roundNo고지 차수.
account_link_idNo연동 ID(UUID v4). 선택 입력입니다. 비워 두면 서버가 API 키로 연동을 찾아 씁니다. 같은 기관에 인증서를 여러 개 연동했을 때만 직접 입력해 주세요. 기관마다 ID 가 다릅니다.
document_statusNo문서 상태로 문서를 거릅니다.
notice_year_monthNo고지 연월 YYYYMM.
row_text_containsNo행의 글자에 이 값이 들어 있는 행을 고릅니다.
cell_text_containsNo칸의 글자에 이 값이 들어 있는 행을 고릅니다.
request_idempotency_keyNo로그인한 호출에서 응답을 못 받은 같은 요청을 되찾을 때 쓰는 선택 값입니다. 쓰는 법은 도구 설명에 있습니다.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / request_idempotency_key / description
      Previous value: -"Optional same-request recovery key for authenticated calls; see the tool description."New value: +"로그인한 호출에서 응답을 못 받은 같은 요청을 되찾을 때 쓰는 선택 값입니다. 쓰는 법은 도구 설명에 있습니다."
  2. Changed10 schema fields changed
    • changedInput schema / properties / cell_text_contains / description
      Previous value: -"Partial cell text match"New value: +"칸의 글자에 이 값이 들어 있는 행을 고릅니다."
    • changedInput schema / properties / document_status / description
      Previous value: -"Document status filter"New value: +"문서 상태로 문서를 거릅니다."
    • changedInput schema / properties / form_name / description
      Previous value: -"Form name filter"New value: +"서식 이름으로 문서를 거릅니다."
    • changedInput schema / properties / from_date / description
      Previous value: -"From date YYYYMMDD (default: 3 months ago)"New value: +"조회 시작일 YYYYMMDD. 입력하지 않으면 3개월 전입니다."
    • changedInput schema / properties / goji_round / description
      Previous value: -"Notice round (고지 차수)"New value: +"고지 차수."
    • changedInput schema / properties / notice_year_month / description
      Previous value: -"Notice year-month YYYYMM"New value: +"고지 연월 YYYYMM."
    • changedInput schema / properties / row_index / description
      Previous value: -"Row index the prior list returned for the chosen row - echo that value back as-is (not necessarily 0-based; e.g. NPS rows are 1-based rnum)"New value: +"앞선 목록 결과가 돌려준 그 행의 행 번호. 받은 값을 그대로 입력합니다(0 부터 세지 않을 수 있습니다. 예: 국민연금 행은 1 부터 세는 rnum 입니다)."
    • changedInput schema / properties / row_key / description
      Previous value: -"Row key from the most recent list result (for example row:3). It marks the row's position in that list, not a permanent document id - call the list again with the same period and filters before reusing it."New value: +"가장 최근 목록 결과의 행 키(예: row:3). 그 목록 안의 자리를 가리키며 문서의 고정 번호가 아닙니다. 다시 쓰기 전에 같은 기간과 조건으로 목록을 다시 조회해 주세요."
    • changedInput schema / properties / row_text_contains / description
      Previous value: -"Partial row text match"New value: +"행의 글자에 이 값이 들어 있는 행을 고릅니다."
    • changedInput schema / properties / to_date / description
      Previous value: -"To date YYYYMMDD (default: today)"New value: +"조회 종료일 YYYYMMDD. 입력하지 않으면 오늘입니다."
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=false, and the description reinforces this by warning that the call is 'not purely read-only' and that processing creates an XBOSS task while storing the result, plus a one-token cost per call. It also spells out idempotency semantics (when to reuse vs. generate a new request_idempotency_key, and that omitting it turns a retry into a new request), which is real behavior an agent could not infer. The closing line about institution data changes deferring to per-tool confirmation procedures is vague but not contradictory.

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 and the core find-row-then-open action are front-loaded, followed by failure behavior and then idempotency mechanics, so the ordering is sensible. It is dense and revisits the idempotency key across several sentences, but each sentence carries distinct operational information rather than filler.

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 12-parameter, zero-required tool with no output schema, the description covers the essentials: the required prior login, the list-then-open flow, the not-found outcome, per-call token cost, and the back-end side effects. It does not describe the shape of the returned rows/columns in any detail, but the schema already documents every input and no output schema exists to rely on.

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 goes beyond it by explaining the operating rules for request_idempotency_key (reuse only to recover an unanswered request, not for fresh executions, unavailable for guest/no-account calls, and distinct from the institution-side idempotency_key field). It also ties account_link_id to the login step, which the schema only describes in isolation.

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 states a concrete verb and resource: locate the 직장가입자 보험료 연말정산 산출내역서 row in the received-documents list and open it to obtain per-subscriber rows and columns. That is specific enough to distinguish it from generic notice lookups, but it never names or contrasts the closest siblings (received_documents__detail, edi_electronic_notices__detail), leaving the agent to infer the boundary from the year-end-settlement wording alone.

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 a strong prerequisite chain (call nhis_edi__session__login with the same account_link_id first, and the document must already appear in the received-documents list) plus the documented behavior when the statement is absent. However, there is no explicit statement of when to choose this over the other '*__detail' siblings, so usage is implied through the workflow rather than scoped against alternatives.

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