Skip to main content
Glama

Returns

get_returns
Read-only

Get FBA return records. Filter by date range, ASIN, SKU, return reason, or disposition status. Returns are account/region-level FBA data: rows surface tenant-wide for any marketplace-scoped key and are stored anchored to the tenant's primary marketplace (marketplace_id). The derived order_marketplace_id attributes each return to the marketplace of its matching order in order history, and is null when no matching order is found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skuNoFilter by SKU (merchant SKU)
asinNoFilter by ASIN
limitNoMaximum number of rows to return (1-1000, default 20)
offsetNoPagination offset (0-100000, default 0). Use the returned pagination.next_offset to continue.
reasonNoFilter by return reason (e.g. DEFECTIVE, CUSTOMER_RETURN)
sort_byNoColumn to sort results byreturn_date
end_dateNoOptional. YYYY-MM-DD end date for return_date.
sort_orderNoSort directiondesc
start_dateNoOptional. YYYY-MM-DD start date for return_date.
dispositionNoFilter by item disposition (e.g. SELLABLE, DAMAGED)
include_raw_rowsNoFalse returns compact rows. Default true.
include_diagnosticsNoTrue may add expanded freshness diagnostics. Basic empty-result data-window diagnostics are included by default when available.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
evidenceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish read-only, non-destructive, closed-world behavior, so the bar is lower, and the description still adds real context: rows surface tenant-wide for any marketplace-scoped key and are anchored to the primary marketplace, plus order_marketplace_id is derived and null when no order matches. That is meaningful data-model behavior beyond the annotations.

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?

Front-loaded with the core capability in the first sentence, then two sentences of genuinely load-bearing marketplace semantics. No filler or repetition of the schema.

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?

With an output schema present, return-value detail is unnecessary, and the description covers scope, filters, and the tricky multi-marketplace attribution behavior. Pagination is left to the schema, which documents it well, so coverage is nearly complete.

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 description coverage is 100%, so all 12 parameters are already documented in the schema; the description only restates the filter dimensions (date, ASIN, SKU, reason, disposition) without adding syntax or edge-case semantics. Baseline 3 is appropriate.

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?

States a specific verb and resource ('Get FBA return records') and immediately enumerates the dimensions it can be filtered on. This clearly separates it from neighbors like get_reimbursements or get_order_items without needing to name them.

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 filter list implies when the tool is useful, but there is no explicit when-to-use/when-not guidance and no named alternative tool. An agent must infer that this is the returns-analytics path rather than, say, order history.

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.