Skip to main content
Glama

QR code for a checkout

checkout_qr_code
Read-only

A QR code for one checkout's buyer link, for a flyer, a slide or a table at an event. Pass a tag (e.g. qr, event, workshop) to add ?ref= to the link, so sales from the code show that tag in the seller's Sales and Reports. Returns the link and the code as an SVG file's text, with a quiet zone so it scans. A PNG is one click away on the checkout's page in Swipefast (editUrl). Pro only: on Starter it returns an upgrade message.

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": "<product>"
    },
    "name": "checkout_qr_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoOptional link tag: lower case letters, numbers and dashes, e.g. qr or event. Omit for the plain link.
accountNoOnly to work in a client's account: its id from list_accounts. Leave it out for your own account.
productYesThe checkout's id or slug.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior5/5

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

The annotations already declare read-only, non-destructive behavior, and the description adds substantial context: it returns the link and SVG text with a quiet zone, mentions the PNG option via editUrl, and explains that Starter accounts receive an upgrade message. It also discloses that the tag appends ?ref= and affects Sales and Reports attribution.

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?

The description is front-loaded with purpose and then proceeds through tag mechanics, return format, PNG alternative, and plan gating. Every sentence adds useful information without filler.

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?

For a low-complexity, three-parameter tool with no output schema, it explains the return value, scan-safe quiet zone, plan gating, and tag attribution behavior. The only parameter not mentioned in prose is account, which is fully documented in the schema.

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. The description adds outcome-level meaning for the tag parameter, explaining that it appends ?ref= and attributes sales in Sales and Reports, while product and account are adequately covered by 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?

It states precisely what the tool produces: a QR code for one checkout's buyer link, with concrete use cases such as a flyer, slide, or event table. It does not explicitly distinguish itself from sibling tools such as get_link_page, so it falls just short of a 5.

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

Usage Guidelines4/5

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

It gives clear usage context for the QR code and describes how to pass a tag to attribute sales, plus the Pro-only constraint. It does not name a sibling alternative or a clear when-not-to-use case, though the PNG option is noted.

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.