Skip to main content
Glama

get_product_by_asin

Fetch the full normalized spec record for one Amazon ASIN (or amazon.com/dp/ URL) from any of the 46 categories, including which category it belongs to and its amazon_affiliate_url.

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_product_by_asin"
  }
}

Input Schema

NameRequiredDescriptionDefault
asinYes10-character Amazon ASIN (e.g. "B0CFZPSPBY") or full amazon.com/dp/... URL.
categoryNoOptional hint; the ASIN is still looked up across every category if it is not there.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / category / enum
      Previous value: -[
      -  "usb_cables",
      -  "power_cords",
      -  "ssds",
      -  "memory",
      -  "network_switches",
      -  "usb_hubs",
      -  "wire_terminals",
      -  "connectors",
      -  "ethernet_cables",
      -  "coax_cables",
      -  "ac_dc_psus",
      -  "dc_dc_converters",
      -  "batteries",
      -  "cooling_fans",
      -  "circuit_breakers",
      -  "relays_contactors",
      -  "panel_switches",
      -  "din_terminal_blocks",
      -  "power_meters",
      -  "inserts_standoffs",
      -  "wire_spools",
      -  "motors",
      -  "hdmi_cables",
      -  "camera_modules",
      -  "bearings",
      -  "linear_motion",
      -  "transmissions",
      -  "pumps",
      -  "peltier_modules",
      -  "heat_shrink_tubing",
      -  "heatsinks",
      -  "cable_glands",
      -  "tubing_hose",
      -  "linear_actuators",
      -  "solenoid_valves",
      -  "proximity_sensors",
      -  "phones"
      -]New value: +[
      +  "usb_cables",
      +  "power_cords",
      +  "ssds",
      +  "memory",
      +  "network_switches",
      +  "usb_hubs",
      +  "wire_terminals",
      +  "connectors",
      +  "ethernet_cables",
      +  "coax_cables",
      +  "ac_dc_psus",
      +  "dc_dc_converters",
      +  "batteries",
      +  "cooling_fans",
      +  "circuit_breakers",
      +  "relays_contactors",
      +  "panel_switches",
      +  "din_terminal_blocks",
      +  "power_meters",
      +  "inserts_standoffs",
      +  "wire_spools",
      +  "motors",
      +  "hdmi_cables",
      +  "camera_modules",
      +  "bearings",
      +  "linear_motion",
      +  "transmissions",
      +  "pumps",
      +  "peltier_modules",
      +  "heat_shrink_tubing",
      +  "heatsinks",
      +  "cable_glands",
      +  "tubing_hose",
      +  "linear_actuators",
      +  "solenoid_valves",
      +  "proximity_sensors",
      +  "phones",
      +  "cpus",
      +  "motherboards",
      +  "graphics_cards",
      +  "pc_cases",
      +  "pc_power_supplies",
      +  "cpu_coolers",
      +  "hard_drives",
      +  "single_board_computers",
      +  "mini_pcs"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / category / enum
      Previous value: -[
      -  "usb_cables",
      -  "power_cords",
      -  "ssds",
      -  "memory",
      -  "network_switches",
      -  "usb_hubs",
      -  "wire_terminals",
      -  "connectors",
      -  "ethernet_cables",
      -  "coax_cables",
      -  "ac_dc_psus",
      -  "dc_dc_converters",
      -  "batteries",
      -  "cooling_fans",
      -  "circuit_breakers",
      -  "relays_contactors",
      -  "panel_switches",
      -  "din_terminal_blocks",
      -  "power_meters",
      -  "inserts_standoffs",
      -  "wire_spools",
      -  "motors",
      -  "hdmi_cables",
      -  "camera_modules",
      -  "bearings",
      -  "linear_motion",
      -  "transmissions",
      -  "pumps",
      -  "peltier_modules",
      -  "heat_shrink_tubing",
      -  "heatsinks",
      -  "cable_glands",
      -  "tubing_hose",
      -  "linear_actuators",
      -  "solenoid_valves",
      -  "proximity_sensors"
      -]New value: +[
      +  "usb_cables",
      +  "power_cords",
      +  "ssds",
      +  "memory",
      +  "network_switches",
      +  "usb_hubs",
      +  "wire_terminals",
      +  "connectors",
      +  "ethernet_cables",
      +  "coax_cables",
      +  "ac_dc_psus",
      +  "dc_dc_converters",
      +  "batteries",
      +  "cooling_fans",
      +  "circuit_breakers",
      +  "relays_contactors",
      +  "panel_switches",
      +  "din_terminal_blocks",
      +  "power_meters",
      +  "inserts_standoffs",
      +  "wire_spools",
      +  "motors",
      +  "hdmi_cables",
      +  "camera_modules",
      +  "bearings",
      +  "linear_motion",
      +  "transmissions",
      +  "pumps",
      +  "peltier_modules",
      +  "heat_shrink_tubing",
      +  "heatsinks",
      +  "cable_glands",
      +  "tubing_hose",
      +  "linear_actuators",
      +  "solenoid_valves",
      +  "proximity_sensors",
      +  "phones"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / category / enum
      Previous value: -[
      -  "usb_cables",
      -  "power_cords",
      -  "ssds",
      -  "memory",
      -  "network_switches",
      -  "usb_hubs",
      -  "wire_terminals",
      -  "connectors",
      -  "ethernet_cables",
      -  "coax_cables",
      -  "ac_dc_psus",
      -  "dc_dc_converters",
      -  "batteries",
      -  "cooling_fans",
      -  "circuit_breakers",
      -  "relays_contactors",
      -  "panel_switches",
      -  "din_terminal_blocks",
      -  "power_meters",
      -  "inserts_standoffs",
      -  "wire_spools",
      -  "motors",
      -  "hdmi_cables",
      -  "camera_modules",
      -  "bearings",
      -  "linear_motion",
      -  "transmissions",
      -  "pumps",
      -  "peltier_modules",
      -  "heat_shrink_tubing",
      -  "heatsinks",
      -  "cable_glands",
      -  "tubing_hose",
      -  "linear_actuators",
      -  "solenoid_valves"
      -]New value: +[
      +  "usb_cables",
      +  "power_cords",
      +  "ssds",
      +  "memory",
      +  "network_switches",
      +  "usb_hubs",
      +  "wire_terminals",
      +  "connectors",
      +  "ethernet_cables",
      +  "coax_cables",
      +  "ac_dc_psus",
      +  "dc_dc_converters",
      +  "batteries",
      +  "cooling_fans",
      +  "circuit_breakers",
      +  "relays_contactors",
      +  "panel_switches",
      +  "din_terminal_blocks",
      +  "power_meters",
      +  "inserts_standoffs",
      +  "wire_spools",
      +  "motors",
      +  "hdmi_cables",
      +  "camera_modules",
      +  "bearings",
      +  "linear_motion",
      +  "transmissions",
      +  "pumps",
      +  "peltier_modules",
      +  "heat_shrink_tubing",
      +  "heatsinks",
      +  "cable_glands",
      +  "tubing_hose",
      +  "linear_actuators",
      +  "solenoid_valves",
      +  "proximity_sensors"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / category / enum
      Previous value: -[
      -  "usb_cables",
      -  "power_cords",
      -  "ssds",
      -  "memory",
      -  "network_switches",
      -  "usb_hubs",
      -  "wire_terminals",
      -  "connectors",
      -  "ethernet_cables",
      -  "coax_cables",
      -  "ac_dc_psus",
      -  "dc_dc_converters",
      -  "batteries",
      -  "cooling_fans",
      -  "circuit_breakers",
      -  "relays_contactors",
      -  "panel_switches",
      -  "din_terminal_blocks",
      -  "power_meters",
      -  "inserts_standoffs",
      -  "wire_spools",
      -  "motors",
      -  "hdmi_cables",
      -  "camera_modules",
      -  "bearings",
      -  "linear_motion",
      -  "transmissions",
      -  "pumps"
      -]New value: +[
      +  "usb_cables",
      +  "power_cords",
      +  "ssds",
      +  "memory",
      +  "network_switches",
      +  "usb_hubs",
      +  "wire_terminals",
      +  "connectors",
      +  "ethernet_cables",
      +  "coax_cables",
      +  "ac_dc_psus",
      +  "dc_dc_converters",
      +  "batteries",
      +  "cooling_fans",
      +  "circuit_breakers",
      +  "relays_contactors",
      +  "panel_switches",
      +  "din_terminal_blocks",
      +  "power_meters",
      +  "inserts_standoffs",
      +  "wire_spools",
      +  "motors",
      +  "hdmi_cables",
      +  "camera_modules",
      +  "bearings",
      +  "linear_motion",
      +  "transmissions",
      +  "pumps",
      +  "peltier_modules",
      +  "heat_shrink_tubing",
      +  "heatsinks",
      +  "cable_glands",
      +  "tubing_hose",
      +  "linear_actuators",
      +  "solenoid_valves"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / category / enum
      Previous value: -[
      -  "usb_cables",
      -  "power_cords",
      -  "ssds",
      -  "memory",
      -  "network_switches",
      -  "usb_hubs",
      -  "wire_terminals",
      -  "connectors",
      -  "ethernet_cables",
      -  "coax_cables",
      -  "ac_dc_psus",
      -  "dc_dc_converters",
      -  "batteries",
      -  "cooling_fans",
      -  "circuit_breakers",
      -  "relays_contactors",
      -  "panel_switches",
      -  "din_terminal_blocks",
      -  "power_meters",
      -  "inserts_standoffs",
      -  "wire_spools",
      -  "motors",
      -  "hdmi_cables",
      -  "camera_modules",
      -  "bearings",
      -  "linear_motion",
      -  "transmissions"
      -]New value: +[
      +  "usb_cables",
      +  "power_cords",
      +  "ssds",
      +  "memory",
      +  "network_switches",
      +  "usb_hubs",
      +  "wire_terminals",
      +  "connectors",
      +  "ethernet_cables",
      +  "coax_cables",
      +  "ac_dc_psus",
      +  "dc_dc_converters",
      +  "batteries",
      +  "cooling_fans",
      +  "circuit_breakers",
      +  "relays_contactors",
      +  "panel_switches",
      +  "din_terminal_blocks",
      +  "power_meters",
      +  "inserts_standoffs",
      +  "wire_spools",
      +  "motors",
      +  "hdmi_cables",
      +  "camera_modules",
      +  "bearings",
      +  "linear_motion",
      +  "transmissions",
      +  "pumps"
      +]
  6. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses the return payload (spec record, category attribution, affiliate URL) even though no output schema exists, but it says nothing about what happens when an ASIN is unknown, whether an error or empty result is returned, or any rate/auth constraints.

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?

A single dense sentence that front-loads the action and scope and then names the returned fields. Every clause carries information; nothing is redundant or buried.

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?

For a two-parameter read tool with full schema coverage and no output schema, the description covers the essential contract including return contents. The remaining gap is failure behavior for a missing ASIN, which matters for an agent deciding whether to retry or fall back to a search tool.

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 both parameters are documented in-schema, including the note that category is only a hint and the lookup spans all categories. The description's 'from any of the 46 categories' and URL-form ASIN support merely echo what the schema already states, adding no new syntax or format detail.

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 ('Fetch') and a precisely scoped resource ('full normalized spec record for one Amazon ASIN'), and the phrase 'from any of the 46 categories' implicitly separates it from the category-specific sibling get_usb_cable_by_asin. An agent can tell what it returns (spec record plus owning category and amazon_affiliate_url) without opening the schema.

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

Usage Guidelines2/5

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

The description never states when to prefer this over search_catalog, search_usb_cables, or get_usb_cable_by_asin, nor does it set any precondition such as 'use when you already hold an ASIN rather than a query'. Usage is only inferable from the required ASIN parameter, with no exclusions or alternative-routing guidance.

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.

Resources