Skip to main content
Glama

adopt_device

Adopt a new device onto a specified UniFi site by providing console host, site, and device details like MAC address.

Instructions

Adopt a device onto a site.

host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID. device: device adoption payload (mac, name, etc.).

Example: adopt_device(host="main-office", site="HQ", device={"mac": "aa:bb:cc:dd:ee:ff"})

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYes
siteYes
deviceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, but it only says 'Adopt a device onto a site' and defines the host format. It does not disclose that this is a state-changing operation, what the side effects are (e.g., device becomes managed by the site), whether any device state must already exist, or 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?

The description is compact and well ordered: purpose first, then parameter definitions, then a concrete example that clarifies real usage. Every sentence earns its place and nothing is redundant or padded.

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?

An output schema exists, so return values need no explanation, and parameter formats are reasonably covered. However, for a mutating tool with a nested free-form device payload and no annotations, it lacks information about prerequisites, what constitutes a valid payload, and what adoption actually changes — adequate but with clear gaps.

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%, so the description must compensate, and it genuinely does: host is explained as 'console name, ID, or composite ID (MAC:numericId format)', site as 'site name or ID', and device as an 'adoption payload (mac, name, etc.)' backed by a realistic example. The device object could be specified further, but the added meaning far exceeds what the empty schema strings provide.

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 opening sentence 'Adopt a device onto a site' uses a specific verb and resource, making the core operation clear. It is distinguishable from related siblings like unadopt_device, approve_pending_device, and reject_pending_device through the unique 'adopt' verb and the online/site framing, though it does not explicitly name or contrast with those alternatives.

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?

The description provides a concrete example call but gives no guidance on when adoption is appropriate versus related device lifecycle flows such as approve_pending_device or unadopt_device. There are no stated conditions, prerequisites, exclusions, or alternative routing, so an agent gets no help deciding between this tool and its siblings.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/swkstudios/unifi-fabric-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server