Skip to main content
Glama

QR Code Creator

Create a QR code

create_qr_code

Free. Creates a scannable QR code from a website URL, such as a restaurant menu, event page, business website or product link, with no account or API key required. Returns the PNG image, download links on QRCodeCreator.app for the PNG (imageUrl) and SVG (svgUrl), and the SVG markup when format is "svg". Owners can create a shareable page from their portfolio. Requires a destination URL; supports public HTTP/HTTPS links, not Wi-Fi credentials, contact cards, arbitrary text or decoding an existing QR image. Every code encodes a scan link (scanUrl) on QRCodeCreator.app that counts scans and forwards to the URL, so its destination can be changed later by an owner with Pro without reprinting. Signed in or with an API key, the code belongs to that account. Otherwise the result includes a claimUrl, valid for 30 days, that adds the code to the QR codes of whoever opens it on QRCodeCreator.app. Unsafe links and links to private or internal hosts are refused with an error that names the reason.

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_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesDestination website URL to encode, e.g. https://example.com/menu. Required; https:// is added if no scheme is given.
formatNoHosted PNG and SVG links are always returned. "svg" also returns the SVG markup.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / format / description
      Previous value: -"\"png\" (default) returns a hosted PNG. \"svg\" also returns the SVG markup."New value: +"Hosted PNG and SVG links are always returned. \"svg\" also returns the SVG markup."
  2. Changed1 schema field changed
    • removedInput schema / properties / variant
      Removed value: -{
      -  "description": "\"direct\" (default) encodes the URL itself. \"redirect\" encodes a scan link that counts scans and whose destination can be changed later.",
      -  "enum": [
      -    "direct",
      -    "redirect"
      -  ],
      -  "type": "string"
      -}
  3. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  4. Changed1 schema field changed
    • changedInput schema / properties / url / description
      Previous value: -"Where the QR code should send people. https:// is added if no scheme is given."New value: +"Destination website URL to encode, e.g. https://example.com/menu. Required; https:// is added if no scheme is given."
  5. Changed1 schema field changed
    • changedInput schema / properties / variant / description
      Previous value: -"\"direct\" (default) encodes the URL itself. \"redirect\" encodes a scan link that counts scans and can be changed later with Pro."New value: +"\"direct\" (default) encodes the URL itself. \"redirect\" encodes a scan link that counts scans and whose destination can be changed later."
  6. First observed

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false), and the description adds substantial extra context: scan counting via scanUrl, later destination edits for Pro owners, account ownership when signed in, and a 30-day claimUrl. However, one clause ("Owners can create a shareable page from their portfolio") is unclear and unrelated to this tool's behavior, slightly muddying an otherwise strong disclosure. It does not contradict the annotations.

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?

The key facts (free, no account, required URL, returns, ownership/claim behavior) are front-loaded in a single dense block with no filler sentences. It is longer than necessary, though, and the portfolio/shareable-page clause is a non sequitur that weakens structure.

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 usefully enumerates return values (PNG, imageUrl, svgUrl, SVG markup) and explains the ownership and claimUrl outcomes and error behavior. What is missing is any mention of idempotency or whether repeated calls create separate codes, which matters for a non-idempotent creating 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 100%, so the schema already documents both url and format, including the enum and the scheme-defaulting rule. The description's statement that SVG markup is returned when format is "svg" largely restates the schema, so it adds only marginal meaning beyond it.

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?

The description opens with a specific verb plus resource ("Creates a scannable QR code from a website URL") and enumerates concrete use cases (menu, event page, business site, product link). It also disambiguates from siblings by scoping the tool to code creation, leaving listing, analytics and destination updates to the other tools.

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 positive conditions (public HTTP/HTTPS links) and explicit exclusions (no Wi-Fi credentials, contact cards, arbitrary text, or decoding an existing QR image), plus a note that an owner can later change the destination, hinting at update_destination. It never states an explicit "use X instead when..." routing rule, so it falls short of a 5.

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