Skip to main content
Glama

Julklappsspel Gifts – hand-picked gift ideas

Resolve buy link

resolve_product
Read-only

Resolve an ASIN, pasted Amazon /dp/ URL, or keywords to a buyUrl (trackingTag null until enrolled). Pass marketplace=amazon.com for US shoppers (English, USD budgets) or amazon.se for Sweden; if omitted, en-US gets amazon.com, else amazon.se. OpenAPI: resolveProduct.

Input Schema

NameRequiredDescriptionDefault
urlNoPasted Amazon product URL
asinNo10-char Amazon ASIN
localeNoUser locale, e.g. en-US, sv, de. Optional; amazon.com always returns English.
keywordsNoSearch keywords if no ASIN
occasionNo
budgetBandNoSE: under-200|200-400|400-700|700-plus (kr). US (amazon.com): under-20|20-35|35-50|50-plus (USD)
marketplaceNoAmazon storefront for the end user, e.g. amazon.com (US, English, tag sw-julklappsspel-20) or amazon.se (Sweden, tag sw-julklappsspel-21). Optional: if omitted, en-US requests get amazon.com and everything else amazon.se. Never errors on a missing store.
giftCategoryNo

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, and the description usefully adds that trackingTag is null until enrollment and that marketplace defaults deterministically by locale. It omits auth and failure behavior, but with annotations covering safety, this is substantive context.

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?

Three compact sentences front-load the core action and marketplace rule with no repetition. The OpenAPI alias is minor and does not weaken the structure.

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?

With no output schema, the description identifies the main return value as buyUrl and notes trackingTag behavior. Marketplace defaulting removes the key ambiguity, though full return/error behavior is not documented.

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 coverage is 75%, and the description adds meaningful marketplace semantics beyond the schema, including US/Sweden selection and default behavior. The remaining parameters are largely covered by schema descriptions and self-explanatory enums.

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?

States a specific verb and resource set: resolve ASIN, pasted Amazon URL, or keywords into a buyUrl. It is distinguishable from search_gifts and get_catalog, but it does not explicitly contrast itself with those siblings.

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?

Explains input forms and the marketplace-selection rule, including the en-US default. However, it does not say when to use this tool versus search_gifts or get_catalog, nor when not to use it.

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