Skip to main content
Glama
qr-code-mcp

qr-code-mcp

by ChaseC99

generate_geo_qr

Create a scannable QR code for a latitude and longitude pair; scanning it opens the location directly in a maps app.

Instructions

Generate a QR code for a geographic location. When scanned, opens the location in a maps app.

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "generate_geo_qr"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthNoImage width in pixels (PNG only)
formatNoOutput format: base64 PNG or SVG stringpng
marginNoQuiet zone margin in modules
latitudeYesLatitude
longitudeYesLongitude
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.4/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 burden. It discloses the useful behavioral fact that the encoded result opens a location in a maps app when scanned, but says nothing about what the tool returns (an image payload rather than a stored object), whether it has side effects, or any permission/rate considerations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and followed by the observable outcome; nothing is redundant. It is efficient but very sparse for an eight-parameter tool, so it is concise without being complete.

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?

The rich schema covers inputs and the format parameter reveals that output is a base64 PNG or SVG string, and no output schema exists so return values need not be explained. For an eight-parameter, annotation-free tool, however, the description omits the encoding scheme and any statement about side effects, leaving real gaps.

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%, with bounds, defaults and enum meanings already documented for all eight parameters, so the baseline is 3. The description adds no parameter-level meaning of its own — notably it does not clarify how latitude/longitude are encoded (geo URI vs. a maps URL), which is the one semantic detail the schema leaves open.

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+resource ("Generate a QR code for a geographic location") and its scope is clearly separable from sibling generators like generate_wifi_qr or generate_vcard_qr by the resource named. It stops short of explicitly naming or contrasting a sibling, which keeps it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this is the right tool when the payload is a coordinate pair, and the "when scanned, opens the location in a maps app" clause hints at the intended consumer. There is no explicit when-to-use, no exclusions, and no mention of alternatives for other QR payload types.

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