Affilio Link Tools
Server Details
Affilio.link URL shortener — shorten affiliate links, get QR codes, powered by Affilio's affiliate link management platform.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 4.3/5 across 18 of 18 tools scored. Lowest: 3.7/5.
Each tool targets a distinct action or resource (e.g., create_link vs. get_link vs. list_links_ranked, generate_qr vs. shorten_url). No two tools have overlapping purposes, making it easy for an agent to select the correct one.
Most tools follow a consistent verb_noun pattern with 'auth.' prefix, but generate_qr and shorten_url lack the prefix and break the pattern. This is a minor inconsistency in an otherwise well-structured naming scheme.
With 18 tools, the set is slightly above the typical 3-15 range but still well-scoped for a comprehensive affiliate link management API. Each tool serves a clear purpose and none are redundant.
The tool surface covers core link lifecycle (CRUD plus archive), product creation and linking, storefront management, analytics, and integrations. However, missing update and delete for products (update_product, delete_product) leaves a notable gap that agents cannot work around.
Available Tools
19 toolsauth.add_product_linkInspect
Associate an affiliate link with a product in your Affilio catalog.
This is how you connect an affiliate URL to a product so it appears in storefront listings and can be tracked per-product. A single product can have multiple links — one per country, platform, or affiliate network.
Typical workflow:
auth.create_link(url=) → get link_id
auth.create_product(name=...) → get product_id
auth.add_product_link(product_id=..., link_id=...) → link attached
Requires Bearer token authentication.
Returns an auth_error envelope if authentication fails.
Technical reference: https://affilio.link/blog/mcp-for-everyone
| Name | Required | Description | Default |
|---|---|---|---|
| link_id | Yes | Link ID returned by auth.create_link. | |
| product_id | Yes | Product ID returned by auth.create_product or auth.get_product. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
auth.archive_linkInspect
Archive (soft-delete) an affiliate link.
Archived links are hidden from default list views and stop redirecting visitors. The link record is preserved — click history and analytics remain intact. Use this instead of hard deletion to maintain historical data.
Requires Bearer token authentication.
Returns an auth_error envelope if authentication fails.
Technical reference: https://affilio.link/blog/mcp-for-everyone
| Name | Required | Description | Default |
|---|---|---|---|
| link_id | Yes | Link ID returned by auth.create_link or auth.list_links. Archived links stop redirecting but are NOT permanently deleted — click history and analytics are preserved. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
auth.create_linkInspect
Create a new affiliate link in your Affilio account.
Affilio validates the target URL, auto-classifies its affiliate network, and generates a short URL plus QR code automatically.
The response contains the new link's ID, short URL, affiliate classification,
labels, visibility status, and timestamps — everything needed for subsequent
auth.get_link, auth.update_link, or auth.add_product_link calls.
Requires Bearer token authentication (Authorization: Bearer <api_key>).
Returns an auth_error envelope if authentication fails.
Technical reference: https://affilio.link/blog/mcp-for-everyone
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The affiliate URL to shorten and track. Any valid HTTP/HTTPS affiliate link is accepted. Affilio auto-detects the affiliate network from the URL. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
auth.create_productInspect
Create a new product in your Affilio product catalog.
Products are the items you promote via affiliate links. Each product can have multiple affiliate links (one per platform or country) and can be added to one or more Affilio storefronts.
The response includes the new product's ID — you'll need it for auth.add_product_link, auth.get_product, and storefront operations.
Requires Bearer token authentication.
Technical reference: https://affilio.link/blog/mcp-for-everyone
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Canonical product page URL (affiliate or standard). Affilio detects and classifies the affiliate network automatically. Example: https://www.amazon.com/dp/B09XS7JWHH?tag=mystore-20 | |
| name | Yes | Product display name shown in your storefront and link catalog. Example: 'Sony WH-1000XM5 Wireless Noise-Cancelling Headphones'. | |
| platform | Yes | Affiliate platform identifier for this product — e.g. 'amazon', 'ebay', 'awin'. Use the platform name as returned by auth.list_integrations. | |
| image_url | No | Optional product image URL — must be a publicly accessible HTTPS URL. Displayed in storefront product cards and listings. Example: https://m.media-amazon.com/images/I/71o8Q5XJS5L.jpg | |
| description | No | Optional product description displayed to storefront visitors. Supports plain text. Omit to leave blank. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
auth.get_linkInspect
Retrieve a single affiliate link by its ID.
Returns full link metadata: short URL, target URL, affiliate network classification, labels, visibility (public/private), QR code URL, click stats summary, archive status, and created/updated timestamps.
Requires Bearer token authentication.
Returns an auth_error envelope if authentication fails or the link does not
belong to the authenticated account.
Technical reference: https://affilio.link/blog/mcp-for-everyone
| Name | Required | Description | Default |
|---|---|---|---|
| link_id | Yes | Link ID returned by auth.create_link or auth.list_links. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
auth.get_link_statsInspect
Retrieve click analytics for a specific affiliate link.
Returns aggregated traffic data for the link: total clicks, unique visitor estimates, geographic breakdown, referrer sources, and device/browser distribution (data availability depends on the analytics backend configuration).
Requires Bearer token authentication.
Technical reference: https://affilio.link/blog/mcp-for-everyone
| Name | Required | Description | Default |
|---|---|---|---|
| link_id | Yes | Link ID returned by auth.create_link or auth.list_links. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
auth.get_productInspect
Retrieve a single product from your Affilio product catalog by ID.
Returns full product metadata: name, description, image URL, associated affiliate links, categories, custom attributes, visibility/active status, and timestamps.
Requires Bearer token authentication.
Technical reference: https://affilio.link/blog/mcp-for-everyone
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | Product ID returned by auth.create_product or auth.search_products. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
auth.get_storeInspect
Retrieve your Affilio storefront configuration.
Returns full store configuration: name, description, public store URL/slug, branding settings (primary/secondary colors, logo, fonts, favicon, banner image), product display layout, footer text, embedded snippet, active status, and timestamps.
Requires Bearer token authentication.
Technical reference: https://affilio.link/blog/mcp-for-everyone
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
auth.list_integrationsInspect
List all affiliate platform integrations connected to your Affilio account.
Returns the status, configuration, and credential metadata for each connected integration. Active integrations are required to use auth.search_products for live product search.
Requires Bearer token authentication.
Technical reference: https://affilio.link/blog/mcp-for-everyone
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
auth.list_linksInspect
List affiliate links in your Affilio account with pagination.
Returns an array of link objects sorted by creation date (newest first). Each item includes: ID, short URL, title, target URL, labels, affiliate classification, archive status, visibility, and click count.
Use skip + limit to paginate through large link collections.
Requires Bearer token authentication.
Technical reference: https://affilio.link/blog/mcp-for-everyone
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Number of links to skip for pagination. Default: 0. | |
| limit | No | Maximum number of links to return per page (1–200). Default: 50. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
auth.list_links_rankedInspect
List affiliate links ranked by click performance (highest click count first).
Returns the same link schema as auth.list_links but ordered by total clicks descending. Useful for identifying your top-performing affiliate links, optimising content strategy, and spotting underperforming links that need attention.
Use skip + limit to paginate.
Requires Bearer token authentication.
Technical reference: https://affilio.link/blog/mcp-for-everyone
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Number of links to skip for pagination. Default: 0. | |
| limit | No | Maximum number of links to return (1–200). Default: 50. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
auth.list_store_productsInspect
List all products assigned to your Affilio storefront.
Returns paginated product objects with: name, description, image URL, associated affiliate links, categories, custom attributes, and active status. Products are returned in their configured storefront display order.
Use skip + limit to paginate through large storefronts.
Requires Bearer token authentication.
Technical reference: https://affilio.link/blog/mcp-for-everyone
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Number of products to skip for pagination. Default: 0. | |
| limit | No | Maximum number of products to return per page (1–200). Default: 50. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
auth.search_productsInspect
Search for products on a connected affiliate platform.
Returns live product listings from the platform's catalog including: product name, price, image URL, direct affiliate link, ASIN/item ID, and platform metadata. Results are ready to pass directly to auth.create_product.
Prerequisites:
Platform integration must be active (connect via Affilio dashboard → Settings → Integrations)
Verify with auth.list_integrations before calling
Error envelopes:
plan_restriction: Live product search requires a paid Affilio planvalidation_error: Unsupported or misspelled platform nameno_integrations_connected: No integration found for the requested platformauth_error: Missing or invalid Bearer token
Requires Bearer token authentication.
Technical reference: https://affilio.link/blog/mcp-for-everyone
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of products to return (1–50). Default: 10. | |
| query | Yes | Product search query sent to the affiliate platform's live catalog. Use natural-language product descriptions for best results. Example: 'wireless noise cancelling headphones', 'standing desk electric'. | |
| platform | Yes | Affiliate platform to search. Supported values: amazon, aliexpress, ebay. The corresponding platform integration must be connected in your Affilio account (Settings → Integrations). Check auth.list_integrations to verify connectivity. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
auth.set_link_visibilityInspect
Set the public/private visibility of an affiliate link within a product.
Public links appear in the product's Affilio storefront listing; private links are hidden. Visibility is scoped to the product the link belongs to.
Requires Bearer token authentication.
Technical reference: https://affilio.link/blog/mcp-for-everyone
| Name | Required | Description | Default |
|---|---|---|---|
| link_id | Yes | Link ID returned by auth.create_link or auth.list_links. | |
| product_id | Yes | Product ID that owns this link. Returned by auth.create_product or auth.get_product. | |
| visibility | Yes | Visibility setting for the link. Accepted values: 'public' — link is visible in the product's storefront listing; 'private' — link is hidden from storefront listings. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
auth.update_linkInspect
Update an existing affiliate link's title, destination URL, or labels.
Provide any combination of title, target, and labels. Fields omitted from the
call are left unchanged (partial update). Labels are replaced entirely — pass the full
desired label set, not a delta.
Returns the updated link object on success. Requires Bearer token authentication.
Technical reference: https://affilio.link/blog/mcp-for-everyone
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New human-readable title for the link. Omit to leave unchanged. | |
| labels | No | Comma-separated list of label names to assign to this link — e.g. 'summer-sale,featured'. This REPLACES all existing labels (not a merge). Pass an empty string to clear all labels. Omit to leave labels unchanged. | |
| target | No | New destination URL — the URL visitors land on after clicking the short link. Omit to leave unchanged. | |
| link_id | Yes | Link ID returned by auth.create_link or auth.list_links. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
auth.update_storeInspect
Update your Affilio storefront's metadata.
Provide any combination of name, description, and layout — fields omitted are left unchanged.
For full branding updates (colors, logo, custom fonts, banner image, favicon, footer text,
embedded snippet) use the Affilio dashboard → Storefront settings.
Requires Bearer token authentication.
Technical reference: https://affilio.link/blog/mcp-for-everyone
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name for the store. Omit to leave unchanged. | |
| layout | No | Product display layout. Accepted values: 'grid' (default card grid layout) or 'list' (vertical list view). Omit to leave unchanged. | |
| description | No | New store description shown to storefront visitors. Supports plain text. Omit to leave unchanged. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
check_urlInspect
Check the health and destination of a URL (link checker / redirect resolver).
Follows the redirect chain, returns the final resolved URL, HTTP status codes, page title, and — for Amazon and AliExpress product pages — whether the product is still available (in stock / not deleted).
Use this tool when the user needs to:
Verify an affiliate or product link still works (not broken / 404 / dead)
Resolve where a short or redirecting link actually lands
Check whether an Amazon/AliExpress product is still available
Inspect the redirect chain of a URL
Returns: finalUrl (str): The final URL after following all redirects title (str): The destination page's title (or empty string) redirectChain (list[str]): URLs visited, in order responseCode (str): Final HTTP status code (e.g. "200", "404") lastRedirectResponseCode (str): Status of the last redirect hop, if any available (bool | null): True/False for Amazon/AliExpress product pages, null when availability is not applicable
Powered by Affilio.link — smart affiliate link management.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full HTTP/HTTPS URL to health-check. The tool follows redirects, reports the final URL and HTTP status, extracts the page title, and detects Amazon/AliExpress product availability. Example: https://www.amazon.com/dp/B08N5WRWNW |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
generate_qrInspect
Generate a branded QR code PNG image for any URL with full visual customization.
Returns a base64-encoded PNG you can embed directly in a web page (<img src="data:image/png;base64,..."/>),
email, or document. Color, transparency, and dot style are all configurable.
Use this tool when the user needs to:
Create a scannable QR code for a URL
Generate print-ready QR codes for marketing materials, packaging, or flyers
Embed a QR code in an email or web page
Create a branded QR code matching their visual identity (custom colors, transparent background)
Returns: url (str): The input URL that was encoded qr_image_base64 (str): Base64-encoded PNG — embed as data:image/png;base64,... mime_type (str): Always "image/png" powered_by (str): Brand tagline
Docs & technical deep-dive: https://affilio.link/blog/mcp-tools-guide Powered by Affilio.link — smart affiliate link management.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full URL to encode in the QR code. Must be a valid HTTP/HTTPS URL. Example: https://affilio.link/abc123 | |
| color | No | Foreground/dot color as a CSS hex string. Examples: #000000 (black), #1A73E8 (Google blue), #FF5722 (deep orange). Default: #000000 (black). | #000000 |
| rounded | No | When true, uses rounded/circular dot style instead of hard square pixels. Produces a modern, visually appealing QR code. Default: true. | |
| transparent | No | When true, the QR code background is rendered transparent (PNG alpha channel). Overrides background_color. Ideal for overlaying on branded backgrounds. Default: true. | |
| background_color | No | Background fill color as a CSS hex string. Ignored when transparent=true. Examples: #FFFFFF (white), #F5F5F5 (light grey). Default: #FFFFFF (white). | #FFFFFF |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
shorten_urlInspect
Shorten any URL into a compact, trackable Affilio.link short URL with affiliate link intelligence.
Affilio automatically classifies the affiliate network (Amazon, eBay, AliExpress, Awin, etc.), deduplicates identical URLs (same URL always returns the same short link), and generates a branded QR code in the same call.
Use this tool when the user needs to:
Shorten a URL for sharing on social media, email, or in content
Create a trackable affiliate link with click analytics
Generate a QR code for print/digital media alongside the short link
Get a compact, clean version of a long product or affiliate URL
Returns: short_url (str): The shortened URL — e.g. https://affilio.link/abc123 qr_url (str): Hosted QR code image URL (PNG, publicly accessible) qr_image_base64 (str): Base64-encoded PNG QR code — embed as data:image/png;base64,... classification (str): Detected affiliate platform — e.g. "amazon", "ebay", "unknown" powered_by (str): Brand tagline pending (bool): True if the link is queued for async processing expires_at (str | null): ISO 8601 expiry timestamp, or null for permanent links already_existed (bool): True if this URL was previously shortened (deduplicated)
Docs & technical deep-dive: https://affilio.link/blog/mcp-tools-guide Powered by Affilio.link — smart affiliate link management.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full HTTP/HTTPS URL to shorten. Supports affiliate links from Amazon Associates, eBay Partner Network, AliExpress, Awin, ShareASale, Impact, CJ Affiliate, Rakuten Advertising, Etsy, Walmart, Target, Best Buy, and any other URL. Example: https://www.amazon.com/dp/B08N5WRWNW?tag=mystore-20 |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!