Skip to main content
Glama

openwisp_update_device_group

Update an existing OpenWISP device group by ID, changing its name or organization via the controller API.

Instructions

[Category: Devices & Controller] Update a device group. (HTTP PUT /api/v1/controller/group/{id}/)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesGroup UUID or ID
nameNoUpdated group name
organizationNoOrganization ID or slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does disclose the HTTP PUT verb, which implies full-replace semantics for the group resource, but it says nothing about required permissions, what happens to unspecified fields, or error behavior on an unknown id.

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?

Front-loaded with the action and resource in a single sentence, with the category tag and endpoint as compact supplementary metadata. Nothing is wasted.

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 mutation tool with no annotations and no output schema, the description is minimally adequate: it identifies the operation and endpoint, but omits update semantics (replace vs merge), destructive potential, and what a successful response returns.

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 description coverage is 100%, so the schema already documents id, name, and organization. The description contributes no additional parameter meaning, which is the expected baseline when the schema does the heavy lifting.

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?

The description names a specific verb+resource ('Update a device group') and includes the category tag plus the underlying endpoint. It is clear what the tool does, though it offers no explicit contrast against the siblings openwisp_create_device_group / openwisp_get_device_group / openwisp_list_device_groups.

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 guidance on when to use this rather than create/get/list, no mention of prerequisites (the required group id), and no discussion of full-replace vs partial update. The only hint is the parenthetical PUT endpoint.

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

Deploy Server

Other Tools