Skip to main content
Glama

Delete AI tag

delete_tag
Destructive

Removes one custom AI tag from a tag set. The AI stops applying it; items tagged earlier keep the slug. The confirmation summary lists the comment automations that use the tag, because their tag conditions stop matching. The result contains the removed tag so it can be recreated.

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": {
      "brand": "<brand>",
      "type": "<type>",
      "slug": "<slug>"
    },
    "name": "delete_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesSlug of the tag, from list_tags.
typeYesWhich tag set: "comments" (comment tags), "messages" (DM conversation tags) or "posts" (post content tags).
brandYes
confirmationTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations, which already mark the operation destructive and non-idempotent, the description explains concrete consequences: the AI stops applying the tag, previously tagged items retain the slug, affected comment automations are listed in the confirmation summary, and the removed tag is returned so it can be recreated. This is strong behavioral disclosure for a destructive tool.

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?

The description is front-loaded with the core action, followed by tightly written consequences and return behavior. Every sentence adds useful information without filler.

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 destructive four-parameter tool with no output schema, the description does a good job covering side effects, retained state, confirmation-summary behavior, and returned data. The main gap is that it does not explain the confirmationToken parameter, which is relevant for a destructive operation.

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?

The description's 'one custom AI tag from a tag set' maps loosely to slug and type, but the schema already documents those fields at roughly 50% coverage. It does not explain brand or confirmationToken, so the undocumented parameters remain unexplained in both places.

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?

The first sentence states a specific verb and resource: it removes one custom AI tag from a tag set. The 'AI tag' wording helps distinguish it somewhat from contact-tag deletion, but the description does not explicitly differentiate it from siblings such as delete_contact_tag or save_tag.

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?

Usage is implied by the stated effect: use this to remove a custom AI tag and stop the AI from applying it. However, the description gives no explicit when-to-use guidance, no when-not-to-use guidance, and no alternatives such as delete_contact_tag.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources