Skip to main content
Glama

Easyparser: Amazon Product & Seller Data

get_package_dimensions

Read-only

Get a product's precise physical and logistical attributes: package height, width, length, weight, and its Amazon fee category (e.g. Computers, Apparel). This is the FBA fee-estimation and shipping-cost tool.

Use this tool when the question is about shipping, storage, FBA fees, or warehouse planning. Do NOT use it for general product info: get_product_detail includes a human-readable dimensions string, but only THIS tool returns the structured fee category and exact measurements needed for fee calculation. Costs 1 credit.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "asin": "<asin>"
    },
    "name": "get_package_dimensions"
  }
}

Input Schema

NameRequiredDescriptionDefault
asinYesAmazon Standard Identification Number, a 10-character alphanumeric product identifier (e.g. B0CJB6V2L5). Found in the product URL after /dp/ or /gp/product/.
domainNoAmazon marketplace domain extension. Determines the regional Amazon site the data is fetched from. Use the domain that matches the user's market, because prices, availability and rankings differ across marketplaces..com

Output Schema

NameRequiredDescriptionDefault
dataNoParsed Amazon data for the operation.
successYesTrue when the request completed.
operationYesEasyparser operation that ran, e.g. DETAIL or OFFER.
request_idNoEasyparser request ID, useful for support and error logs.
credits_usedNoCredits charged for this request.
applied_addressNoDelivery address the request used (zipCode array, city, district, country_code). Without address fields this is the marketplace default.
credits_remainingNoCredits left on the account after this request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / applied_address
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Delivery address the request used (zipCode array, city, district, country_code). Without address fields this is the marketplace default.",
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / asin / description
      Previous value: -"Amazon Standard Identification Number — a 10-character alphanumeric product identifier (e.g. B0CJB6V2L5). Found in the product URL after /dp/ or /gp/product/."New value: +"Amazon Standard Identification Number, a 10-character alphanumeric product identifier (e.g. B0CJB6V2L5). Found in the product URL after /dp/ or /gp/product/."
    • changedInput schema / properties / domain / description
      Previous value: -"Amazon marketplace domain extension. Determines the regional Amazon site the data is fetched from. Use the domain that matches the user's market — prices, availability and rankings differ across marketplaces."New value: +"Amazon marketplace domain extension. Determines the regional Amazon site the data is fetched from. Use the domain that matches the user's market, because prices, availability and rankings differ across marketplaces."
  3. Changed1 schema field changed
    • changedInput schema / properties / domain / enum
      Previous value: -[
      -  ".com",
      -  ".co.uk",
      -  ".de",
      -  ".fr",
      -  ".it",
      -  ".es",
      -  ".ca",
      -  ".com.mx",
      -  ".com.br",
      -  ".co.jp",
      -  ".in",
      -  ".com.au",
      -  ".ae",
      -  ".sa",
      -  ".nl",
      -  ".pl",
      -  ".se",
      -  ".be",
      -  ".com.tr",
      -  ".sg",
      -  ".ie"
      -]New value: +[
      +  ".com",
      +  ".co.uk",
      +  ".de",
      +  ".fr",
      +  ".it",
      +  ".es",
      +  ".ca",
      +  ".com.mx",
      +  ".com.br",
      +  ".co.jp",
      +  ".in",
      +  ".com.au",
      +  ".ae",
      +  ".sa",
      +  ".nl",
      +  ".pl",
      +  ".se",
      +  ".com.be",
      +  ".com.tr",
      +  ".sg",
      +  ".ie",
      +  ".eg"
      +]
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "credits_remaining": {
      +      "description": "Credits left on the account after this request.",
      +      "type": "number"
      +    },
      +    "credits_used": {
      +      "description": "Credits charged for this request.",
      +      "type": "number"
      +    },
      +    "data": {
      +      "description": "Parsed Amazon data for the operation."
      +    },
      +    "operation": {
      +      "description": "Easyparser operation that ran, e.g. DETAIL or OFFER.",
      +      "type": "string"
      +    },
      +    "request_id": {
      +      "description": "Easyparser request ID, useful for support and error logs.",
      +      "type": "string"
      +    },
      +    "success": {
      +      "description": "True when the request completed.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "success",
      +    "operation"
      +  ],
      +  "type": "object"
      +}
  5. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds real value by stating the tool is the FBA fee-estimation path and that it costs 1 credit, a cost signal not present in annotations. It does not mention failure modes such as missing dimensions for some ASINs.

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 returned attributes, then the when/when-not guidance, then the cost note. Mostly tight, though the back-half repeats the measurement idea already introduced in the first sentence.

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 and annotations cover safety, so the description only needs to establish purpose and routing, which it does. The remaining gap is minor: no note on what happens when dimensions or a fee category are unavailable for a given ASIN.

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%, with both asin and domain fully documented including pattern, examples, and marketplace-selection rationale. The description adds no parameter-level meaning beyond the schema, so the baseline of 3 applies.

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 a product's precise physical and logistical attributes') and enumerates the returned fields: height, width, length, weight, and Amazon fee category. It explicitly distinguishes itself from the sibling get_product_detail, which returns only a human-readable dimensions string.

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?

Gives an explicit positive trigger ('shipping, storage, FBA fees, or warehouse planning') and an explicit exclusion ('Do NOT use it for general product info'), naming the alternative tool get_product_detail and the reason it is insufficient. Routing is unambiguous.

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.