Skip to main content
Glama

Delete a department group

dept_group_delete
DestructiveIdempotent

Permanently remove a department group by its ID.

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

Input Schema

NameRequiredDescriptionDefault
idYesID of the department group to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so "Permanently" mostly restates what the agent is told structurally. The description adds no detail on cascade effects, what happens to members or sub-departments of the group, or whether any confirmation/authorization step is required.

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?

One short sentence with the destructive qualifier front-loaded and no filler. There is no wasted wording, though the sentence is so brief that there is essentially no structure to evaluate beyond the leading adverb.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter destructive delete with full annotation coverage and no output schema, the essentials are present. It is still thin on the consequences of the operation — referential side effects and failure conditions — which matter most for a permanent deletion.

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% with a single documented 'id' parameter, so the schema already carries the meaning. The description repeats "by its ID" and does not mention that the schema accepts either an integer or a string, which is the one piece of extra guidance that would have added value.

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?

"Permanently remove a department group by its ID" gives a specific verb (remove), a specific resource (department group), and the lookup key (ID), which separates it from dept_group_add and dept_group_edit. It stops short of any explicit contrast with sibling delete tools such as dept_delete or client_delete, but the resource is narrow enough that selection is unambiguous.

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?

There is no statement of when to use this versus alternatives, no prerequisites, and no warning about deleting a group that still has members or departments attached. Only the word "Permanently" hints that this is the irreversible counterpart to add/edit.

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