Skip to main content
Glama

현금영수증 매출 내역 조회

hometax__cash_receipt__sales__search_history

먼저 호출할 도구: hometax__session__login (같은 account_link_id). 현금영수증 매출 내역을 조회합니다. from_date/to_date 는 필수입니다(YYYYMMDD 또는 YYYY-MM-DD). 건수: totalCount(pageInfoVO.totalCount 도 같은 값)는 이 조회의 전체 건수이며 이 응답의 행 수보다 적지 않습니다. collectionMeta 는 이 응답이 이미 전부를 담았는지(complete)와 몇 건이 왔는지(collectedCount)를 알려 줍니다. complete 가 false 면 다음 쪽을 요청합니다. 로그인한 호출이면 첫 요청 전에 request_idempotency_key 값을 만들어 저장하세요. 응답을 받지 못한 그 요청을 되찾을 때만 같은 인자와 함께 그 값을 다시 보내고, 새로 실행할 때는 새 값을 쓰세요. 이 값 없이 다시 부르면 새 요청이 됩니다. 계정 없이 맛보기로 부를 때는 이 선택 칸을 쓸 수 없습니다. 기관 업무에 따로 있는 idempotency_key 칸은 다른 칸이니 그대로 두세요. 호출마다 토큰 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": {
      "from_date": "<from_date>",
      "to_date": "<to_date>"
    },
    "name": "hometax__cash_receipt__sales__search_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_dateYes조회 종료일 YYYYMMDD 또는 YYYY-MM-DD (예: 20260131). 필수입니다.
page_numNo쪽 번호. 기본 1.
from_dateYes조회 시작일 YYYYMMDD 또는 YYYY-MM-DD (예: 20260101). 필수입니다.
max_pagesNofetch_all_pages 가 true 일 때만 씁니다. 전체 수집에서 읽을 최대 쪽 수입니다(기본 100). 이 쪽 수를 다 읽고도 남은 행이 있으면 부분 결과 없이 입력 오류(VALIDATION_INVALID_FIELD)로 끝나니 조회 기간을 나누거나 값을 올려 다시 요청하세요.
page_sizeNo한 쪽에 받을 건수. 기본 10.
pbl_cl_cdNo발행구분. 'all'=전체, '1'=사업자, '2'=국세청, '3'=명세서. 기본 'all'.
account_link_idNo연동 ID(UUID v4). 선택 입력입니다. 비워 두면 서버가 API 키로 연동을 찾아 씁니다. 같은 기관에 인증서를 여러 개 연동했을 때만 직접 입력해 주세요. 기관마다 ID 가 다릅니다.
fetch_all_pagesNotrue 면 한 쪽이 아니라 모든 쪽을 모읍니다(기본 false). 쪽마다 기관 요청이 따로 나가 더 느립니다.
request_idempotency_keyNo로그인한 호출에서 응답을 못 받은 같은 요청을 되찾을 때 쓰는 선택 값입니다. 쓰는 법은 도구 설명에 있습니다.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / from_date / description
      Previous value: -"Start date YYYYMMDD or YYYY-MM-DD (e.g. 20260101). Required."New value: +"조회 시작일 YYYYMMDD 또는 YYYY-MM-DD (예: 20260101). 필수입니다."
    • changedInput schema / properties / page_num / description
      Previous value: -"Page number (default 1)"New value: +"쪽 번호. 기본 1."
    • changedInput schema / properties / page_size / description
      Previous value: -"Page size (default 10)"New value: +"한 쪽에 받을 건수. 기본 10."
    • changedInput schema / properties / pbl_cl_cd / description
      Previous value: -"발행구분(issuance type): 'all'=전체, '1'=사업자, '2'=국세청, '3'=명세서. Default 'all'."New value: +"발행구분. 'all'=전체, '1'=사업자, '2'=국세청, '3'=명세서. 기본 'all'."
    • changedInput schema / properties / to_date / description
      Previous value: -"End date YYYYMMDD or YYYY-MM-DD (e.g. 20260131). Required."New value: +"조회 종료일 YYYYMMDD 또는 YYYY-MM-DD (예: 20260131). 필수입니다."
  2. 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: +"로그인한 호출에서 응답을 못 받은 같은 요청을 되찾을 때 쓰는 선택 값입니다. 쓰는 법은 도구 설명에 있습니다."
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and the description adds real context: each call consumes one token and creates an XBOSS job whose result is stored, so the call is not purely read-only even if the agency lookup is. That is a genuinely useful disclosure that reconciles with the annotations. However, the return-row shape is only partly described (totalCount, collectionMeta.complete/collectedCount) and idempotency re-send semantics are explained but not what happens after a successful replay.

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?

Front-loads the prerequisite first, then purpose, then the required date params, then pagination completeness, then idempotency and side effects – a sensible order. The date-required sentence duplicates the schema's required list and field descriptions, and the idempotency passage is dense, but nearly every sentence carries operational 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 9-parameter paged search with no output schema, the description covers scheduling (login first), date formats, paging and full-collection semantics, cost per call, and side effects. What it does not cover is the content of each returned receipt row beyond count metadata, which leaves the agent guessing about result fields.

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 the schema already documents all nine parameters, including formats, defaults, the pbl_cl_cd enum, and the max_pages validation failure. The description adds the request_idempotency_key workflow (create and store before the first request, resend only to recover an unanswered request, new value for a new execution) and clarifies that the agency-level idempotency_key field is a different field. This is meaningful but only covers one of nine parameters.

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?

Names a specific verb and resource (현금영수증 매출 내역 조회) right after the prerequisite-call note. It is clear what the tool returns, but there is no explicit contrast with siblings like hometax__cash_receipt__sales__search_summary or hometax__cash_receipt__purchase__search_history, so an agent must infer the sales-vs-purchase and history-vs-summary split.

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?

Explicitly names the prerequisite hometax__session__login and the condition (same account_link_id), and states that account-less trial calls cannot use request_idempotency_key. It also warns that fetch_all_pages is slower because each page is a separate agency request. It stops short of saying when to prefer the summary sibling.

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