Skip to main content
Glama

BlankQR

Get the picture of a code

get_picture
Read-only

The QR picture of a code, as PNG (returned as an image) or SVG (returned as text). It holds the short address and nothing else, so it stays valid when the code is changed.

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": {
      "code": "<code>"
    },
    "name": "get_picture"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe 7 characters at the end of the code's short address, the part after the last slash.
darkNoColor of the dark modules as six hex digits. It has to be much darker than light: a pair a phone cannot tell apart is refused.000000
sizeNoLargest width in pixels (PNG only; an SVG has no pixel size). Each module is a whole number of pixels, so the picture can come out a little smaller.
levelNoError correction. Higher survives more damage and makes a denser picture.M
lightNoColor of the background as six hex digits.ffffff
shapeNoSquare modules, or round dots with rounded corner marks.square
formatNopng for a picture with a pixel size, svg for one that stays sharp at any print size.png
marginNoQuiet border in modules. Scanners expect 4.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description does add genuinely useful behavior: the payload is "the short address and nothing else, so it stays valid when the code is changed," which tells the agent the image is stable across edits. However it says nothing about failure behavior for an unknown code, size limits, or rate/cost constraints.

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 compact sentences with no filler; the output formats are front-loaded and the immutability note follows logically. Nothing is redundant, though it is short enough that a little more routing guidance could have been included without bloat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With eight parameters, full schema documentation and no output schema, the definition supplies the one thing the schema cannot: that the response is either binary image data or SVG text depending on format, and that the content is just the short address. Error behavior for an invalid or unknown code is left unstated, a minor gap for a read-only tool.

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 coverage is 100%, so every one of the eight parameters is already fully documented with patterns, ranges and defaults. The description only adds the png-as-image / svg-as-text return mapping, which is a modest but real increment over the schema's wording.

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 QR picture of a code, as PNG ... or SVG" names the specific resource (a QR image) and its two output forms, which clearly separates it from get_code or make_code. It is not a tautology of the title, though it never explicitly names a sibling to contrast against.

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?

The format sentence implies when to pick png versus svg (sizing versus print sharpness), but there is no explicit when-to-use or when-not-to-use guidance relative to get_code or the other code tools. Usage is inferable rather than stated.

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