Skip to main content
Glama

Plainly TOP

Get seller link

get_offer_link
Read-onlyIdempotent

Get the seller's affiliate link for an offer. Optionally pass a blogger or publisher reference to include it as the sub_id URL parameter; always show the affiliate 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": {
      "offer_id": "<offer_id>"
    },
    "name": "get_offer_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoOptional blogger or publisher id; letters, numbers, underscores, and hyphens only.
offer_idYesThe exact id returned by search_offers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds real behavioral context beyond that: the returned link carries a sub_id parameter when a ref is supplied, and the caller must display an affiliate disclosure — a non-obvious publishing obligation an agent would otherwise miss.

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?

Two tight sentences, with the core action stated first and the optional-ref and disclosure notes following. Every clause earns its place, with no filler or restatement of 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?

There is no output schema, so the description must characterize the return value; it does so ('the seller's affiliate link') and explains how ref alters that URL. Combined with full schema coverage and annotations, this is nearly complete, with only minor gaps such as what happens when an offer has no available link.

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 both offer_id and ref, making 3 the baseline. The description does add one piece of meaning beyond the schema — that ref is injected as the sub_id URL parameter — but it repeats the notion of a blogger/publisher reference already present in the schema.

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?

The description states a specific verb and resource — retrieve the seller's affiliate link for a given offer — which clearly separates it from siblings like get_offer_details or search_offers. It stops short of explicitly naming a sibling to contrast against, so it is clear but not maximally differentiated.

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 useful conditional ('optionally pass a blogger or publisher reference to include it as the sub_id URL parameter') and a compliance instruction ('always show the affiliate disclosure'), which guides invocation. However, it offers no explicit when-to-use vs. when-not guidance relative to siblings such as get_offer_details, leaving tool selection largely implied.

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