Skip to main content
Glama

포트원 결제 내역 검색

getPaymentsByFilter

Search and retrieve payment records from PortOne by specifying filters such as date range, PG, payment status, method, and more. Returns paginated results with selected fields.

Instructions

포트원 서버에서 주어진 조건을 모두 만족하는 결제 내역을 검색합니다.

Note: 소문자 imp_ 혹은 imps_ 로 시작하는 거래번호는 고객사 거래번호가 아닌 V1 포트원 거래번호(imp_uid)일 가능성이 있습니다. 날짜 및 시간 정보 입출력 시에는 반드시 타임존을 명시합니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNopaymentId / txId / imp_uid / merchant_uid 검색 필드
pgNo포함할 PG사 모듈 목록
toYes조회 종료 시간 (ISO 8601 형식)
fromYes조회 시작 시간 (ISO 8601 형식)
pageYes검색할 페이지 위치입니다. 0부터 시작합니다.
orderNo결제건의 주문명
typesNo일반 / 정기결제 여부
fieldsYes검색 결과로 받을 필드 목록입니다.
methodNo포함할 결제수단 목록
statusNo포함할 결제 상태 목록
channelNo실연동 및 테스트 포함 목록
webhookNo포함할 결제건의 웹훅 상태 목록
currencyNo포함할 통화 목록, 세 자리 통화 코드
pageSizeNo한 페이지에 반환할 결과의 수
timeTypeYesfrom, to로 제약할 결제건의 기준 시각 조건

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes페이지와 관계없이 조건에 맞는 결제 총 개수
itemsYes조회된 결제 목록
Behavior3/5

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

With no annotations, the description carries the full burden. It reveals that the search applies AND logic to all conditions, and includes important notes about V1 transaction numbers and timezone handling. However, it does not disclose whether the operation is read-only, potential side effects, rate limits, or pagination behavior beyond what schema shows.

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 description is concise: one sentence for the main purpose plus a note. It is front-loaded with the core action. Every sentence adds value, and no unnecessary text exists.

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

Completeness3/5

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

Given the complexity of 15 parameters and the presence of an output schema, the description covers the core search logic and important notes. However, it lacks details on pagination defaults, error handling, and edge cases, making it minimally adequate but not fully comprehensive.

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 coverage is 100% with parameter descriptions already present. The description adds no additional detail per parameter; the note about imp_uid is loosely related to the 'id' field but not explicitly linked. Baseline 3 is appropriate since the schema does the heavy lifting.

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?

Description clearly states it searches payment records matching given conditions. The verb 'search' and resource 'payment records' are specific. Although no explicit sibling differentiation, the sibling tools are mostly about channels and stores, so purpose is distinct enough.

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?

The note about transaction number format and timezone requirement provides useful guidance. However, it does not explicitly state when to use this tool versus alternatives, and there is no mention of prerequisite conditions or order of operations. The hint about AND logic for filters is implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/portone-io/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server