Skip to main content
Glama

wariwari

Delete a group

delete_group
Destructive

Use this to delete a group for everyone in it. expectedRevision is the group's lockVersion from get_group. To only take it off the user's own list, use archive_group or leave_group instead.

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": {
      "groupToken": "<groupToken>",
      "expectedRevision": "<expectedRevision>"
    },
    "name": "delete_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupTokenYesThe group's token, from `listGroups` or `listSearchResults`.
expectedRevisionYesThe `lockVersion` the client last saw on the record it is changing. A mismatch is `409 CONFLICT` with the record as the server now has it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / expectedRevision / description
      Added value: +"The `lockVersion` the client last saw on the record it is changing. A mismatch is `409 CONFLICT` with the record as the server now has it."
    • addedInput schema / properties / groupToken / description
      Added value: +"The group's token, from `listGroups` or `listSearchResults`."
  2. First observed

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 and readOnlyHint=false, so the mutation/safety profile is known. The description adds real value beyond that by disclosing the blast radius (removal affects every member, not just the caller) and by explaining that expectedRevision acts as an optimistic-concurrency guard. It does not state whether deletion is reversible or what permissions are required.

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?

Three short sentences, front-loaded with the destructive scope, then the concurrency parameter, then the alternatives. Every sentence carries distinct information and nothing is repeated from the schema verbatim.

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 two-parameter destructive tool with no output schema and full schema coverage, the definition covers scope, prerequisite, and alternatives adequately. It stops short of noting irreversibility or required permissions, which would be the remaining useful details 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?

Schema coverage is 100%, and the schema already explains that expectedRevision is the previously seen lockVersion and that a mismatch yields 409 CONFLICT. The description only adds a cross-reference to get_group as the retrieval path, which is marginal over the structured field, so the baseline 3 applies.

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?

The description states a specific verb and resource ("delete a group") and immediately fixes the scope with "for everyone in it", which is the key distinction from the sibling removal tools. An agent can differentiate this from archive_group and leave_group without reading any 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?

It gives an explicit routing rule: use archive_group or leave_group when the intent is only to remove the group from the user's own list. It also names get_group as the source of the expectedRevision value, covering the prerequisite step needed before calling.

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