Skip to main content
Glama

rename_tag

DestructiveIdempotent

Rename a tag consistently across GFF resources and NWScript files, and preview the changes with dryRun=true before applying them.

Instructions

Rename a tag across all GFF resources and NWScript source files. Use dryRun=true to preview changes without modifying anything.

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": {
      "oldTag": "<oldTag>",
      "newTag": "<newTag>"
    },
    "name": "rename_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoPreview changes without modifying (default: true)
newTagYesNew tag value to replace with
oldTagYesCurrent tag value to find

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare idempotentHint and destructiveHint; the description adds the crucial detail that the write sweeps every GFF resource and NWScript source file, and that a preview mode exists. It stops short of saying whether the change is reversible, whether the tag must already exist, or what happens to partial matches.

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 sentences, zero filler, and the high-impact scope statement is placed first with the safety lever second. Nothing needs trimming.

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?

Covers what it changes and how to preview, but for a destructive, filesystem-wide rename with no output schema it omits what the call returns, how many changes to expect, and behavior when oldTag is absent. An agent could call it safely but not predict the result.

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% and all three parameters carry descriptions, including dryRun's default of true. The description's 'preview changes without modifying anything' largely restates the schema rather than adding format or constraint detail (e.g. case sensitivity, tag syntax).

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) plus a precise blast radius: 'across all GFF resources and NWScript source files'. That scope makes it clearly distinct from search_by_tag, though no sibling is named explicitly.

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?

Gives one concrete usage instruction — set dryRun=true to preview — which is genuinely actionable. It does not say when to prefer this over search_by_tag, nor what prerequisites or conditions make a rename appropriate versus a manual edit.

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

Deploy Server

Other Tools