Skip to main content
Glama

delete_device_group

Delete a device group and return a staged change_id; update any policies that reference the group, then apply the change to finalize removal.

Instructions

Delete a device group. Policies referencing this group will need to be updated. Returns a change_id; nothing changes until apply_change.

Args: group_id: UUID of the group to delete.

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_device_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that this is destructive, that policies referencing the group will need updating, and that the effect is deferred behind a change_id until apply_change. It omits whether deletion fails for non-empty groups or is reversible aside from the staged-change model.

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, front-loaded sentences plus an Args block for the single parameter; no filler and the deferred-effect warning is placed before the argument detail.

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 one-parameter destructive tool with an output schema, the description covers the mutation model (change_id + apply_change) and the referential side effect on policies, which is what an agent most needs. Preconditions for deleting a populated group remain unstated.

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 description coverage is 0% and the only property is titled 'Group Id', so the description's 'UUID of the group to delete' meaningfully adds the expected identifier format. No further semantics (e.g., where to find the UUID) are given.

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 device group') and immediately distinguishes the operation from its sibling apply_change by noting the change is staged behind a change_id. An agent can pick this over delete_device or delete_collection without opening 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 Guidelines4/5

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

The sentence 'nothing changes until apply_change' tells the agent the follow-up step required to commit the deletion, which is real usage guidance tied to a named sibling. It does not state when-not to use it (e.g., what happens if devices are still assigned), so it stops short of explicit exclusions.

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