Skip to main content
Glama
QRMint MCP Server

QRMint MCP Server

by softvoyagers

generate_qr_code

Create styled QR codes from text or URLs with custom colors, dot styles, gradients, and frames; returns a base64-encoded image.

Instructions

Generate a styled QR code from text or URL. Returns a base64-encoded image.

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": {
      "data": "<data>"
    },
    "name": "generate_qr_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesThe text or URL to encode in the QR code
sizeNoImage size in pixels (e.g. 300)
styleNoQR dot style
formatNoOutput image format
frameIdNoFrame template ID (use list_frames to see available frames)
eyeShapeNoQR eye/finder pattern shape
backgroundNoBackground color as hex (e.g. #ffffff)
foregroundNoForeground color as hex (e.g. #000000)
frameLabelNoText label to display on the frame
gradientTypeNoGradient type for foreground
gradientAngleNoGradient angle in degrees (for linear gradient)
gradientColorsNoArray of hex color strings for gradient

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.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 usefully discloses the return value ('base64-encoded image'), which is meaningful for a tool with no output schema, but says nothing about side effects (e.g. whether anything is stored server-side), rate limits, or failure modes.

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, front-loaded with the action and followed by the return format. Nothing is wasted or padded.

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 12-parameter tool with rich styling options, the description is thin, though the fully documented schema compensates. The base64 return note covers the missing output schema; what's absent is any behavioral or routing context an agent would need to choose this over its siblings.

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 12 parameters (data, size, style, format, frameId, eyeShape, colors, gradients) are already documented in the schema with examples and enum values. The description only loosely gestures at 'styled' and adds no meaning beyond that baseline.

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 styled QR code from text or URL') and names the output. The word 'styled' hints at differentiation from generate_typed_qr, but it never explicitly distinguishes itself from that sibling or list_qr_types.

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?

No when-to-use or when-not-to-use guidance. The agent must infer from the name alone whether to call this or generate_typed_qr; no alternatives or prerequisites are mentioned.

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