Skip to main content
Glama

QR Code Creator

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 QRCodeCreator.app 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.5/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing that the operation replaces any existing name, that an empty name removes it, the auth paths (signed-in OAuth or Bearer API key with ownership), the not_owner failure, and the return payload. The destructiveHint=true is contextualized by the 'replaces any existing name' sentence rather than left unexplained. Minor gap: no note on reversibility or whether the old name can be recovered.

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?

Four tight sentences, front-loaded with the core action and followed by constraints, auth, failure mode, and return value in a logical order. The opening 'Free.' is a small but purposeful cost signal; no sentence is redundant with the title or schema.

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, it covers everything an agent needs: required auth, ownership failure (not_owner), the empty-string removal edge case, side-effect boundaries, and the return shape (id plus new name). Nothing material is left for the agent to guess.

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 shown in My QR Codes and matched by list_qr_codes searches, and an empty name removes it. The id parameter is only referenced generically via ownership requirements, with the example format left to the schema.

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 in the signed-in account,' then scopes it to the label shown in My QR Codes and matched by list_qr_codes. It also explicitly rules out what siblings like update_destination would do by noting it does not change the image, scan link, or destination, so an agent can separate this from the other QR tools.

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?

Explains the operational context clearly: use it to change the human-readable label, and it explicitly says the label does not affect the image or where the code points, which steers agents away from using it for destination changes. It lacks an explicit 'use X instead when...' pointer to update_destination, so it stops short of a full routing statement.

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