Skip to main content
Glama

KB국민카드 승인내역 결과 수집

kb_biz_card__approvals__result

먼저 호출할 도구: kb_biz_card__session__login (같은 account_link_id). 기간(date_from, date_to)의 승인내역을 첫 쪽부터 이어 읽어 한 번에 돌려줍니다. max_pages 로 읽을 쪽 수를 줄일 수 있고, 그래서 남은 쪽이 있으면 pagination.has_next 가 true 입니다. 승인내역은 오늘로부터 1년 전 같은 날짜까지만 조회할 수 있습니다. 파일: 엑셀(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__approvals__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.2/5.0
Behavior5/5

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

The annotations are consistent and the description adds substantial behavior the annotations do not convey: 1 token consumed per call, an XBOSS job created and its result persisted, the 15-minute download link and 7-day file retention, the recovery_receipt mechanism for unauthenticated calls, environment-locked access without a receipt, and detailed request_idempotency_key retry semantics. It also explicitly warns that the call is not purely read-only, matching readOnlyHint=false rather than contradicting it.

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 is correctly front-loaded, but the text then drifts across file retention, receipt security warnings, token cost, and idempotency in one dense block without paragraph structure, and the receipt guidance repeats itself ('증표는 공개하지 마세요 / 잃어버리면 가입해도 되찾을 수 없습니다 / 나중에 로그인해도 증표는 그대로 쓰이고'). Several sentences could be consolidated without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter tool with no output schema, the description covers everything an agent needs: authentication prerequisite, date-range limit, page-bounded reads and how to detect leftovers, optional file artifact generation, artifact retrieval and expiry, job re-fetch path, and idempotency retry behavior. Return-value shape (artifacts[], pagination.has_next, job_id, recovery_receipt) is described even though no output schema exists.

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 real meaning beyond the schema: max_pages is tied to pagination.has_next, the date pair is bounded to a one-year lookback ending today, output_formats only produces a file when supplied, and request_idempotency_key reuse rules are spelled out. The department_name/department_sequence_no parameters are left to the schema.

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 — collecting 카드 승인내역 for a date range — and clarifies that it reads from the first page through to the end in one call ('첫 쪽부터 이어 읽어 한 번에 돌려줍니다'), which implicitly separates it from the per-page sibling (kb_biz_card__approvals__page). It stops short of naming approvals__init, approvals__search, or payments/purchases__result as alternatives, so differentiation is inferred 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?

Prerequisites are explicit and front-loaded: call kb_biz_card__session__login first with the same account_link_id. It also gives conditional follow-up guidance (if download_url expires, re-fetch via xdata__job__result with job_id) and a scoping rule (only the past year to the same date). What is missing is an explicit statement of when to prefer this over approvals__search or approvals__page.

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