Skip to main content
Glama

URLinks

get_qr_config

Read-only

Get the QR code configuration for a shortlink, including whether one has been set up.

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": {
      "shortlink": "<shortlink>"
    },
    "name": "get_qr_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
shortlinkYesThe shortlink to check QR config for (e.g., 'my/docs')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered and the description need not restate it. The description does add a useful behavioral detail — that the response indicates whether a QR config exists, i.e. a not-configured case is possible — but says nothing about error behavior for an invalid shortlink or the shape of a configured result.

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 front-loaded sentence with no filler. The trailing clause 'including whether one has been set up' is somewhat wordy but does convey real information about the response, so it earns its place.

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?

For a simple one-parameter read tool with a readOnly annotation, most of what an agent needs is present. With no output schema, however, the description never sketches the returned configuration, leaving the agent to guess the result shape beyond the setup flag.

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% and the single parameter is documented with an example ('my/docs'), so the schema carries parameter meaning. The description adds only the same notion of 'shortlink' without extra format or validation detail, which is the expected baseline when the schema does the work.

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 ('Get the QR code configuration for a shortlink') and adds scope ('including whether one has been set up'), so the agent knows this is a read of QR settings. It does not explicitly name the siblings it differs from (save_qr_config, get_qr_image, apply_qr_template), so it falls short of full sibling differentiation.

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?

Usage is implied rather than stated: the phrase 'whether one has been set up' hints at a precondition/check-before-configure scenario. There is no explicit guidance on when to prefer get_qr_image or save_qr_config, nor any stated exclusion.

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.