Skip to main content
Glama
qr-code-mcp

qr-code-mcp

by ChaseC99

generate_event_qr

Create a scannable QR code for a calendar event so recipients can add it directly to their calendar.

Instructions

Generate a QR code for a calendar event. When scanned, adds the event to the calendar.

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": {
      "title": "<title>",
      "start": "<start>"
    },
    "name": "generate_event_qr"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd date/time in ISO 8601 format
alertNoReminder alert in minutes before the event (e.g. 15 for 15 minutes before)
startYesStart date/time in ISO 8601 format
titleYesEvent title
widthNoImage width in pixels (PNG only)
allDayNoWhether this is an all-day event
formatNoOutput format: base64 PNG or SVG stringpng
marginNoQuiet zone margin in modules
locationNoEvent location
descriptionNoEvent description
backgroundColorNoBackground color (hex, e.g. #ffffff)#ffffff
errorCorrectionNoError correction level: L(7%), M(15%), Q(25%), H(30%)M
foregroundColorNoForeground color (hex, e.g. #000000)#000000

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the meaningful behavioral trait that the resulting code, when scanned, adds the event to a calendar, but it says nothing about side effects, permissions, rate limits, or what the caller receives back (base64 string vs SVG), leaving real gaps for an unannotated tool.

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?

Two tight sentences with zero filler; the core action is front-loaded and the second sentence adds only non-redundant context about the scan outcome.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 13 parameters, 2 required, and no output schema, the description should say what is returned (base64 PNG vs SVG string) and roughly what a valid event requires. The schema covers the parameters fully, but the absence of an output schema leaves the return shape underspecified.

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% with 13 well-documented parameters including enums and defaults, so the schema already does the semantic work. The description adds no parameter meaning (nothing about required title/start, allDay, alert, or color options), which matches the baseline 3 when coverage is complete.

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?

The description names a specific verb and resource ('Generate a QR code for a calendar event') and the second sentence clarifies the artifact's purpose when scanned, which clearly separates it from qr generators for wifi, vcard, url, etc. It does not explicitly name a sibling or state the payload format (e.g. iCal/VEVENT), so it stops 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 Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no mention of alternatives among the many generate_*_qr siblings, and no stated prerequisites. The scan behavior hints at the use case but does not tell an agent when this tool is the right choice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.