Skip to main content
Glama

Easyparser: Amazon Product & Seller Data

lookup_product

Read-only

Convert an external product identifier (UPC, EAN, GTIN, ISBN, JAN, MINSAN) into the corresponding Amazon ASIN, with an essential product snapshot. This is the bridge between manufacturer/retail barcodes and the Amazon ecosystem.

Use this tool when the user has a barcode or standard product code and wants to find the matching Amazon listing. Typical workflows: catalog matching, inventory synchronization, converting supplier data into Amazon ASINs. Also accepts ASIN as input type if you need to validate one.

You MUST set identifier_type to match the code you have. Guessing the wrong type returns no results. UPC is 12 digits, EAN/GTIN is 13, ISBN is 10 or 13 (books). If the user gives a keyword instead of a code, use search_products instead. 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": {
      "identifier": "<identifier>",
      "identifier_type": "<identifier_type>"
    },
    "name": "lookup_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
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
identifierYesThe product code value (e.g. '724382975021' for a UPC). Digits only for barcode types.
identifier_typeYesThe type of code provided. UPC: 12-digit US barcode. EAN/GTIN: 13-digit international barcode. ISBN: book identifier. JAN: Japanese barcode. MINSAN: Italian pharma code. ASIN: Amazon's own identifier.

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. Changed1 schema field changed
    • 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.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds real context beyond them: the operation costs 1 credit, a wrong identifier_type returns no results, and the response includes an 'essential product snapshot'. It does not discuss rate limits or failure modes beyond a type mismatch.

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-loaded with the core verb+resource mapping, then usage, then input constraints, then cost — a sensible order. The line 'This is the bridge between manufacturer/retail barcodes and the Amazon ecosystem' is pure marketing and could be cut.

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 values need not be spelled out, and the description covers the critical pitfalls (type matching, cost, keyword routing). For a 3-parameter read-only lookup it is essentially complete, with only minor gaps around what the product snapshot contains.

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 baseline is 3, but the description reinforces meaning with digit-length guidance per type (UPC 12, EAN/GTIN 13, ISBN 10 or 13) and a hard rule that guessing the type returns nothing, which affects how an agent should fill the field. The domain parameter is left to the schema, which already explains it well.

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: converts an external product identifier (UPC, EAN, GTIN, ISBN, JAN, MINSAN) into an Amazon ASIN. It explicitly names the sibling it is not for ('If the user gives a keyword instead of a code, use search_products instead'), so an agent can route correctly without opening either 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?

Gives explicit use conditions ('when the user has a barcode or standard product code and wants to find the matching Amazon listing'), concrete workflow examples (catalog matching, inventory sync, supplier data conversion), and a clear exclusion routing keyword searches to search_products.

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.