Skip to main content
Glama

포트원 결제 내역 검색

getPaymentsByFilter

Search and retrieve payment records by applying filters like date range, payment method, status, and more from PortOne's server.

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 must disclose behavioral traits itself. It does clarify AND semantics ('모두 만족하는') and includes two useful cautions about imp_uid identification and timezone handling. However, it does not discuss pagination behavior, rate limits, or error conditions, leaving some gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and well-structured: one main sentence followed by two bullet-point notes. Every sentence provides useful information, with no filler. It is front-loaded with the core purpose and followed by essential caveats.

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?

Although the tool has 15 parameters and an output schema, the description is brief. It covers AND semantics and two caveats, but does not mention pagination defaults, how filters combine across multiple parameters, or any prerequisites. The output schema fills return-value details, but overall context feels slightly under-specified for such a complex tool.

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 adds meaningful value by explaining that IDs starting with imp_/imps_ may be V1 imp_uid values, which clarifies the 'id' parameter. The timezone note directly informs the 'from' and 'to' parameters, enriching the schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it searches payment history on the PortOne server that satisfies all given conditions. The verb '검색합니다' (search) and resource '결제 내역' (payment history) are specific and distinguish it from sibling settlement or reconciliation search tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no explicit guidance on when to use this tool versus alternatives such as getReconciliationsByFilter or getSettlementSummaries. The notes about imp_uid and timezone are cautions, not usage directives. No exclusions or alternative recommendations are given.

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