Skip to main content
Glama

approve_pending_device

Approve a pending UniFi device for adoption onto a site, using its device ID from the pending list to complete onboarding.

Instructions

Approve a pending device for adoption onto a site.

host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID. device_id: device ID from list_pending_devices to approve.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYes
siteYes
device_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4.3/5.0
Behavior3/5

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

There are no annotations, so the description carries the full burden. It discloses the core state change—approving a pending device for adoption onto a site—and implies a transition from pending to approved. However, it does not clarify whether approval automatically triggers adoption, whether the action is reversible, or what side effects occur. For a state-changing tool, this is useful but not deeply transparent.

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?

Three short sentences deliver the purpose and all parameter semantics without redundancy. The main action is front-loaded, and the parameter notes are compact and directly useful.

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?

The tool is simple, all required parameters are semantically explained, and an output schema exists, so return-value documentation is unnecessary. The only gap is the lack of behavioral/side-effect detail for a mutation tool with no annotations, but nothing essential for selecting and invoking the tool correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description fully compensates by documenting all three parameters: host accepts console name, ID, or MAC:numericId; site accepts name or ID; and device_id is sourced from list_pending_devices. This is actionable and goes well beyond the empty schema.

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 uses a specific action verb ('Approve') and a specific resource ('pending device for adoption onto a site'), clearly distinguishing this from sibling operations like reject_pending_device or adopt_device. It is not a tautology and immediately tells an agent what the tool accomplishes.

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 gives clear context by instructing that device_id should come from list_pending_devices, which implies the prerequisite workflow: list pending devices, then approve one. It does not explicitly name alternatives like reject_pending_device or state when not to use this tool, so it stops short of full when/when-not guidance.

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