Skip to main content
Glama

거래대사 정산 통계 조회

getSettlementStatistics

Retrieve daily and aggregated settlement statistics for sub-stores by currency within a specified date range. Helps analyze settlement amounts and counts for reconciliation.

Instructions

특정 하위 상점(store)의 거래대사 정산 통계를 조회합니다.

검색 구간 내 통화별 합산 통계(정산/정산예정 금액·건수)와 일별 통계를 제공합니다. 날짜는 반드시 YYYY-MM-DD 형식으로 입력합니다. 조회 기간 제약: from 은 최근 6개월 이내여야 하고, 한 번에 조회 가능한 구간은 최대 1개월입니다. store 아이디는 list_stores 도구로 먼저 조회할 수 있습니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes정산일 조회 종료일 (YYYY-MM-DD)
fromYes정산일 조회 시작일 (YYYY-MM-DD)
storeNo조회할 하위 상점 아이디. 생략하면 고객사 내 모든 하위 상점을 조회합니다.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dailyStatisticsYes일별 정산 통계
rangeTotalStatisticsYes검색 구간 내 통화별 합산 통계
Behavior4/5

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

With no annotations, the description effectively discloses behavioral traits: it is a read-only query, requires specific date formatting, has period constraints, and optionally filters by store. It does not mention error handling for constraint violations but covers the main behavioral aspects.

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 well-structured: first sentence for purpose, second for output, then format, constraints, and related tool. Every sentence adds necessary information without redundancy, making it efficient and easy to parse.

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?

Given that an output schema exists, the description appropriately omits return value details but mentions aggregated and daily statistics. It covers input parameters fully, including constraints and optionality. Minor gaps like error handling are acceptable for a query tool with good schema support.

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?

The input schema already describes all 3 parameters (100% coverage). The description adds value by specifying the date format requirement, period constraints, and the suggestion to use list_stores for store IDs. It also clarifies that the store parameter is optional and defaults to all stores.

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 the tool retrieves settlement statistics for a specific sub-store, provides aggregated by currency and daily stats, and uses a specific verb '조회합니다' (retrieves). It distinguishes itself from siblings by focusing on store-level statistics, though sibling descriptions are not provided.

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?

The description gives explicit usage constraints: date format (YYYY-MM-DD), period limits (from within 6 months, max 1 month), and a reference to list_stores for obtaining store IDs. It does not explicitly differentiate from similar tools like getSettlementSummaries, but the constraints are clear and actionable.

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