Skip to main content
Glama

restart_device

Restart any adopted UniFi device remotely using its device ID, console host, and site. Resolve device issues with a quick reboot via the UniFi cloud API.

Instructions

Restart an adopted device.

host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID. device_id: REQUIRED. Obtain it from list_devices (its id field).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYes
siteYes
device_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A3.6/5.0
Behavior2/5

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

No annotations exist, so the description carries full responsibility for behavioral disclosure. It merely restates the operation and parameter formats; it does not disclose that a restart will reboot the device, cause temporary downtime, or potentially disrupt active connections. The agent must infer operational impact from the tool name.

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 front-loaded: the purpose line comes first, followed by a tight parameter legend. There is no filler or repetition; every line adds information and is easy to scan.

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?

For a simple action, the description covers purpose and all parameters well, and the output schema exists, so return-value documentation is not essential. However, it omits behavioral caveats such as expected downtime or asynchronous execution, and it does not differentiate from related device actions. It is minimally viable but not fully risk-aware.

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?

With zero schema description coverage, the description fully compensates by explaining each parameter: host accepts console name/ID/composite ID in MAC:numericId format, site accepts name or ID, and device_id is sourced from list_devices. It also highlights device_id as required with a concrete retrieval instruction.

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 opening sentence states a specific verb ('Restart') and a precise resource ('an adopted device'), making the operation unambiguous. It clearly distinguishes this from the many sibling device tools that perform different actions.

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 gives no guidance on when to choose restart over alternatives like execute_device_action, upgrade_device, or locate_device, nor when not to use it. The only contextual hint is 'adopted device,' which is insufficient routing 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