Skip to main content
Glama

openwisp_update_device

Update device metadata, assigned organization, or templates by ID to keep network controller records and configurations current.

Instructions

[Category: Devices & Controller] Update network device metadata, assigned organization, or templates. (HTTP PATCH /api/v1/controller/device/{id}/)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDevice UUID or ID
nameNoUpdated device name
templatesNoList of template UUIDs to assign to this device under config.templates

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the HTTP method and endpoint (PATCH), which implies partial-update semantics, a genuinely useful behavioral hint. However, it omits whether the operation is idempotent, what permissions are required, whether untouched fields are preserved, or what the response contains.

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?

A single sentence plus a parenthetical endpoint reference. Front-loaded with category, verb, and resource. Every element earns its place with no redundancy.

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 thin on behavioral context. It covers purpose and scope adequately but leaves significant gaps around safety, idempotency, and auth requirements. The endpoint hint partially compensates but not fully.

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 100%, so the schema already documents all three parameters. The description adds marginal value by grouping the fields into categories (metadata, organization, templates), but the schema field descriptions are already sufficient. Baseline of 3 is exceeded because the categorization aids orientation.

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?

States a specific verb (update) and resource (network device metadata, organization, templates). Distinguishes itself from sibling update tools by naming the exact fields it modifies. Slightly broader scope than the schema strictly supports (organization not in schema properties), which is a minor mismatch.

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

Usage Guidelines3/5

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

Implied usage is clear from the name and description, but there is no explicit when-to-use guidance, no mention of when to prefer update_device over other device tools, and no prerequisites stated. The category tag provides context but not decision guidance.

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