Skip to main content
Glama
Qr Code Generator20 MCP Server

Qr Code Generator20 MCP Server

Generate Basic

generate_basic

Creates a base64-encoded QR code from input data with optional size settings for basic QR code generation needs.

Instructions

Generates a QR code as base64 with limited settings.

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_basic"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesExample value: 1234
sizeNoExample value: 500500

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.1/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 does disclose the return format (base64), which matters because there is no output schema, but it says nothing about what "limited settings" excludes, whether the base64 string is a bare payload or a data URI, or any failure behavior for invalid input.

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?

A single short sentence with no filler, and the key fact (base64 output) is front-loaded after the verb. The trade-off is that brevity comes at the cost of the usage and limitation detail an agent would want.

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 tool with no annotations and no output schema, the description covers purpose and encoding but leaves the capability boundary ("limited settings") undefined and the `size` parameter's meaning unexplained. An agent could call it, but not confidently predict what it will or won't produce compared with the advance variants.

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 baseline is 3. The schema's own descriptions are placeholder text ("Example value: 500") rather than meaning, and the tool description adds no clarification of what `data` accepts or what unit `size` uses, so it neither compensates for nor worsens 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?

The description names a specific verb and resource ("Generates a QR code") and adds two concrete qualifiers: the output encoding (base64) and the capability scope ("limited settings"). The word "basic" plus "limited settings" implicitly separates it from the advance siblings, though it never names them, so it stops short of 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 Guidelines2/5

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

"Limited settings" weakly hints that richer options live elsewhere, but there is no explicit when-to-use, when-not-to-use, or named alternative among generate_advance / generate_advance_2. The agent must infer the routing decision entirely from the tool name.

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