Skip to main content
Glama
qr-code-mcp

qr-code-mcp

by ChaseC99

generate_email_qr

Generate a QR code that opens an email compose window with pre-filled recipient, subject, and body fields so users can start an email by scanning.

Instructions

Generate a QR code that opens an email compose window with pre-filled fields.

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": {
      "to": "<to>"
    },
    "name": "generate_email_qr"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient email address
bodyNoEmail body text
widthNoImage width in pixels (PNG only)
formatNoOutput format: base64 PNG or SVG stringpng
marginNoQuiet zone margin in modules
subjectNoEmail subject line
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.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It explains the encoded payload semantics ('opens an email compose window with pre-filled fields'), but says nothing about what the tool returns, whether it is stateless/side-effect free, or that the result is image data rather than a URL.

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?

One tightly written sentence, front-loaded with the verb and the distinguishing payload, with zero filler.

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?

For a nine-parameter tool with no annotations and no output schema, the description covers purpose but not the result contract (base64 PNG versus SVG string) or the stateless nature of generation. It is minimally sufficient to select the tool but thin for invoking and interpreting it.

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 is already documented, and the baseline is 3. The phrase 'pre-filled fields' loosely maps to the to/subject/body trio but adds no syntax, encoding, or defaulting detail beyond the schema.

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 (Generate) and a precise resource (a QR code that opens an email compose window), which inherently separates it from the SMS, phone, Wi-Fi, and URL siblings. It stops short of explicitly naming those alternatives, but the payload type is unambiguous.

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 guidance, no prerequisites, and no mention of the other generate_*_qr tools. The agent must infer from the payload type alone that this is the email variant.

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