Skip to main content
Glama

Travel Packing – hand-picked gift ideas

Resolve buy link

resolve_product
Read-only

Resolve an ASIN, pasted Amazon /dp/ URL, or keywords to a buyUrl (product /dp or packing search) on the chosen storefront. With marketplace=amazon.com, keywords resolve to a matching US catalog product (/dp) when one exists. Pass marketplace=amazon.com for United States users (English, USD, amazon.com /dp links); default amazon.se. Without marketplace/country, an en-US Accept-Language selects amazon.com. OpenAPI: resolveProduct.

Input Schema

NameRequiredDescriptionDefault
urlNoPasted Amazon product URL
asinNo10-char Amazon ASIN
localeNoUser locale, e.g. en-US, sv-SE
climateNo
countryNoOptional ISO country code of the end user, e.g. US → amazon.com, SE → amazon.se. Used when marketplace is omitted.
keywordsNoSearch keywords if no ASIN
tripTypeNo
marketplaceNoAmazon storefront for the end user: amazon.com (United States — English titles, USD prices, amazon.com /dp links) or amazon.se (Sweden, SEK). Also accepts ids like us / se. Pass marketplace=amazon.com for US users. If omitted: country is used, then the caller's Accept-Language (en-US → amazon.com), else amazon.se. Unknown values fall back to amazon.se (never an error).
durationBandNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds real behavioral context beyond that: keyword fallback to a US catalog /dp product when one exists, Accept-Language-driven marketplace selection, and that unknown marketplace values fall back to amazon.se rather than erroring — valuable for invocation confidence.

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 action and output, and the storefront guidance is placed where it matters. It loses a point for repeating the marketplace fallback text that already exists verbatim-ish in the schema, which is redundant filler in the description.

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 9-parameter, no-required-params tool with no output schema, the description gives the return shape (product /dp vs packing search) and the resolution precedence, which is the essential missing piece. It stops short of explaining how climate/tripType/durationBand shape the packing-search branch, but the enums are largely self-describing.

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 67%, so the baseline is 3. The description elaborates the marketplace/country/Accept-Language precedence, but that chain is already spelled out in the marketplace schema description, and the remaining params (locale, climate, tripType, durationBand) are never mentioned, leaving their role in 'packing search' resolution undocumented.

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 (resolve) plus the accepted input forms (ASIN, /dp URL, keywords) and the concrete output (a buyUrl on a chosen storefront). This is distinguishable from siblings like get_catalog or search_packing_items, which do not produce a resolved buy link.

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?

The description spends its guidance on which marketplace/storefront to choose (US users → amazon.com, default amazon.se), which is useful, but never says when to call this instead of siblings such as get_catalog, search_packing_items, or add_packing_item. Usage is implied by the input forms rather than explicitly routed.

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