Skip to main content
Glama
QRMint MCP Server

QRMint MCP Server

by softvoyagers

generate_typed_qr

Generate a QR code from structured data such as WiFi, vCard, email, phone, SMS, event, EPC, or geo details; returns a base64-encoded image.

Instructions

Generate a QR code from structured data (WiFi, vCard, Email, Phone, SMS, Event, EPC, Geo). 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": {
      "type": "<type>",
      "fields": "<fields>"
    },
    "name": "generate_typed_qr"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoImage size in pixels (e.g. 300)
typeYesQR data type
styleNoQR dot style
fieldsYesType-specific fields as key-value pairs (e.g. {"ssid":"MyWifi","password":"secret","encryption":"WPA"} for wifi)
formatNoOutput image format
frameIdNoFrame template ID
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
gradientColorsNoArray of hex color strings for gradient

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

B3.4/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 return shape ('base64-encoded image'), which genuinely matters because there is no output schema. It says nothing about how 'format: svg' interacts with base64 encoding, whether frames/labels require a valid frameId from list_frames, or how invalid type/field combinations fail.

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 sentences, no filler, with the core action and the supported type list front-loaded before the return-value note. Nothing could be removed without losing information.

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

Completeness4/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 a nested free-form 'fields' object, the description adequately frames what the tool does and what it returns, and the schema covers styling parameters. The one notable gap is that the type-specific contents of the required 'fields' object across eight types are left to a single example.

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 the field-level documentation is already handled, and the description correctly signals that input is 'structured data' keyed by type. That said, it adds no per-type field semantics — the hardest part of this tool — beyond the single wifi example embedded in the schema, so baseline 3 applies.

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') and enumerates the eight supported structured-data types, which is far more informative than the name alone. It does not, however, distinguish itself from the sibling generate_qr_code, so an agent has no basis from the text to choose between them.

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 is given, no prerequisites, and no reference to the siblings list_qr_types or list_frames for discovering valid type or frame values. The agent must infer everything about tool selection from the absence of information.

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