Skip to main content
Glama

Get fee breakdown

get_fee_breakdown
Read-only

Marketplace fees by type (commission, shipping, reverse shipping, fixed, collection, pick-and-pack) per channel for a period, with rate-card gaps (possible over-charges) only where a rate card exists. Flipkart, Amazon, Meesho, Myntra, JioMart, Ajio; default last 30 days. Pass feeType for one type (faster).

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_breakdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoStart date (ISO, e.g. 2026-10-01, IST day). For "this month" send the 1st of the current month; for "last month" send its 1st with until = its last day. Default: 30 days ago.
untilNoEnd date (ISO, inclusive IST day). Default: today.
channelNoLimit to one channel. Default: all connected channels.
feeTypeNoOne fee type. Default: all main types (one lookup each).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / since / description
      Previous value: -"Start date (ISO, e.g. 2026-10-01, IST day). Default: 30 days ago."New value: +"Start date (ISO, e.g. 2026-10-01, IST day). For \"this month\" send the 1st of the current month; for \"last month\" send its 1st with until = its last day. Default: 30 days ago."
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare this as a safe read-only, non-destructive, closed-world operation. The description adds useful behavior beyond that: gaps are reported only where a rate card exists, the period defaults to the last 30 days, and narrowing by feeType is faster.

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 definition is a single dense but front-loaded sentence that packs the resource, channels, fee types, default period, and performance tip without filler. Every phrase contributes to selecting or invoking the tool.

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?

Given full schema descriptions, an output schema, and annotations covering safety, the description supplies the missing business context: rate-card gaps, supported marketplaces, default date range, and speed trade-off for feeType. Nothing essential for correct use appears to be missing.

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 performance meaning by noting that passing feeType for one type is faster. It also reinforces the default date window, though most detailed date and enum semantics remain in the schema.

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 names a specific resource and scope: marketplace fees broken down by fee type, channel, and period, with rate-card gaps. It distinguishes itself from generic payment or P&L summaries by naming commission, shipping, reverse shipping, fixed, collection, pick-and-pack, and over-charge gap analysis.

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?

It provides invocation guidance such as the default 30-day period and the faster single-feeType path, but it does not explicitly say when to use this tool instead of sibling payment, P&L, or claims summaries. Usage is implied by the fee-focused purpose rather than clearly routed against alternatives.

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