Skip to main content
Glama
Fast Video Cataloger

Fast Video Cataloger

Official

Delete a keyword

delete_keyword
Destructive

Removes a keyword from the catalog across all videos, all scenes, or both; deletion is permanent, so confirm usage counts with the user first.

Instructions

Delete one keyword from the catalog: it is taken off every video, every scene or both, and cannot be undone. One keyword at a time, named exactly; there are no wildcards. Before calling this, tell the user how many videos and scenes carry it (keyword_usage) and get their go-ahead. To take a keyword off one video, use untag_video instead. Returns how many videos and scenes lost it. 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>"
    },
    "name": "delete_keyword"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNoWhere to delete it from: 'videos', 'scenes' or 'both'. Defaults to videos. A keyword deleted from one stays in the catalog while the other still uses it.videos
keywordYesThe keyword, exactly as list_keywords reports it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv10.6.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations supply only destructiveHint=true, but the description adds the traits that actually matter: the deletion is irreversible ('cannot be undone'), the blast radius covers every video and scene, there are no wildcards so no accidental bulk match, the return value is counts of videos and scenes affected, and it needs an Editor-role API key. That is materially more than the annotation already conveys.

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 short sentences, front-loaded with the blast radius and irreversibility before the procedural prerequisites and the alternative. Nothing is padded; each clause (no wildcards, one at a time, Editor role, return shape) carries actionable information.

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 destructive tool with no output schema, the description covers scope of effect, irreversibility, confirmation requirement, sibling alternative, return value, and auth requirement. An agent has everything needed to call it safely without consulting other fields.

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 `scope` and `keyword` already carry descriptions that cover their meaning, and the 'stays in the catalog while the other still uses it' nuance is repeated from the schema rather than added. The only genuine addition is 'named exactly; there are no wildcards', which is marginal over the schema's 'exactly as list_keywords reports it'. Baseline 3 is appropriate.

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 with explicit scope: 'Delete one keyword from the catalog: it is taken off every video, every scene or both.' The 'one keyword at a time' constraint and the contrast with untag_video make it unmistakable against siblings like delete_keyword_group or untag_video.

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 prerequisite workflow ('Before calling this, tell the user how many videos and scenes carry it (keyword_usage) and get their go-ahead') and names the alternative for a narrower case ('To take a keyword off one video, use untag_video instead'). When-to-use, when-not-to-use, and the required sibling are all spelled out.

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