Skip to main content
Glama

Adopt pending devices

unifi_net_adopt_devices
Destructive

Adopt pending UniFi devices by MAC address, sending one adoption request per device and reporting the result for each MAC; use preview mode before applying.

Instructions

Adopts pending devices by MAC. Sends one adoption request per MAC and reports the result per MAC.

Input Schema

NameRequiredDescriptionDefault
macsYesDevice MAC addresses to adopt
confirmNo"YES" to apply; without it the tool returns a preview.
dry_runNotrue: preview only, nothing is sent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the risk profile is covered structurally. The description usefully adds that adoption is fanned out as one request per MAC with per-MAC results, but it omits the safety gate (confirm=YES required to actually apply, otherwise preview) and any partial-failure behavior.

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 short sentences with zero filler; the core action and its per-MAC reporting behavior are front-loaded.

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 destructive, non-idempotent mutation with a preview gate, the description plus annotations and the fully documented schema give an agent enough to invoke it correctly and understand the result shape (one outcome per MAC, no output schema needed). The only real gap is failure/partial-success semantics.

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 all three parameters (macs, confirm, dry_run) are documented in the schema itself. The description reinforces that MACs drive the operation and results are per MAC, but adds no format or constraint detail beyond the schema.

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: adopts pending devices identified by MAC, with the batch semantics (one request per MAC, per-MAC result) spelled out. It never references the neighboring list_pending_devices or other adoption tooling, so sibling differentiation is left implicit.

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 when-to-use / when-not-to-use guidance: nothing says this should be preceded by listing pending devices, nor that devices already adopted will fail. The confirm/dry_run preview workflow is only discoverable from the schema, not the description.

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