Skip to main content
Glama
qr-code-mcp

qr-code-mcp

by ChaseC99

generate_sms_qr

Create a QR code that opens an SMS compose window with a pre-filled phone number and optional message, enabling users to start a text by scanning.

Instructions

Generate a QR code that opens an SMS compose window with a pre-filled number and optional message.

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": {
      "phone": "<phone>"
    },
    "name": "generate_sms_qr"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoPre-filled message text
phoneYesPhone number (e.g. +1234567890)
widthNoImage width in pixels (PNG only)
formatNoOutput format: base64 PNG or SVG stringpng
marginNoQuiet zone margin in modules
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?

With no annotations, the description carries the full burden, and it does disclose the key behavior: the QR encodes an SMS compose action, not a plain text number. It says nothing about the return value shape, whether errors are raised for invalid numbers, or rate/format constraints, leaving meaningful behavioral gaps for a generator with no annotation coverage.

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?

A single front-loaded sentence with no filler; the resource and encoding behavior arrive in the first clause.

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?

Eight parameters are well covered by the schema and enums, so the description needn't re-explain them, but with no annotations and no output schema it never says what the tool returns (base64 PNG vs SVG string) or how image bytes are delivered. Adequate but leaves a gap an agent would want closed.

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 eight parameters are documented in the schema itself, and the description only restates the required phone and optional body. It adds no format, encoding, or validation semantics 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?

States a specific verb and resource (generate a QR code) plus the encoded payload (SMS compose window with pre-filled number and optional message), which is enough to distinguish it from generate_email_qr or generate_url_qr by payload semantics. It stops short of naming siblings explicitly.

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 and no mention of alternatives such as generate_phone_qr or generate_text_qr. The agent must infer selection purely from the payload phrase 'SMS compose window'.

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