Skip to main content
Glama

locate_device

Idempotent

Identify a physical UniFi device by enabling or disabling its locator LED. Blinking helps you find the exact hardware in a rack or remote site.

Instructions

Enable or disable LED blinking to physically locate a device.

Mutating operation: toggles the locator LED on the device and is persisted on the console. Set enabled=True to start blinking, False to stop. This changes only the LED state and has no effect on connectivity or config.

Args: mac: Device MAC address (case-insensitive; aa:bb:cc:dd:ee:ff or aabbccddeeff). enabled: True to start LED blinking, False to stop. Defaults to True. site: Site to operate on. Defaults to "default". device: Optional device name to target a specific console; omit for default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
macYesDevice MAC address (case-insensitive; aa:bb:cc:dd:ee:ff or aabbccddeeff).
siteNoSite to operate on. Defaults to "default".default
deviceNoOptional device name to target a specific console; omit for default.
enabledNoTrue to start LED blinking, False to stop. Defaults to True.
Install Server

TDQS

A4.4/5.0
Behavior5/5

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

The description explicitly labels the operation as mutating, discloses that the LED state is persisted on the console, and assures that only the LED state changes without affecting connectivity or config. This goes well beyond the idempotentHint annotation and gives the agent a precise model of side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose and follows with concise behavioral context. The Args section is somewhat redundant with the schema, but it is clearly formatted and not wordy.

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?

The description fully covers the operation's effect, persistence, parameter meanings, and scoping options. There is no output schema, but the behavioral outcome is clearly stated, and the tool is simple enough that no further detail is needed.

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 the Args section largely duplicates the schema's parameter descriptions. No additional semantic nuance is added beyond what the schema already provides, so the baseline of 3 is appropriate.

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: 'Enable or disable LED blinking to physically locate a device.' It clearly identifies the tool's function and distinguishes it from sibling device-management tools like restart_device or upgrade_device.

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 purpose statement implies the usage context: physically locating a device. It tells the agent this is a locator function, not a general device management operation. It does not explicitly name alternatives or exclusion conditions, but the intended use is clear enough.

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

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