Skip to main content
Glama

reject_pending_device

Deny a pending device access to a UniFi site by providing its device ID, host, and site. Prevents unauthorized hardware from joining the network.

Instructions

Reject a pending device, preventing it from joining the 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 reject.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYes
siteYes
device_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the effect (preventing joining the site), but does not disclose whether rejection is reversible, destructive, requires special permissions, or affects related approvals.

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 short, front-loads the purpose, and follows with necessary parameter semantics. It has no fluff, though the parameter explanations could be more compactly integrated.

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?

The description covers the core operation and all parameters, and an output schema exists, so return-value documentation is unnecessary. However, without annotations, missing details about reversibility, permissions, and the relationship to approve_pending_device leave the description merely adequate rather than complete.

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

Parameters4/5

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

Schema description coverage is 0%, but the description compensates well: host is explained as console name, ID, or composite ID with the MAC:numericId format; site as name or ID; and device_id is tied to list_pending_devices. This adds meaning beyond the bare string types.

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 states a specific action and outcome: 'Reject a pending device, preventing it from joining the site.' It clearly identifies the operation on a pending device, though it does not explicitly differentiate itself from the sibling approve_pending_device.

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 provides no when-to-use guidance or contrasts with approve_pending_device, which is the obvious alternative. It only implies a workflow by referencing list_pending_devices for the device_id source.

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