Skip to main content
Glama

WatchFor

Delete contact group

delete_contact_group
DestructiveIdempotent

Deletes a contact group permanently (write scope). The organization's default group, and a group still used by monitors, alert rules or notification channels, are refused with 409 (with the counts) and nothing is deleted.

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": {
      "group_id": "<group_id>"
    },
    "name": "delete_contact_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYesContact group id (UUID)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Adds substantive behavior beyond the annotations: permanence, write-scope authorization, an atomic failure mode (409 with usage counts and nothing deleted), and two referential-integrity preconditions. Annotations already declare destructiveHint=true and idempotentHint=true, so the remaining gaps (no mention of return value or post-delete effects) are minor.

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 action and permanence, followed by the failure conditions. No filler or restated title text.

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 one-parameter destructive mutation with full annotation coverage and no output schema, the description covers permanence, authorization scope, refusal conditions, and atomicity. Nothing an agent needs before calling is absent.

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

Parameters4/5

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

Schema coverage is 100% and the single parameter is a UUID, so no format explanation is needed. The description nonetheless constrains which group_ids are valid (non-default, unreferenced), which is meaningful semantics the schema does not convey.

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 ("Deletes a contact group") and adds the critical scope qualifier "permanently (write scope)". The resource name alone distinguishes it from sibling deletes such as delete_contact, delete_alert_rule, and delete_monitor.

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

Usage Guidelines4/5

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

Gives clear negative preconditions: the default group and any group still referenced by monitors, alert rules, or notification channels will be refused. What is missing is a positive routing hint, e.g. that references should be removed via update_contact_group or the referencing tool before retrying. Context is clear but alternatives are not named.

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.