Skip to main content
Glama

QR Code Dinosaur

Rename a QR code

rename_qr_code
DestructiveIdempotent

Free. Sets the name of a QR code in the signed-in account, the label shown in My QR Codes on QRCodeDinosaur.com and matched by list_qr_codes searches. Replaces any existing name; an empty name removes it. The name is only a label: it does not change the image, the scan link or where the code points. Needs the code's owner: signed in (OAuth) or an API key (Authorization: Bearer qrcd_...) whose owner owns the code. If the code belongs to someone else, it returns not_owner. Returns the code's id and its new name (null if removed).

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": "<name>"
    },
    "name": "rename_qr_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesQR code ID from list_qr_codes or create_qr_code, e.g. "QR-ABCD1234EF".
nameYesThe new name, up to 100 characters, e.g. "Black Friday flyer". An empty string removes the name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations it discloses the replace semantics ('Replaces any existing name; an empty name removes it'), the auth paths (OAuth session or Bearer qrcd_ API key, and that the key's owner must own the code), the not_owner failure, and the return shape (id plus new name or null). That is exactly the destructive-overwrite context the destructiveHint=true flag implies but cannot explain.

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 constraining facts (free, what it sets, what it does not affect, auth, error, return) and free of filler. It is a dense single paragraph rather than structured clauses, which slightly slows scanning of the auth/error details.

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

Completeness5/5

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

For a two-parameter mutation with no output schema, the definition covers everything an agent needs: effect on existing data, the empty-string removal case, ownership/auth requirements, the failure mode, and the return values. Nothing material is left to inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: the name is the label surfaced in My QR Codes and used by list_qr_codes search matching, which tells the agent why the value matters. It does not add length or format detail beyond the schema, so not a 5.

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 ('Sets the name of a QR code') and pins down the scope: the label shown in My QR Codes and matched by list_qr_codes searches. It also explicitly separates the label from the image, scan link and destination, so an agent won't confuse it with update_destination.

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?

Implicitly routes the agent away from this tool when the goal is changing where a code points ('does not change the image, the scan link or where the code points'), which is a genuine alternative-selection signal. It does not name update_destination outright or state when-not-to-use in explicit terms, so it stops 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources