Skip to main content
Glama

Get sales fee history

get_fee_history
Read-only

Get History

When to use: 채널·브랜드별 판매 수수료(fee) 정책 이력 조회. net_sales / 마진 시뮬레이션의 입력값. 시점별 fee_factor 변화 확인.

Limitations: limit 최대 2000. channel_names / brand_names 는 JSON 배열 문자열 (예: '["coupang", "naver"]'). 잘못된 JSON 은 400. 프로젝트 컨텍스트(project-id 헤더)로 자동 필터.

Examples:

  • Q: 쿠팡 채널 판매 수수료 이력 보여줘 params: {'query': {'channel_names': '["coupang"]', 'limit': 100}}

Related resources: analytics://glossary/net_sales, analytics://glossary/gross_margin

Output shape: list of FeeHistoryItem rows ordered by applied_at — (channel_name, brand_name, applied_at, fee_factor).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_fee_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
project-idNo
brand_namesNo
channel_namesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the readOnly/destructive annotations, the description discloses the hard limit cap of 2000, that channel_names/brand_names must be JSON array strings, that malformed JSON yields a 400, and that results are auto-filtered by the project-id header. It does not cover pagination behavior or how offset interacts with the cap.

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?

Sectioned as When to use / Limitations / Examples / output shape, with constraints front-loaded. The leading 'Get History' line is redundant, but every other sentence contributes an operational detail.

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?

For a filtered read tool, the definition covers scoping, format requirements, error behavior, output fields and ordering, so nothing critical to a correct call is missing. An output schema exists as well, making the output-shape sentence supplementary rather than load-bearing; only offset is thin.

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?

With 0% schema description coverage, the description carries real weight: it explains the JSON-string encoding for channel_names/brand_names, the maximum on limit, and the implicit project-id header filtering. Only offset's semantics are left unexplained, so it nearly compensates for the coverage gap.

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 body states a specific verb and resource: retrieving per-channel/per-brand sales fee policy history and fee_factor changes over time. The 'Get History' header is tautological, but the 'When to use' line pins down the resource precisely and implicitly contrasts with the sibling replace_fee_history.

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 explicitly names the use case (input for net_sales / margin simulation, checking fee_factor shifts by point in time) and supplies a concrete example query. No when-not-to-use or explicit alternative is named, which keeps it just under a 5.

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