Skip to main content
Glama

rename_tag

Renames a tag in gThumb’s tag list and updates its cached search snapshot, keeping tag references consistent across the library.

Instructions

Rename a tag in gThumb's tag list (and its cached search snapshot).

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": {
      "old": "<old>",
      "new": "<new>"
    },
    "name": "rename_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
newYes
oldYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose one genuinely non-obvious side effect — the cached search snapshot is updated along with the tag list — but it says nothing about collision handling, missing-tag behavior, reversibility, or whether image tag assignments cascade.

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?

A single sentence with the operation front-loaded and a parenthetical adding the non-obvious cache side effect. Nothing is wasted and nothing is buried.

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?

The tool is a simple two-parameter mutation and an output schema exists, so return values need no explanation. Still, for a mutation with no annotations, the description omits failure modes and side effects beyond the cache snapshot, leaving meaningful gaps.

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 description coverage is 0%, so the description must compensate. The rename framing makes the old/new roles inferable (old tag name, new tag name), but it adds no details such as case sensitivity, whitespace handling, or whether the new name may create a tag implicitly.

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 (rename) and resource (tag in gThumb's tag list), which cleanly separates it from create_tag, delete_tag, and list_tags. It does not explicitly name the siblings it must not be confused with, but the operation is unambiguous.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus create_tag/delete_tag, and no prerequisites are stated (e.g., must the old tag already exist, what happens if the new name collides with an existing tag). The agent must infer all of this.

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