Skip to main content
Glama

Generate Structured QR (Wi-Fi / vCard / Email / Geo)

qr_structured_generate

Creates properly formatted QR codes for Wi-Fi, vCard contacts, email, or geo coordinates, preventing manual escaping mistakes.

Instructions

Generate properly formatted QR codes for Wi-Fi networks, vCard 3.0 contacts, emails, SMS, or geo coordinates without manual escaping mistakes. PNG is Free; SVG/HD requires ThisMyOwn PRO.

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": {
      "kind": "<kind>",
      "outputPath": "<outputPath>"
    },
    "name": "qr_structured_generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
scaleNo
formatNopng
emailToNo
latitudeNo
wifiSsidNo
emailBodyNo
longitudeNo
contactOrgNo
outputPathYesDestination file path (.png or .svg)
wifiHiddenNo
contactNameNo
contactEmailNo
contactPhoneNo
emailSubjectNo
wifiPasswordNo
wifiEncryptionNoWPA

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add two useful behaviors: output is written to a destination path and correct escaping is handled internally, plus SVG/HD output is gated behind a PRO license. It says nothing about file overwrite behavior, failure modes, or the fact that which parameters are required changes dramatically with the chosen kind — critical for a 17-parameter, kind-conditional tool.

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?

Two tight sentences with the capability statement front-loaded and no filler; the licensing caveat is the only secondary clause and it earns its place. It is efficiently written, though its brevity is partly under-specification rather than pure economy.

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

Completeness2/5

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

For a tool with 17 parameters, kind-conditional requirements, no annotations, and no output schema, the description is far too thin — it never explains per-kind required fields, enum meanings, scale effects, or what the tool returns (file path? image data?). The mention of 'SMS' that has no corresponding enum value compounds the incompleteness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 6%, so nearly all semantic weight falls on the description, yet it explains no parameter beyond naming payload types in prose. The central mapping — that wifi requires wifiSsid/wifiPassword/wifiEncryption, vcard requires contactName/contactOrg/etc., geo requires latitude/longitude — is entirely absent, leaving the agent to infer conditional requirements from bare field names.

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?

Uses a specific verb ('Generate') plus a clearly scoped resource ('properly formatted QR codes') and enumerates the payload kinds (Wi-Fi, vCard 3.0, email, SMS, geo), which is far more informative than the bare tool name. It does not distinguish itself from the sibling qr_generate or qr_batch_generate, and it lists 'SMS' while the schema's kind enum only allows wifi/vcard/email/geo, so the stated scope overreaches the actual capability.

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 guidance on when to choose this over qr_generate, qr_batch_generate, or barcode_generate — the description only states what formats the tool produces. The one contextual note ('PNG is Free; SVG/HD requires ThisMyOwn PRO') is a licensing constraint, not a routing rule, so the agent gets no when-to-use or when-not-to-use signal.

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