Skip to main content
Glama

Teacher 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). ALWAYS pass marketplace + locale. OpenAPI: resolveProduct.

Input Schema

NameRequiredDescriptionDefault
urlNoPasted Amazon product URL
asinNo10-char Amazon ASIN
localeYesUser locale, e.g. en, sv, de, fr, es
keywordsNoSearch keywords if no ASIN
occasionNo
budgetBandNo
marketplaceYesAmazon storefront domain or id for the end user, e.g. amazon.se, amazon.com, se, de. REQUIRED.
giftCategoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 readOnlyHint and openWorldHint, so the safety profile is covered; the description adds real value on top by disclosing the return contract ('buyUrl', trackingTag null until enrolled) and pointing to the OpenAPI operation name. It does not say what happens on ambiguity or when nothing resolves, which keeps it below 5.

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 short fragments, front-loaded with the core resolution behavior, with no filler. The trailing "OpenAPI: resolveProduct" is a compact and useful pointer rather than padding, though the parenthetical about trackingTag is slightly dense to parse.

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?

With 8 parameters and no output schema, the description partially carries the return burden (buyUrl, trackingTag) but leaves the optional enrichment parameters — occasion, giftCategory, budgetBand — unexplained in both schema and prose. An agent knows how to make a minimal call but not how to use the full parameter surface.

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 63%, so the schema does much of the work; the description reinforces the three pickup parameters (url, asin, keywords) and the two required ones. It says nothing about occasion, giftCategory, or budgetBand, whose enum values carry no descriptions in the schema either, so the coverage gap is not compensated.

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?

The description names a specific verb (resolve) and enumerates the accepted inputs (ASIN, pasted Amazon /dp/ URL, keywords) plus the output (buyUrl). That is far more concrete than the name alone. It stops short of naming how this differs from the sibling search_gifts, which is the main remaining ambiguity.

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?

"ALWAYS pass marketplace + locale" gives a hard usage constraint, and the enumeration of the three input modes implies which parameter to supply. There is no explicit when-to-use vs. when-not guidance, and nothing routes the agent between this tool and search_gifts or get_catalog.

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