Skip to main content
Glama

delete_tag

DestructiveIdempotent

Permanently delete a tag system-wide, removing it from every document that uses it; require explicit confirmation to prevent accidental removal.

Instructions

⚠️ DESTRUCTIVE: Permanently delete a tag from the entire system. This will remove the tag from ALL documents that use it. Use with extreme caution.

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>",
      "confirm": "<confirm>"
    },
    "name": "delete_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
confirmYesMust be true to confirm this destructive operation

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.2.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "Must be true to confirm this destructive operation",
      +  "type": "boolean"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "id",
      +  "confirm"
      +]
  2. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is known; the description adds genuinely new behavior by disclosing the cascade ('remove the tag from ALL documents that use it') and permanence. It does not say what happens if the tag is attached to documents or whether the call can partially fail, which is why it stops short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the destructive warning and then the consequence, so the reader gets the risk immediately. There is mild redundancy between the '⚠️ DESTRUCTIVE' label and 'Permanently delete', but it is defensible for a high-risk operation.

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 simple two-parameter mutation with no output schema and rich annotations, the definition covers the essential risk (irreversible, system-wide cascade). What is missing is small but real: it never says what happens to documents when the tag is removed, or whether the delete fails when the tag is in use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description mentions no parameters at all. With only 50% schema description coverage, the 'id' parameter is undocumented in both places, so the description does nothing to compensate for the gap; only 'confirm' is explained, and by the schema rather than the description.

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 ('Permanently delete a tag') plus its scope ('from the entire system', 'from ALL documents'), which separates it cleanly from create_tag, update_tag and bulk_edit_tags without naming them.

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?

The only guidance is 'Use with extreme caution', which is a warning rather than a when-to-use rule. There is no statement of prerequisites, no condition under which deletion is appropriate, and no pointer to an alternative such as update_tag or bulk_edit_tags for less drastic edits.

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