Skip to main content
Glama

Scanstone

Create a QR code

create_qr

Create a QR code for a web address. The code points to a short scst.one link whose redirect never expires and that counts scans, so the destination can be changed later without reprinting. Returns the QR image (PNG), PNG and SVG download links, and the short link. Without a connected account, first show the user the no-account notice and get a yes. Results made without an account include a claim link: always share it and encourage the user to save the code to a free Scanstone account.

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": {
      "url": "<url>"
    },
    "name": "create_qr"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe web address the QR code should open, e.g. https://example.com/menu
nameNoOptional label, e.g. 'Front window menu'. Defaults to the site name.
shapeNoOptional module shape. Default square.
backgroundNoOptional light color as #rrggbb. Default #ffffff. Keep strong contrast.
foregroundNoOptional dark color as #rrggbb. Default #1c1917.
claim_tokenNoOptional. A claim_token from an earlier Scanstone result in this conversation, so all codes share one claim link.
notice_versionNoThe notice version the user accepted. Must be "v1-agent".
include_svg_markupNoAlso return the raw SVG markup. Default false.
user_accepted_noticeNoOnly for use without a connected account. Set true only after showing the user this notice and getting a clear yes: "Without a free Scanstone account, this link may not be kept forever. Do you want to continue without one?"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare it is a non-read-only, open-world, non-idempotent, non-destructive write, and the description adds substantially beyond that: the redirect never expires, scans are counted, the destination can be changed later without reprinting, and results without an account carry a claim link. It also discloses the return payload (PNG image, PNG/SVG download links, short link), which is valuable given no output schema exists. The only unstated trait is whether repeated identical calls create duplicate codes.

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-loads the purpose, then layers durability, return values, and the account-gating flow in a logical order with no wasted filler. The final claim-link sentence is somewhat promotional in tone but still conveys an actionable instruction.

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?

With nine parameters, no output schema, and an open-world write, the description covers the return shape, permanence of the redirect, account requirements, and the claim-link follow-up. That is everything an agent needs to call it correctly and to instruct the user about the result.

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 every parameter including claim_token, notice_version, and user_accepted_notice is already documented in the schema. The description reinforces the gating semantics of the accepted-notice parameters but adds no new syntax or formatting detail. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

States a specific verb and resource ('Create a QR code for a web address') and adds what the code actually is: a short scst.one redirect with scan counting. It does not explicitly contrast with the sibling create_short_link, so an agent could be unsure which to reach for, but the QR-specific framing makes the core purpose unmistakable.

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?

Gives clear conditional guidance for the no-account path (show the notice, get a yes, share the claim link) and implies the connected-account path by requiring no such gate. It never names or excludes an alternative tool such as create_short_link or update_destination, so the when-to-use-part-of-this-suite guidance is incomplete.

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.