Skip to main content
Glama

Santa Wishlist – hand-picked gift ideas

Resolve buy / inspiration link

resolve_product
Read-only

Resolve an ASIN, pasted Amazon /dp/ URL, or keywords to a buyUrl for the user's store (amazon.com or amazon.se). Curated catalog ASINs on amazon.com become English search links. With no input it returns a default kids gift search. OpenAPI: resolveProduct.

Input Schema

NameRequiredDescriptionDefault
urlNoPasted Amazon product URL
asinNo10-char Amazon ASIN
localeNoUser locale, e.g. en-US, sv, de. en-US switches to amazon.com when marketplace is omitted.
ageBandNo
countryNoISO country of the shopper, e.g. US or SE (used when marketplace is omitted)
categoryNo
keywordsNoSearch keywords if no ASIN
marketplaceNoAmazon storefront for the end user: amazon.com (US) or amazon.se (Sweden, default); also uk, de, fr… Order: marketplace → country → locale/Accept-Language (en-US ⇒ amazon.com) → amazon.se. amazon.se returns curated /dp product links; amazon.com returns English search links tagged for amazon.com.
preferSearchNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / country
      Added value: +{
      +  "description": "ISO country of the shopper, e.g. US or SE (used when marketplace is omitted)",
      +  "type": "string"
      +}
    • changedInput schema / properties / locale / description
      Previous value: -"User locale, e.g. en, sv, de, fr, es"New value: +"User locale, e.g. en-US, sv, de. en-US switches to amazon.com when marketplace is omitted."
    • removedInput schema / properties / locale / minLength
      Removed value: -2
    • changedInput schema / properties / marketplace / description
      Previous value: -"Amazon storefront domain or id for the end user, e.g. amazon.se, amazon.com, se, de. REQUIRED — curated ASINs only produce /dp links on amazon.se; other marketplaces get search deep-links."New value: +"Amazon storefront for the end user: amazon.com (US) or amazon.se (Sweden, default); also uk, de, fr… Order: marketplace → country → locale/Accept-Language (en-US ⇒ amazon.com) → amazon.se. amazon.se returns curated /dp product links; amazon.com returns English search links tagged for amazon.com."
    • removedInput schema / properties / marketplace / minLength
      Removed value: -2
    • removedInput schema / required
      Removed value: -[
      -  "marketplace",
      -  "locale"
      -]
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly and openWorld, so the safety profile is covered; the description adds genuinely new behavior — the no-input default, the amazon.com curated-ASIN downgrade to English search links, and the two supported storefronts. It omits error behavior for invalid ASINs/URLs, but the added disclosure is substantive.

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?

Three tight, front-loaded sentences that each carry information; the input forms lead, then the amazon.com nuance, then the fallback. The trailing "OpenAPI: resolveProduct" is an internal artifact that earns little for a calling agent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter, zero-required tool with no output schema, the description covers the primary inputs and the return concept (buyUrl) but leaves the optional filtering parameters and the shape of the response largely unexplained. Adequate to call, not enough to call optimally.

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 coverage is 67%, and the description contributes real meaning by framing url/asin/keywords as alternative input paths and describing the no-input default. However, two parameters (ageBand, preferSearch) remain undocumented in both schema and description, and the interplay of category/ageBand with keyword search is unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Uses a specific verb (resolve) with a defined output (buyUrl) and enumerates the accepted input forms (ASIN, /dp/ URL, keywords). It is distinguishable from siblings like search_gifts and get_catalog by being a resolver of a specific reference into a storefront link, though it never names those siblings to sharpen the contrast.

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

Usage Guidelines3/5

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

Gives implicit routing rules: supply ASIN, URL, or keywords, and with no input it falls back to a default kids gift search. It never states when to prefer this over search_gifts or get_catalog, nor whether the input forms are mutually exclusive, so the agent must infer the selection conditions.

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