Skip to main content
Glama

Birthday Gift Finder – hand-picked gift ideas

Resolve buy link

resolve_product
Read-only

Resolve an ASIN, pasted Amazon /dp/ URL, or keywords to a buyUrl on amazon.com or amazon.se (tagged for both). Pass marketplace when known. OpenAPI: resolveProduct.

Input Schema

NameRequiredDescriptionDefault
urlNoPasted Amazon product URL
asinNo10-char Amazon ASIN
localeNoUser locale, e.g. en-US, sv. Optional; amazon.com always answers in English.
countryNoOptional ISO country of the end user, e.g. US or SE. Used when marketplace is omitted (US → amazon.com).
keywordsNoSearch keywords if no ASIN
occasionNo
budgetBandNo
marketplaceNoAmazon storefront for the end user: amazon.com (US, English, USD) or amazon.se (Sweden), also accepts us / se. Recommended. If omitted: country, then the request's Accept-Language (en-US → amazon.com), else amazon.se. Never an error when missing.
giftCategoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/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 that the result is a tagged buyUrl for both storefronts and that marketplace should be passed when known, but it does not disclose auth needs, rate limits, or error behavior beyond what the schema provides.

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?

The description is three short sentences with the core purpose front-loaded. The 'OpenAPI: resolveProduct' sentence adds little value, but the overall text is efficient and not bloated.

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?

There is no output schema, so the description must explain the return value; it does so partially by naming buyUrl and tagging, but not the response shape or error cases. With 9 optional parameters and several gift-related enums unexplained, the description is adequate but incomplete.

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 identifies the core lookup inputs (ASIN, url, keywords) and marketplace. It says nothing about locale, country, occasion, budgetBand, or giftCategory, leaving several optional parameters unexplained by the description.

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?

Names the specific verb 'Resolve' and the accepted resources: ASIN, pasted Amazon /dp/ URL, or keywords. It also states the output, a buyUrl on amazon.com or amazon.se, but does not explicitly differentiate this from siblings such as search_gifts or get_catalog.

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?

It gives accepted input types and says to pass marketplace when known, which implies the tool's usage context. However, it never states when to choose this over search_gifts, get_catalog, or other siblings, nor does it give exclusions.

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