Skip to main content
Glama

qr

Generate a QR code image (png|svg).

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": {
      "text": "<text>"
    },
    "name": "qr"
  }
}

Input Schema

NameRequiredDescriptionDefault
eccNoParameter: ecc
sizeNoImage size in px (128-1024, default 256)
textYesText or URL to encode
colorNoParameter: color
formatNopng | svg
bgcolorNoParameter: bgcolor

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed7 schema fields changed
    • addedInput schema / properties / bgcolor
      Added value: +{
      +  "description": "Parameter: bgcolor",
      +  "type": "string"
      +}
    • addedInput schema / properties / color
      Added value: +{
      +  "description": "Parameter: color",
      +  "type": "string"
      +}
    • addedInput schema / properties / ecc
      Added value: +{
      +  "description": "Parameter: ecc",
      +  "type": "string"
      +}
    • addedInput schema / properties / format
      Added value: +{
      +  "description": "png | svg",
      +  "type": "string"
      +}
    • addedInput schema / properties / size
      Added value: +{
      +  "description": "Image size in px (128-1024, default 256)",
      +  "type": "integer"
      +}
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text or URL to encode",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "text"
      +]
  4. Added

TDQS

C2.9/5.0
Behavior2/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, yet it says nothing about what is actually returned (raw image bytes, base64, a URL, or a file reference) or how errors such as an oversized payload are reported. Only the two output formats are disclosed, and that is already visible in the schema.

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 the key information front-loaded and no wasted words. It is efficient, though the extreme terseness means the space saved is not used for any of the missing guidance.

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?

With six parameters, no annotations, and no output schema, the description should explain the return value and the constraints an agent must respect. It omits the return format entirely and does not address the size/ECC options, leaving the definition under-specified for a tool whose output type is the main unknown.

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 parameters are already documented and the baseline of 3 applies. The description adds no syntax or semantics beyond repeating the png|svg format choice that the schema already lists.

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 gives a specific verb and resource ('Generate a QR code image') plus the output formats, so the agent knows exactly what it produces. It does not, however, differentiate itself from the sibling 'generate_qr_code', which appears to do the same thing, leaving a real ambiguity unresolved.

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 when-to-use or when-not-to-use guidance and no mention of the near-identical sibling 'generate_qr_code'. The agent is left to infer the selection rule from the name alone, which is exactly the ambiguity the description should resolve.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources