Skip to main content
Glama

JapanLanded landed-cost estimates

get_referral_link

Read-onlyIdempotent

Return an outbound link for a Japan proxy. Buyee returns the affiliate URL when the item is not alcohol; sake and whisky never get an affiliate link. Other proxies return their public pages with placeholder:true. Never executes a purchase. Use only when the user wants a signup or store link, not for fee amounts (use estimate_landed_cost or list_proxies for fees).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "proxy": "buyee",
      "category": "figures"
    },
    "name": "get_referral_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNo
proxyYesProxy id: buyee, zenmarket, neokyo, tenso, from-japan, or white-rabbit.
categoryNoNeeded so alcohol (sake, whisky) can suppress the Buyee affiliate link.
item_urlNoEchoed only. Never fetched.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "category": "figures",
      +    "proxy": "buyee"
      +  }
      +]
    • addedInput schema / properties / category / description
      Added value: +"Needed so alcohol (sake, whisky) can suppress the Buyee affiliate link."
    • addedInput schema / properties / proxy / description
      Added value: +"Proxy id: buyee, zenmarket, neokyo, tenso, from-japan, or white-rabbit."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description still adds real behavior: no purchase is ever executed, Buyee only affiliates non-alcohol items, and other proxies return placeholder:true pages. The one gap is that 'placeholder:true' is not unpacked (what the placeholder represents, whether the link is stable/reusable).

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?

Front-loaded with the return behavior and routing constraint in four tight sentences with no filler. Minor waste: the alcohol restriction is stated twice in one sentence ('when the item is not alcohol; sake and whisky never get an affiliate link'), and the compression makes that sentence harder to parse than necessary.

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 no output schema, the description does the work of describing the return value (affiliate URL vs. public page with placeholder:true) and the side-effect boundary (never executes a purchase). It is close to complete for a 4-parameter read tool; the only omissions are the 'lang' parameter's effect and what placeholder pages actually look like.

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 75%, just under the high-coverage baseline, and the description mostly restates what the schema already documents (category gates the alcohol affiliate rule; item_url is echo-only). The 'lang' parameter has no description in either the schema or the prose, so the description does not compensate for that gap.

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?

Names a specific verb and resource ('Return an outbound link for a Japan proxy') and immediately scopes what kind of link comes back per proxy (Buyee affiliate URL vs. other proxies' public page with placeholder:true). An agent can tell this is a link-retrieval tool, not a pricing or availability tool, without opening the schema.

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

Usage Guidelines5/5

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

Explicitly states the triggering intent ('Use only when the user wants a signup or store link') and the exclusion plus alternatives ('not for fee amounts (use estimate_landed_cost or list_proxies for fees)'). Both when-to-use and when-not-to-use are covered with named sibling routing.

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