Skip to main content
Glama
heikowagner

Amazon Affiliate MCP Server

by heikowagner

amazon_product_link

Turn a product ASIN into a trackable Amazon affiliate link for any supported country storefront.

Instructions

Generate a direct Amazon affiliate link for a specific product using its ASIN. Use this when you already know the exact product (10-character ASIN) and want a clean, trackable link for any supported Amazon country.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asinYes10-character Amazon ASIN, e.g. B08N5WRWNW
countryNoAmazon storefront country code, e.g. de, us, uk. Default: dede
product_nameNoOptional product name to include in the response for display purposes
Behavior3/5

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

With no annotations provided, the description carries the burden of disclosure. It clearly states the action (generating a link) and implies the output (a trackable link), but does not explain the return format, potential errors, or any side effects. It is adequate but does not go beyond the obvious for a simple link generator.

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?

The description is two sentences long, front-loaded with the core purpose, and contains no superfluous information. Every phrase adds value—'clean, trackable link' and 'any supported Amazon country' are useful context without bloating the text.

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?

Given the tool's simplicity and the schema's completeness, the description is sufficient to understand the tool's operation. However, since there is no output schema, the description does not specify the exact return structure (e.g., whether it returns just the URL or includes the product name), leaving a minor gap.

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?

The schema provides 100% coverage, including descriptions for asin, country, and product_name. The description adds no extra semantic details beyond what the schema already offers, so a baseline score of 3 is appropriate. It does align with the ASIN requirement and supported country concept.

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?

The description clearly states the tool's function: 'Generate a direct Amazon affiliate link for a specific product using its ASIN.' It uses a specific verb and resource, and distinguishes itself from sibling tools like amazon_search and amazon_deals by focusing on link generation rather than discovery. The mention of ASIN and supported countries adds specificity.

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

Usage Guidelines4/5

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

The description provides explicit usage context: 'Use this when you already know the exact product (10-character ASIN) and want a clean, trackable link.' This tells the agent when to select this tool over siblings, though it does not explicitly mention alternatives or exclusions like 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.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/heikowagner/amazon-affiliate-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server