Skip to main content
Glama

McClipFace

Get a shopping link for a product or search page

wrap_link
Idempotent

Returns the link for a store product or search page (urls up to 5, with titles): a tracked McClipFace link, benefit or none; the store's own page when no tracked link can be made. Stores the address of a page it could not credit for 90 days.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "wrap_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoA public product or search page address at a store (http or https; never a cart, checkout, account or order page).
urlsNoInstead of url: up to 5 such addresses; results come back in the same order.
titleNoThe page's product title (with url).
titlesNoThe page titles, in the order of urls.
dry_runNoInternal testing only (needs X-Clippy-Test: 1): no link is minted.

Output Schema

NameRequiredDescriptionDefault
urlNo
noteNo
storeNo
reasonNo
statusYes
benefitNo
coveredNo
networkNo
resultsNo
why_notNo
creditedNo
merchantNo
input_urlNo
link_typeNo
plain_urlNo
why_plainNo
disclosureNo
lands_on_pageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changed
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "description": "Internal testing only (needs X-Clippy-Test: 1): no link is minted.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / title
      Added value: +{
      +  "description": "The page's product title (with url).",
      +  "maxLength": 200,
      +  "type": "string"
      +}
    • addedInput schema / properties / titles
      Added value: +{
      +  "description": "The page titles, in the order of urls.",
      +  "items": {
      +    "maxLength": 200,
      +    "type": "string"
      +  },
      +  "maxItems": 5,
      +  "type": "array"
      +}
    • addedOutput schema / properties / benefit
      Added value: +{
      +  "properties": {
      +    "basis": {
      +      "type": "string"
      +    },
      +    "has": {
      +      "type": "boolean"
      +    },
      +    "reasons": {
      +      "items": {
      +        "properties": {
      +          "kind": {
      +            "type": "string"
      +          },
      +          "link_earning": {
      +            "type": "boolean"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "say": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / covered
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / input_url
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / lands_on_page / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • addedOutput schema / properties / link_type
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / benefit
      Added value: +{
      +  "properties": {
      +    "basis": {
      +      "type": "string"
      +    },
      +    "has": {
      +      "type": "boolean"
      +    },
      +    "reasons": {
      +      "items": {
      +        "properties": {
      +          "kind": {
      +            "type": "string"
      +          },
      +          "link_earning": {
      +            "type": "boolean"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "say": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / results / items / properties / covered
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / results / items / properties / input_url
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / results / items / properties / lands_on_page / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • addedOutput schema / properties / results / items / properties / link_type
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / store
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / why_not
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / results / items / properties / why_plain
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / store
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / why_not
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / why_plain
      Added value: +{
      +  "type": "string"
      +}
  2. Changed4 schema fields changed
    • addedOutput schema / properties / lands_on_page
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / plain_url
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / lands_on_page
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / results / items / properties / plain_url
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Changed4 schema fields changed
    • addedOutput schema / properties / note
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / results / items / properties / note
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / results / items / properties / url / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / url / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  4. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the safety profile is largely covered. The description does add one genuinely useful disclosure beyond that: uncreditable addresses are retained for 90 days, which explains the non-read-only hint. It says nothing about rate limits, auth requirements, or what happens when a URL is rejected.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Compact and front-loaded with the outcome, which is good, but the phrasing is dense and partly cryptic — 'benefit or none' and the colon/semicolon chain read awkwardly, and the 90-day retention clause is tacked on without a subject.

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?

With an output schema present, return values need not be explained, and the annotations carry the safety profile. The description covers the key non-obvious behavior (fallback link, 90-day retention) but leaves usage context and failure modes to inference.

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 description coverage is 100%, so the schema already documents url/urls, title/titles and dry_run in detail. The description only echoes the cardinality constraint ('urls up to 5, with titles') and adds no new semantics such as ordering guarantees or title requirements.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource ('Returns the link for a store product or search page') and clarifies the two output modes: a tracked McClipFace link or the store's own page when tracking is impossible. That makes the opaque name 'wrap_link' interpretable, though it never contrasts itself with siblings like find_coupons or discover_deals.

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

Usage Guidelines2/5

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

There is no when-to-use statement, no prerequisites, and no routing to an alternative tool. The only conditional described is the internal fallback ('the store's own page when no tracked link can be made'), which is behavior, not usage 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.