Skip to main content
Glama

Get QR Code

get_qr_code
Read-onlyIdempotent

One saved QR code, with the image as PNG and links to SVG and print-ready PDF.

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": {
      "id": "<id>"
    },
    "name": "get_qr_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe QR code id (a UUID from create_qr_code or list_qr_codes).
sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description does add useful behavioral context about the return payload (image rendered as PNG with SVG/PDF links), but says nothing about how 'size' changes the result, rate limits, or error behavior for an unknown id.

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 dense sentence with zero filler, and the most useful information (it is one saved QR code and what formats you get) is front-loaded. It could be marginally sharper by leading with an explicit retrieval verb.

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?

There is no output schema, so the description carries the burden of describing the return value, and it does so reasonably (PNG plus SVG/PDF links). However, for a two-parameter tool it leaves the size parameter and not-found behavior entirely unexplained, so it is adequate rather than complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: the id parameter is documented in the schema, but 'size' (integer, 64-2048) has no description anywhere, and the tool description does not compensate by explaining units, default, or what the size applies to. The mention of 'image as PNG' gestures at the image output but adds no constraints on the size parameter.

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 the resource precisely ('One saved QR code') and enumerates what comes back (PNG image plus SVG and print-ready PDF links), which distinguishes it from create_qr_code and list_qr_codes. The retrieval verb is only implied by 'One saved QR code' rather than stated explicitly, which keeps it short of a perfect score.

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 guidance. An agent must infer from the name and from the id parameter's description that this is the fetch-by-id path, and no alternative (e.g., list_qr_codes to find an id) is mentioned in the description itself.

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