Skip to main content
Glama

get_buying_links

Read-onlyIdempotent

Get the published retailer links for one product and an explicit country. Preserve affiliate URLs exactly, disclose commissions, and confirm variant, shipping, taxes and stock at the retailer. Does not place orders.

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": {
      "country": "<country>",
      "model_id": "<model_id>"
    },
    "name": "get_buying_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYesExplicit shopping country; GB means United Kingdom. Independent of interface language.
languageNoContent language, not the shopping country.en
model_idYes

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?

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: affiliate URLs must be preserved verbatim, commissions must be disclosed, and variant, shipping, taxes and stock must be confirmed at the retailer, which signals that returned link data is not authoritative for those attributes.

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 short sentences, front-loaded with the core action, followed by the handling obligations and then the exclusion. No sentence is redundant and nothing is 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?

With no output schema, the description does state the return subject (published retailer links) and the caveats an agent must communicate (variant, shipping, taxes, stock are retailer-side). It stops short of describing the response shape, such as how many links or what fields each carries, which is the remaining gap for a read-only, three-parameter tool.

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 67%: country and language already carry enum descriptions, including the 'GB means United Kingdom' and language-vs-country clarifications, while model_id is documented only by pattern and length constraints. The description reinforces that country must be explicit and that exactly one product is targeted, but adds no format or identity detail for model_id.

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 opens with a specific verb and resource: 'Get the published retailer links for one product and an explicit country,' and adds the boundary 'Does not place orders.' That is enough to distinguish it from compare_smart_glasses and find_smart_glasses by intent, though it never names those siblings explicitly.

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?

The requirement of one product plus an explicit country and the closing exclusion 'Does not place orders' imply when the tool applies. There is no direct instruction on when to prefer this over the sibling lookup tools, and no prerequisites or failure conditions are spelled out, so usage guidance is only 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