Skip to main content
Glama

Read a link’s QR code style

get_qr_style

The colours, module shape, margin and logo a link’s QR code is drawn with, and whether the organisation has a logo uploaded for it.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe link’s id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the returned data shape (including the organisation-level logo-uploaded flag), which is genuine value. However, it is silent on error behavior for unknown ids, whether unset styles return defaults, and auth requirements.

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?

One compact sentence front-loads the concrete style fields before the organisation-logo flag. It is a verbless fragment, but no wording is wasted.

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 effectively serves as the return-value documentation and covers the main style fields adequately. It still omits edge cases such as links with no custom QR style, which an agent would need before relying on the response.

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% and the single `id` parameter is already documented as 'The link's id'. The description only implicitly confirms the id refers to a link, adding little beyond the schema; baseline 3 applies.

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 exact resource attributes it returns (colours, module shape, margin, logo) for a link's QR code, which makes the read purpose unambiguous, reinforced by the title 'Read a link's QR code style'. It does not explicitly contrast with the sibling set_qr_style, leaving differentiation to inference.

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?

No when-to-use guidance is given: nothing says to call this before set_qr_style to fetch current settings, nor what happens if no style has been configured. An agent must infer invocation context entirely from the name.

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