Skip to main content
Glama
mgcrea
by mgcrea

UniFi: Get Device

unifi_get_device
Read-only

Get full details for one adopted UniFi device by its ID, including features, interfaces, uplink, and adoption timestamps.

Instructions

Get one adopted device in full, including its features, interfaces, uplink and adoption timestamps — everything unifi_list_devices trims away.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteNoWhich site to act on. Accepts the site UUID, its `internalReference` (the legacy 8-character name, usually "default") or its display name ("Default") — all three are resolved for you, so a guess costs nothing. Defaults to UNIFI_SITE, or to the only site when this console has just one. `unifi_list_sites` shows all three for every site.
deviceIdYesThe device's `id` from `unifi_list_devices` — a UUID, NOT its MAC address and NOT its name.
Behavior4/5

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

The readOnlyHint annotation already establishes this as a safe read operation, and the description builds on that by clarifying the depth of data returned and its relationship to the list variant. It does not disclose behavior for missing devices, but for a read-only get-by-id tool the annotation plus the detail is adequate.

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?

One well-structured sentence front-loads the core action and resource, then adds specific differentiators and the sibling comparison. Every clause earns its place with no filler or redundancy.

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

Completeness5/5

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

For a simple read-only fetch tool with only one required parameter, the description plus the rich schema and readOnlyHint fully covers what an agent needs: which id to pass, which site semantics apply, and what richness to expect in the response.

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% and each parameter already has a rich description: site resolution rules and the deviceId's origin and format. The tool description adds no parameter-level meaning, but it does not need to because the schema carries the full burden.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Get one adopted device in full.' It also distinguishes itself from unifi_list_devices by naming the exact fields it adds (features, interfaces, uplink, adoption timestamps), making the purpose unmistakable.

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

Usage Guidelines4/5

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

The description clearly implies when to use this tool: when you need the full single-device payload that unifi_list_devices trims away. It names the alternative tool and what differentiates them, though it stops short of explicitly stating excluded cases such as 'use unifi_list_devices for summary lists.'

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

Install Server

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/mgcrea/mcp-unifi-network'

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