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.

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 — 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.
credits_remainingNoCredits left on the account after this request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context: it costs 1 credit and is the only tool returning structured fee category plus exact measurements. It does not mention rate limits or auth, but those are minor omissions given the annotation coverage.

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-loads what the tool returns, then when to use it, then the sibling comparison and cost. Every sentence contributes to selection or invocation, and the one-credit note is placed after routing guidance without disrupting flow. No filler or repetition.

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 described. Annotations cover the safety profile, and the description supplies when-to-use, explicit sibling differentiation, and cost. Together these are sufficient for an agent to select and invoke the tool correctly.

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%, and the schema fully documents asin with pattern and domain with enum/default. The description adds no parameter syntax, selection, or format details beyond what the schema already provides. Baseline 3 is appropriate when the schema carries parameter semantics.

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?

Names a specific verb ('Get') and resource ('package dimensions'), enumerates height, width, length, weight, and Amazon fee category, and positions itself as the FBA fee-estimation and shipping-cost tool. It explicitly distinguishes itself from get_product_detail by noting that only this tool returns structured fee category and exact measurements. An agent can identify its role without opening sibling schemas.

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 exactly when to use it: shipping, storage, FBA fees, or warehouse planning. It also states when not to use it (general product info) and names get_product_detail as the alternative for that case. The one-credit cost is included to support selection decisions.

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.