Skip to main content
Glama

QR link of a product

get_qr_link
Read-onlyIdempotent

Use this when the person needs the QR code, QR image or GS1 Digital Link of one of their own products for a label or package. Returns the permanent QR link of a product of the connected account (/q/, it exists from the moment the product is created and never changes), the GS1 Digital Link if the product has a GTIN, the addresses of the QR image as PNG and SVG and the print sheet in the dashboard. Do not use for products of other manufacturers (use resolve_product).

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": {
      "product_id": "<product_id>"
    },
    "name": "get_qr_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNoLanguage of the answer: "de" (German, default), "en" (English) or "pl" (Polish). Product and account answers are written in German and English; content without a translation comes in German.
product_idYesProduct id, as list_my_products returns it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description goes further by disclosing a genuinely non-obvious behavioral trait: the link exists from product creation and never changes, and the GS1 Digital Link is conditional on the product having a GTIN. It stops short of fully enumerating the response payload, which keeps it below 5.

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?

Two sentences, front-loaded with the usage trigger, and zero filler. The second sentence is dense because it enumerates return artifacts, but every clause carries information the agent needs. Slightly long for a read tool, which keeps it out of 5 territory.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 — and it does, listing the permanent /q/<code> link, the conditional GS1 Digital Link, and the PNG/SVG/print-sheet addresses. Combined with 100% schema coverage on the two parameters and annotations covering safety, an agent has everything needed to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real semantic constraint on product_id: the product must belong to the caller's own account and be one of 'their own products'. That scoping matters for correct invocation. It does not explain the language parameter, so it is not a 5.

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 resource (QR link / GS1 Digital Link / QR image files of a product) with a concrete output path form (/q/<code>). It also explicitly distinguishes itself from the sibling that handles other manufacturers' products, so an agent can separate it from resolve_product and get_my_product without opening a 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?

Opens with an explicit trigger ('Use this when the person needs the QR code, QR image or GS1 Digital Link ... for a label or package') and adds an explicit exclusion with the named alternative ('Do not use for products of other manufacturers (use resolve_product)'). Both the when and the when-not are covered.

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