Skip to main content
Glama

KB국민카드 결제내역 결과 수집

kb_biz_card__payments__result

먼저 호출할 도구: kb_biz_card__session__login (같은 account_link_id). 기간(date_from, date_to)의 결제내역을 첫 쪽부터 이어 읽어 한 번에 돌려줍니다. max_pages 로 읽을 쪽 수를 줄일 수 있고, 그래서 남은 쪽이 있으면 pagination.has_next 가 true 입니다. 파일: 엑셀(xlsx) · 이 작업의 결과로 만든 문서 - output_formats 로 청할 때만 만듭니다. 결과의 artifacts[] 에 실리고, 내려받기 링크(download_url)는 15분 동안 열리며 파일은 7일 동안 보관됩니다. 링크가 만료되면 결과의 job_id 로 xdata__job__result 를 다시 불러 새 링크를 받습니다. 로그인 없이 받은 결과는 함께 온 recovery_receipt 를 따로 보관했다가, 처음의 job_id 나 pack_run_id 와 함께 xdata__job__result 에 보내세요. 증표로는 그 결과 하나만, 원래 파일 보관 기간이 끝날 때까지 열 수 있습니다. 증표는 공개하지 마세요. 잃어버리면 가입해도 되찾을 수 없습니다. 나중에 로그인해도 증표는 그대로 쓰이고, 다른 결과는 열지 못합니다. 증표가 없으면 처음 계정과 같은 환경(데모 · 정식)에서만 결과를 읽을 수 있습니다. 로그인한 호출이면 첫 요청 전에 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": {
      "date_from": "<date_from>",
      "date_to": "<date_to>"
    },
    "name": "kb_biz_card__payments__result"
  }
}

Input Schema

NameRequiredDescriptionDefault
date_toYes조회 종료일 YYYY-MM-DD 또는 YYYYMMDD.
date_fromYes조회 시작일 YYYY-MM-DD 또는 YYYYMMDD.
max_pagesNo선택 입력. 모을 최대 쪽 수. 넣지 않으면 모든 쪽을 모읍니다.
output_formatsNo선택 입력입니다. 결과를 엑셀(xlsx) 파일로도 받으려면 입력해 주세요. 파일은 결과의 artifacts[] 에 실립니다. 비워 두면 데이터만 받습니다.
account_link_idNo연동 ID(UUID v4). 선택 입력입니다. 비워 두면 서버가 API 키로 연동을 찾아 씁니다. 같은 기관에 인증서를 여러 개 연동했을 때만 직접 입력해 주세요. 기관마다 ID 가 다릅니다.
department_nameNo선택 입력. 부서 이름. 부서 선택 도구가 돌려준 값을 입력해 주세요.
department_sequence_noNo선택 입력. 부서 일련번호. 부서 선택 도구가 돌려준 값을 입력해 주세요.
request_idempotency_keyNo로그인한 호출에서 응답을 못 받은 같은 요청을 되찾을 때 쓰는 선택 값입니다. 쓰는 법은 도구 설명에 있습니다.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / date_from / description
      Previous value: -"Start date YYYY-MM-DD or YYYYMMDD"New value: +"조회 시작일 YYYY-MM-DD 또는 YYYYMMDD."
    • changedInput schema / properties / date_to / description
      Previous value: -"End date YYYY-MM-DD or YYYYMMDD"New value: +"조회 종료일 YYYY-MM-DD 또는 YYYYMMDD."
    • changedInput schema / properties / department_name / description
      Previous value: -"Department name"New value: +"선택 입력. 부서 이름. 부서 선택 도구가 돌려준 값을 입력해 주세요."
    • changedInput schema / properties / department_sequence_no / description
      Previous value: -"Department sequence number"New value: +"선택 입력. 부서 일련번호. 부서 선택 도구가 돌려준 값을 입력해 주세요."
    • changedInput schema / properties / max_pages / description
      Previous value: -"Maximum pages to collect"New value: +"선택 입력. 모을 최대 쪽 수. 넣지 않으면 모든 쪽을 모읍니다."
  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

A4.1/5.0
Behavior5/5

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

Beyond the annotations, the description discloses cost (1 token per call), side effects (an XBOSS job is created and its result stored), and explicitly explains why readOnlyHint=false despite this being a source query — this resolves what would otherwise look like an inconsistency. It also gives operational traits an agent must know: download_url lives 15 minutes, files are kept 7 days, max_pages leaves pagination.has_next=true when pages remain, and the recovery_receipt must be retained and never shared because it cannot be reissued.

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 prerequisite and core read behavior are correctly front-loaded, but the body sprawls across token cost, artifact expiry, recovery-receipt custody, two idempotency keys, and institution-policy caveats in one dense block. Several statements restate schema content (artifacts[], download_url) and the receipt warnings are repeated in multiple sentences. It is informative but not tightly organized.

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?

With no output schema, the description carries the burden of describing return values and does so reasonably: pagination.has_next, artifacts[] with download_url, job_id, and recovery_receipt are all named. Given 8 parameters and real side effects (job creation, token consumption), the definition covers what an agent needs to call it correctly. Minor gaps remain around result volume and error behavior.

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, but the description adds meaning the schema defers to it for: request_idempotency_key is only for recovering an unacknowledged request (new value for a new run) and is unavailable for anonymous trial calls, and max_pages directly controls whether pagination.has_next stays true. It also clarifies that account_link_id must match the login call. The department_* parameters are not elaborated in the description, which keeps this from 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?

The description states a concrete verb and resource: it reads the payment history for a date range (date_from, date_to) from the first page onward and returns everything at once. The scope ('first page through', 'all at once', pagination.has_next) is clear enough for an agent to act on. It does not, however, explicitly distinguish this tool from sibling result/search/page tools such as kb_biz_card__payments__search or __page, so the differentiation is implied rather than stated.

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?

It front-loads a real prerequisite: call kb_biz_card__session__login first with the same account_link_id. It also gives a concrete alternative path when a download link expires (re-fetch via xdata__job__result with job_id or pack_run_id). What it lacks is an explicit statement of when to choose this tool over the payments__search/__page siblings, so the when-to-use guidance is clear in context but not complete.

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