Skip to main content
Glama

fba_analyze

Calculate Amazon FBA size tier and fulfillment fees from packed dimensions, weight, and price, returning risk class and best shrink options.

Instructions

START HERE for "what FBA tier and fee is this product?": one call returns the size tier, dimensional and shipping weight, the estimated fulfillment fee (this period, and the peak or non-peak alternative), the nearest limit that would change the tier or fee with its margin in YOUR units, a risk class (safe / risky / critical) that reflects that nearest edge, and the single best shrink or weight cut to save money. Quote summary; it is one self-contained paragraph.

Inputs: dims = the 3 edges of the PACKED unit as "12 x 9 x 3 in", [12, 9, 3] (with dims_unit) or {"length":12,"width":9,"height":3}; weight = 1.4 or "1.4 lb" / "22 oz" / "640 g" (a bare number is POUNDS unless weight_unit says otherwise, and the summary says how it was read); price = listing price in USD (29.99 or "$29.99"; selects the fee price band). dims_unit is in (default), cm or mm; weight_unit is lb (default), oz, g or kg. dims_sigma = 1-sigma measuring error per edge in dims_unit (omit for tape values; use sigma_in from fba_measure_package, or 0.2 in for a LiDAR scan); weight_sigma_oz = scale error in ounces. ship_date (ISO, default today) picks peak or non-peak fees. margin_in (0.5 in) and margin_pct (3 %) are the safety margins behind the risk class; a weight-band edge counts as risky when a measuring error of margin_in could cross it. max_shrink_pct and min_dims bound the shrink search.

detail="summary" (default) returns a short caveats list (as-of date, "Amazon's own measurement governs", data gaps that matter for THIS result); detail="full" adds all thresholds, every suggestion and the full assumptions list. Use fba_tier_headroom / fba_size_tier / fba_fee_estimate only when you need that detail. Only product_class "standard" is modelled in v0.1.

Estimate from third-party-compiled rules (see fba_data_status); Amazon's own measurement governs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dimsYes
priceYes
detailNosummary
weightYes
min_dimsNo
dims_unitNo
margin_inNo
ship_dateNo
dims_sigmaNo
margin_pctNo
weight_unitNo
max_shrink_pctNo
units_per_monthNo
weight_sigma_ozNo
include_fuel_surchargeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses the default detail level and what each level returns (summary returns a caveats list; full adds thresholds, all suggestions, assumptions), instructs the agent to quote `summary` as one self-contained paragraph, flags provenance limits ('third-party-compiled rules', 'Amazon's own measurement governs'), and explains how ambiguous unit inputs are interpreted and echoed back.

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?

Front-loads the value proposition and return content before the input contract, and the density is largely justified by 15 parameters at zero schema coverage. It is nonetheless a long block with some terse shorthand that an agent must parse carefully, so it stops short of ideal crispness.

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?

An output schema exists so return values need not be re-specified, yet the description still tells the agent which field to quote and how detail level changes the payload. Combined with the v0.1 class limitation, the fee-provenance caveat, and near-total parameter coverage, an agent has everything needed to call and interpret this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does for nearly every parameter: dims accepts three formats with an example, weight accepts numbers or unit-suffixed strings with a default-units rule, and it documents dims_unit, weight_unit, dims_sigma, weight_sigma_oz, ship_date, margin_in, margin_pct, max_shrink_pct, min_dims, and detail (with default). Only include_fuel_surcharge and units_per_month are left unstated.

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?

Opens with an explicit routing statement ('START HERE for "what FBA tier and fee is this product?"') and enumerates exactly what one call returns: size tier, dimensional/shipping weight, fulfillment fee, nearest limit with margin, risk class, and best shrink cut. It also names the sibling tools (fba_tier_headroom / fba_size_tier / fba_fee_estimate) and scopes them as detail-only alternatives, so the agent can distinguish it without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States when to use it ('START HERE'), when to prefer the alternatives ('Use fba_tier_headroom / fba_size_tier / fba_fee_estimate only when you need that detail'), and adds a scope limit ('Only product_class "standard" is modelled in v0.1'). This is explicit use/alternative/exclusion guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.