Skip to main content
Glama

QRPainter

update_destination

Change where an existing code leads. The printed code stays the same.

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_id": "<code_id>",
      "edit_key": "<edit_key>",
      "url": "<url>"
    },
    "name": "update_destination"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
code_idYes
edit_keyYesReturned when the code was created.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 deliver one genuinely useful behavioral fact: the printed code stays the same while its destination changes. However, it omits that the operation requires an edit_key for authorization, what happens if the code or key is invalid, and whether the change is reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with zero waste; the mutating action comes first and the invariant property of the code follows immediately. Nothing is padded or restated.

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?

For a simple three-parameter mutation with no output schema, the description supplies the essential mental model — the code persists, only the destination changes — which is exactly the non-obvious part. Missing authorization and failure-mode context keeps it from being fully complete.

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 only 33% (only edit_key is documented), so the description must compensate. 'where a code leads' implicitly maps to the url parameter and 'existing code' to code_id, but neither is named, and the edit_key semantics are left entirely to the schema.

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?

States a specific verb and resource: 'Change where an existing code leads' precisely describes redirect-target mutation on an existing code, which is distinguishable from creation/design siblings like create_qr_from_image and save_design. It stops short of naming the concrete target (the destination URL) or the identifiers involved.

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?

'an existing code' implies a prerequisite (the code must already exist) and implies this is the wrong tool for creating a code, but there is no explicit when-to-use/when-not guidance and no mention of the required edit_key credential or any alternative to pick instead.

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