Skip to main content
Glama

unifi_adopt_device

Adopt a device by MAC address while it waits for adoption; the console completes the process, and it appears in device listings once finished.

Instructions

Adopt a device waiting for adoption, by its MAC (official adopt). Adoption finishes on the console; unifi_list_devices shows it once done.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "mac": "<mac>"
    },
    "name": "unifi_adopt_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
macYesMAC address of the device to adopt
siteNoSite name, id or reference; optional while the console has a single site

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, non-idempotent, non-destructive mutation. The description adds genuinely new behavioral context: adoption completes asynchronously on the console rather than in the call, and lags behind until list_devices reflects it. It doesn't cover failure modes (bad MAC, already adopted) or permission requirements.

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 sentences, front-loaded with the action and identifier, then the asynchronous-completion note and the verification pointer. Nothing is padded or redundant.

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 two-parameter mutation with full schema coverage and no output schema, the description supplies the key missing piece an agent needs: the result is not immediate and must be confirmed via unifi_list_devices. It stops short of documenting error conditions, but the essentials for correct invocation and follow-up are present.

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%: both the mac identifier and the optional site parameter are documented in the schema. The description only reinforces that the MAC identifies the target device and adds no format, casing, or delimiter guidance beyond what the schema already provides, so the baseline 3 applies.

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 and resource ('Adopt a device') and narrows the target to devices 'waiting for adoption', identified by MAC. It is clearly distinguishable from unifi_unadopt_device and unifi_list_devices by action and intent, though it never explicitly states the inverse operation.

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?

A precondition is stated ('waiting for adoption'), which implies when the call applies, and it points to unifi_list_devices for post-adoption verification. However, it gives no exclusions (e.g. already-adopted devices, need for factory reset) and does not mention unifi_unadopt_device as the reverse operation.

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