Skip to main content
Glama

Inventory movements

get_inventory_movements
Read-only

Get inventory ledger movements — shipments, receipts, adjustments, customer orders, and returns by date/ASIN/SKU. reference_id is the source document for each movement: for Receipts events it is the inbound FBA shipment ID, so receipts can be joined to get_inbound_shipments (shipment_id) to estimate created-to-received time when created_at_source confirms a shipment-name inference. date_and_time is the event timestamp (UTC). Ledger movements are account/region-level data (no native marketplace): rows surface tenant-wide for any marketplace-scoped key and are anchored to the tenant's primary marketplace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skuNoFilter by SKU
asinNoFilter by ASIN
limitNoMax rows (1-1000, default 20).
offsetNoPagination offset (0-100000, default 0). Use the returned pagination.next_offset to continue.
sort_byNoColumn to sort bydate
end_dateNoOptional. YYYY-MM-DD end date.
event_typeNoFilter by event type (e.g. Shipments, Receipts, CustomerOrders)
sort_orderNoSort orderdesc
start_dateNoOptional. YYYY-MM-DD start date.
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.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false). The description adds genuinely non-obvious behavior: ledger rows are account/region-level with no native marketplace, surface tenant-wide for any marketplace-scoped key, and anchor to the tenant's primary marketplace, plus a UTC timestamp note. This is valuable context the annotations cannot convey, though it doesn't discuss result volume or freshness limits beyond the schema's diagnostics flag.

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?

Three sentences, front-loaded with the tool's purpose followed by the join semantics and the marketplace caveat. It is dense and jargon-heavy but every sentence carries distinct information; no filler or restatement of the name.

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?

An output schema exists, so return-value explanation is not required, and the description covers the unusual scoping semantics an agent would otherwise get wrong. All 11 parameters are optional filters documented in the schema. The only minor omission is any note on default row limits or how to page, though the schema's limit/offset descriptions handle this.

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 description coverage is 100%, so the baseline is 3. The description goes further by explaining the meaning of reference_id and date_and_time — fields surfaced by the ledger that clarify how event_type filters behave and what the returned rows represent — which adds semantics beyond the schema's terse property 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?

States a specific verb and resource ('Get inventory ledger movements') and enumerates the covered event types (shipments, receipts, adjustments, customer orders, returns) plus filterable dimensions. This distinguishes it clearly from siblings like get_fba_inventory, get_inventory_by_fulfillment_center, or get_returns without needing to open their schemas.

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 description gives a concrete usage pattern — joining Receipts events to get_inbound_shipments via shipment_id to compute created-to-received time — which is real guidance. However, it never states when to choose this ledger over adjacent tools such as get_fba_inventory or get_returns, so the when-to-use decision is only implied.

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.