Skip to main content
Glama

get_switch_stack

Retrieve a specific UniFi switch stack from the Fabric by host, site, and switch-stack ID. Returns the stack's details for management and monitoring.

Instructions

Get one switch stack.

host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID. switch_stack_id: switch-stack UUID from list_switch_stacks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYes
siteYes
switch_stack_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A3.9/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. It states the operation is 'Get' but does not disclose any behavioral traits such as required permissions, potential errors, or response shape. The output schema exists but the description adds no extra context beyond the basic read operation.

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 minimal and front-loaded with the core action, followed by concise parameter explanations. No redundant words. Every sentence earns its place.

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?

Given the simplicity of the tool and the presence of an output schema, this description covers the essential details: it explains all parameters and their sources. It lacks only usage context or error handling notes, which are minor for a simple get operation.

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 coverage is 0%, so the description must explain each parameter. It does this excellently: host and site formats are specified ('console name, ID, or composite ID (MAC:numericId format)'), and switch_stack_id is tied to list_switch_stacks. This fully compensates for the bare 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 states the exact operation ('Get one switch stack') with a clear resource. It distinguishes itself from list_switch_stacks by implying a single-item retrieval, and explicitly references switch_stack_id from list_switch_stacks, which provides context for the resource type.

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

Usage Guidelines3/5

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

The description implies when to use this tool by requiring a switch_stack_id obtained from list_switch_stacks, but it does not explicitly state when to use this versus alternatives or when not to use it. For a straightforward getter, this is acceptable but not explicit.

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