Skip to main content
Glama

Delete Tag (preview, then confirm)

delete_tag
DestructiveIdempotent

Delete a contact tag; it is removed from every contact that has it. Two steps: call first without confirm to get a preview (nothing is deleted), get an explicit yes from the user, then call again with confirm: true.

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

Input Schema

NameRequiredDescriptionDefault
tag_idYesTag ID (from list_tags)
confirmNoMust be true to delete. Leave false first to get a preview
dry_runNoShow what would be deleted without deleting, even when confirm is true

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / tag_id / description
      Previous value: -"Tag ID (from list_tags),required"New value: +"Tag ID (from list_tags)"
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description adds genuinely new context beyond that: the blast radius (removal from every contact carrying the tag) and the preview-then-confirm interaction contract. It stops short of saying whether the deletion is reversible or what the preview response contains, which keeps it from 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.

Conciseness5/5

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

Two sentences, front-loaded with the destructive scope, followed by the call sequence. Every clause carries information and nothing is repeated for padding.

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, three-parameter tool with no output schema, the definition covers scope, safety protocol and confirmation requirement. Minor gaps remain: it does not say what the preview actually returns, nor what happens if tag_id does not exist, but neither blocks a correct call.

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 the schema already describes confirm ('Must be true to delete. Leave false first to get a preview') and dry_run. The description restates the confirm ordering but adds no syntax, default, or precedence detail for dry_run beyond what the schema provides, so the baseline 3 is right.

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 ('Delete a contact tag') and immediately scopes it with 'it is removed from every contact that has it', which is exactly what separates it from the sibling remove_tag_from_contact. An agent can distinguish the two without opening either schema.

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 two-step protocol: call without confirm for a preview, obtain an explicit yes from the user, then call again with confirm: true. It also states what happens on the first call ('nothing is deleted'), so there is no ambiguity about when to use which mode.

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