Skip to main content
Glama

BayDeep — The e-commerce plugin for AI agents

convert_link

Convert any aliexpress.com product/shop/search URL(s) into YOUR affiliate-attributed link(s) (max 10 per call). ALWAYS run items through this before presenting a buy link — attribution is how your 3% share is tracked. Requires a free API key.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "urls": "<urls>"
    },
    "name": "convert_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYescomma separated URLs, max 10
link_typeNo2=short link (default), 0=original

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations at all, the description carries the whole burden and it does disclose non-obvious traits: an auth prerequisite, a per-call cap of 10, and the attribution consequence. It says nothing about invalid/non-AliExpress URL handling, whether the call is idempotent, or how results map back to inputs, which leaves real gaps for a zero-annotation tool.

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 sentences, front-loaded with the core transformation, then the mandatory-usage rule, then the prerequisite. No filler and nothing buried.

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?

For a 2-parameter tool with no output schema, the description covers purpose, quota, auth, and usage timing. The one gap is the return shape — whether it returns a list of links keyed to inputs — which the agent must guess since no output schema exists.

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 100%, so both parameters are already documented, including the default short link and the 0/2 enum. The description only restates the 10-URL cap and adds no further meaning for link_type, so it matches the baseline rather than exceeding it.

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?

States a specific verb and both ends of the transformation: 'Convert any aliexpress.com product/shop/search URL(s) into YOUR affiliate-attributed link(s)'. The scope (max 10 per call) and accepted input domains are stated, which makes it unmistakable against siblings like search_products or product_detail.

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?

'ALWAYS run items through this before presenting a buy link' gives an explicit, actionable trigger for use, and 'Requires a free API key' flags the prerequisite. It lacks an explicit when-not or a named alternative (e.g. the key-minting tool), so it stops short of full routing guidance.

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.