Skip to main content
Glama
qr-code-mcp

qr-code-mcp

by ChaseC99

generate_vcard_qr

Generate a QR code containing a vCard contact card so scanning it prompts users to add the contact to their address book.

Instructions

Generate a QR code containing a contact card (vCard). When scanned, prompts to add the contact.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_vcard_qr"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoAdditional notes
titleNoJob title
widthNoImage width in pixels (PNG only)
emailsNoEmail addresses with labels (e.g. work, home)
formatNoOutput format: base64 PNG or SVG stringpng
marginNoQuiet zone margin in modules
phonesNoPhone numbers with labels (e.g. work, home, cell)
birthdayNoBirthday in YYYY-MM-DD format, or --MM-DD if year is unknown
lastNameNoLast name
nicknameNoNickname
websitesNoWebsite URLs with labels (e.g. homepage, work)
addressesNoMailing addresses with labels (e.g. home, work, school)
firstNameNoFirst name
middleNameNoMiddle name
namePrefixNoName prefix (e.g. Mr, Mrs, Dr)
nameSuffixNoName suffix (e.g. Jr, III, PhD)
organizationNoCompany or organization
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.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the tangible end effect ('prompts to add the contact'), which is useful, but says nothing about how the result is returned, whether the vCard is valid with zero fields, or any limits on the embedded payload.

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 short sentences, front-loaded with the core action and outcome, with no filler or redundancy. Nothing in the text could be removed without losing information.

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 20-parameter tool with no annotations and no output schema, the description leaves key questions open: what the tool returns (base64 PNG vs SVG string is only visible in a parameter description), and whether an empty parameter set yields a valid vCard. It is adequate on intent but thin relative to the tool's complexity.

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% across all 20 parameters, including enums and defaults, so the schema does the semantic work. The description adds no parameter-level meaning (no mention of format, size, or which fields actually populate the vCard), so the baseline of 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?

The description uses a specific verb ('Generate') plus a specific resource ('a QR code containing a contact card (vCard)'), and adds the observable effect when scanned. The resource 'contact card' clearly separates it from the wifi/url/sms/event siblings even though none are named 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 guidance on when to choose this tool versus the nine sibling QR generators (e.g. vCard vs phone vs email), nor any prerequisites such as requiring at least a name. The second sentence describes scan-time behavior, not usage selection.

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