Skip to main content
Glama

openwisp_create_device

Register a new network device in OpenWISP Controller with name, MAC address, and organization via the REST API.

Instructions

[Category: Devices & Controller] Register a new network device in OpenWISP Controller. (HTTP POST /api/v1/controller/device/)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
macYesHardware MAC Address (e.g. 00:11:22:33:44:55)
nameYesFriendly device name (e.g. Gateway-Berlin-01)
modelNoHardware model (e.g. GL.iNet GL-AR750S or TP-Link Archer C7)
systemNoOperating system backend (e.g. OpenWrt)OpenWrt
organizationYesOrganization ID or slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations provided, so the description carries the full behavioral burden. It states the operation is a POST (mutating), but does not mention auth requirements, idempotency (MAC uniqueness), what happens on duplicate MAC, or success/return semantics. For a creation tool with zero annotation coverage, this is a notable gap.

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?

Two compact sentences: a category tag, a specific action, and the HTTP endpoint. No filler, front-loaded action verb. Every clause earns its place.

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

Completeness2/5

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

A mutation tool with no annotations, no output schema, and no behavioral detail. It does not explain return values, prerequisite resources (e.g., organization must exist), or authorization. For a 5-parameter device-creation tool, the description is too thin.

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 baseline is 3. The description adds no parameter-level meaning beyond the schema, but all five parameters already have clear descriptions (examples for mac, name, model; default for system).

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?

Specific verb+resource: 'Register a new network device in OpenWISP Controller.' Distinguishes from siblings like update_device, delete_device, list_devices by the 'create' verb, and the HTTP POST line reinforces creation. Lacks explicit sibling differentiation, which caps it below 5.

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?

No when-to-use guidance, no prerequisites (e.g., requires org exists, requires token), no statement of when to use this vs. openwisp_activate_device or openwisp_create_device_connection. The category tag and endpoint are the only context.

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