Skip to main content
Glama

qrtap_change_destination

Repoint an existing QR code or short link to a new destination URL while its printed image, slug, and short_url stay unchanged. Update menus or price lists without reprinting, with the previous destination kept in the audit trail.

Instructions

Point an existing code at a new destination URL. This is the core of the product: the printed QR, its slug and its short_url stay byte-for-byte the same, only the redirect target changes, so a menu or price list can be replaced without reprinting anything. The change is live for the next scan, immediately, and the previous destination is kept in the audit trail (qrtap_code_history). Because it changes what real customers see, confirm the new URL with the user before calling.

Input Schema

NameRequiredDescriptionDefault
urlYesThe new destination URL (http/https).
codeIdYesThe code id (UUID) as returned by qrtap_create_code or qrtap_list_codes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses immediacy ('live for the next scan, immediately'), the immutability of the printed artifact, and that the prior destination is retained in qrtap_code_history. It omits error behavior (invalid codeId, non-http scheme), permission needs, and reversibility of the change beyond the history reference.

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?

Front-loaded with the action and the key invariant, then sequencing effect, audit trail, and the confirmation warning. Slight marketing phrasing ('This is the core of the product') is the only sentence that does not carry operational weight, but it earns some of its place by motivating the confirmation rule.

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?

Two required params, no output schema, and no annotations — the description covers effect, timing, side effects, and the safety ritual an agent needs before mutating customer-facing behavior. What is missing is failure handling (bad codeId, invalid URL, expired code) and any indication of what the call returns.

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 both parameters are already documented, including that codeId comes from qrtap_create_code or qrtap_list_codes. The prose adds no syntax, format, or validation detail beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Point an existing code at a new destination URL') and immediately clarifies the invariant: the printed QR, slug and short_url stay identical while only the redirect target changes. That distinguishes it cleanly from the creation siblings like qrtap_create_code and qrtap_create_short_link.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit usage scenario (replacing a menu or price list without reprinting) and a concrete pre-call obligation: confirm the new URL with the user because real customers see the change. It does not name an explicit alternative tool or a 'do not use when' case, which keeps it short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.