Skip to main content
Glama
Fast Video Cataloger

Fast Video Cataloger

Official

Rename a keyword

rename_keyword
Destructive

Rename a keyword across all videos and scenes, with a check that blocks accidental merges when the new name already exists.

Instructions

Rename a keyword everywhere it is used, on videos and on scenes alike. Refused when another keyword already has the new name, so two keywords are never merged by accident. Tell the user how many videos and scenes it is on (keyword_usage) and confirm with them first. Needs an API key with the Editor role.

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": {
      "keyword": "<keyword>",
      "newName": "<newName>"
    },
    "name": "rename_keyword"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordYesThe keyword to rename, exactly as list_keywords reports it.
newNameYesThe new name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv10.6.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag this as destructive, and the description adds real context beyond that: the change propagates to videos and scenes, collisions are refused rather than merged, and an Editor-role API key is required. It does not say whether the rename can be reverted or how group memberships are affected, which is the main remaining gap.

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?

Three short sentences, front-loaded with the action and scope, then the failure mode, then the required workflow. Nothing is padded or repeated.

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?

For a two-parameter destructive mutation, the description covers scope, collision behavior, auth requirements, and the confirmation step an agent needs. There is no output schema, and the description does not say what the call returns, but the pre-check via keyword_usage largely compensates.

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. The description adds no format, casing, or length guidance for newName beyond what the schema states, so the schema carries the load.

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 (rename a keyword) plus the scope that matters: everywhere it is used, on videos and on scenes. The 'keyword' framing also implicitly separates it from rename_keyword_group, so an agent can tell which rename variant applies.

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

Usage Guidelines5/5

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

Gives an explicit pre-flight workflow: call keyword_usage to get counts, then confirm with the user before proceeding. It also names the refusal condition (name collision) so the agent knows when the call will fail rather than succeed.

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