Skip to main content
Glama

Get a purchase link for an AliExpress product

get_cashback_link

Return the CashbackPro purchase link for an AliExpress product. These are affiliate links: with a connected CashbackPro account (extension token in the Authorization Bearer header, obtained at https://cashbackpro.org/connect-extension?utm_source=mcp) part of the commission goes back to the buyer as cashback; without one the link still works but pays none. Which case applies is stated in the response, along with the disclosure text to pass on to the user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
productYesAliExpress product URL or numeric product ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

The description goes well beyond the annotations by explaining the affiliate-link mechanics, the effect of a connected CashbackPro account on commission, the requirement of an Authorization Bearer token, and that the response indicates which case applies plus the disclosure text. This richly discloses behavior without contradicting any annotations.

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 two sentences with no fluff, though the second sentence is long and packs in a URL and multiple conditions. It is efficient and front-loaded with the primary purpose.

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?

Given the simple single-parameter schema and presence of annotations, the description adequately explains the affiliate context and what the response includes (which case applies, disclosure text). It does not detail response structure, but that is not required in the absence of an output schema.

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 already provides 100% coverage with a description for the only parameter 'product' (AliExpress product URL or numeric product ID). The tool description adds no additional parameter meaning, so the baseline of 3 applies.

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 opens with a specific verb+resource: 'Return the CashbackPro purchase link for an AliExpress product.' This clearly distinguishes the tool from its siblings (calculate_cashback, get_promo_codes, etc.) by stating exactly what it produces and for what domain.

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?

The description implies when to use it (when a purchase link is needed) but does not explicitly state when to use it versus alternatives or provide exclusions. No alternatives are mentioned, so guidance is left to inference from the tool name and purpose.

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