Skip to main content
Glama

get_port_profile

Retrieve a UniFi switch port profile by its ID using host and site identifiers. Specify the profile ID to get details for that port configuration.

Instructions

Get a single switch port profile by ID.

host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID. profile_id: port profile ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYes
siteYes
profile_idYes
Install Server

TDQS

B3.2/5.0
Behavior2/5

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

There are no annotations, so the description must carry behavioral disclosure. It only says 'Get' and explains parameters; it does not describe return behavior, error conditions, read-only guarantees, or side effects. The name suggests a read operation but the description adds little behavioral context beyond that.

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 core purpose appears in the first sentence, followed by concise parameter definitions. Every sentence contributes useful information with no filler.

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 three-parameter get operation, the parameter explanations are adequate for making the call. However, there is no guidance on expected output structure, not-found behavior, or why both host and site must be provided together. These are gaps but not fatal for a straightforward read tool.

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%, so the description must compensate. It does so meaningfully by explaining accepted formats for host ('console name, ID, or composite ID (MAC:numericId format)') and site ('site name or ID'), and clarifies that profile_id is the port profile ID. This adds real value over the bare schema strings.

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 clear action and resource: 'Get a single switch port profile by ID.' The word 'single' and 'by ID' help distinguish it from list_port_profiles, though it does not explicitly name sibling tools that perform related operations like update_port_profile.

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?

No explicit guidance is given about when to use this tool versus alternatives such as list_port_profiles or update_port_profile. The parameter hints imply that it is for retrieving one known profile, but the description does not provide explicit use cases or exclusions.

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