Skip to main content
Glama

Perklo UK Deals

Wrap a product URL

wrap_link
Read-only

Turn any https product/store URL into a Perklo-tracked Digidip or Amazon outbound link. Prefer a published deal go_url when Perklo already lists that merchant URL; otherwise returns a Digidip/Amazon-wrapped URL. Never exposes third-party affiliate tags. Returns url, optional go_url, network, merchant_guess and disclosure.

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": {
      "url": "<url>"
    },
    "name": "wrap_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesDirect https:// product or store page URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description goes beyond them by promising existing affiliate tags are never exposed, describing the preference logic for existing go_urls, and enumerating return fields including a disclosure. It omits failure behavior (non-https or non-product URLs, unknown merchants), which would be the final piece.

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 tight sentences front-loaded with the action, then the preference rule, then the guarantees and return shape. No filler and nothing repeated from the title.

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 one-parameter read-only tool with no output schema, the description carries the needed information by listing the returned fields (url, go_url, network, merchant_guess, disclosure). Only error/edge-case handling is unaddressed, a minor gap given the tool's simplicity.

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% and the single parameter already states 'Direct https:// product or store page URL.' The description reinforces the https/product-page constraint and the 'any' breadth but adds no format or edge-case detail beyond the schema, 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 and resource: 'Turn any https product/store URL into a Perklo-tracked Digidip or Amazon outbound link.' It also names the two concrete output forms (Digidip vs Amazon) and the preference for a published go_url, so an agent can tell exactly what it produces.

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?

It gives a conditional rule ('prefer a published deal go_url when Perklo already lists that merchant URL'), which is really internal behavior rather than user-facing routing advice. It never says when to choose this versus siblings like get_deal or list_outbound_clicks, so usage is implied rather than stated.

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