Skip to main content
Glama

Create QR code

spur_create_qr_code

Create a tracked QR code that sends scans to destination_url. Then add it to a postcard back with spur_add_postcard_qr_code; each mailed postcard gets its own code under it so scans are tracked per recipient.

Input Schema

NameRequiredDescriptionDefault
nameYesLabel shown in Spur, e.g. 'Spring cash offer'
destination_urlYesWhere a scan sends people, e.g. https://acme.example/offer (https:// is added if missing)
background_colorNoHex color, e.g. #111827. Keep strong contrast with the background so phones can scan it
foreground_colorNoHex color, e.g. #111827. Keep strong contrast with the background so phones can scan it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive create operation. The description adds useful behavioral context beyond that: scans are tracked, they route to destination_url, and each mailed postcard can have its own code for per-recipient tracking.

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 description is short and front-loads the main action in the first sentence. The second sentence usefully explains the next step, though the phrase 'under it' is slightly ambiguous.

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?

For a simple create tool with fully described parameters and clear annotations, the description covers purpose, tracking behavior, and the related postcard workflow. It does not describe the return value, but with no output schema and a straightforward create operation, that omission is not severe.

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 all four parameters are already documented with examples and constraints. The description only repeats that destination_url receives scans and does not add new syntax or selection guidance for name or color parameters.

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 states a specific verb (Create) and resource (tracked QR code), and explains the core behavior that scans are sent to destination_url. It also names the related postcard workflow tool, making its role distinct from spur_add_postcard_qr_code.

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 clearly indicates the intended workflow: create the QR code here, then attach it to a postcard with spur_add_postcard_qr_code. It does not explicitly state when not to use it or name alternatives such as spur_update_qr_code, so it stops short of full usage guidance.

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