Skip to main content
Glama

unifi_list_port_forwards

List all configured UniFi port forwarding rules, including forwarded IP, external/internal ports, and protocol. Review your firewall port forward setup at a glance.

Instructions

List configured port forwarding rules (forwarded IP, external/internal ports, protocol).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden. It explicitly states 'List' which conveys a read-only behavior, and the absence of side effects is implied. It also discloses the specific attributes returned, providing sufficient behavioral transparency for a simple 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 a single, front-loaded sentence that efficiently states the purpose and return fields with no unnecessary words. Every element earns its place.

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?

For a read-only listing tool with no parameters and no output schema, the description fully covers what the tool does and what information it returns. It is complete for an agent to select and invoke correctly.

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?

The tool has zero parameters and the schema is empty, which is fully covered by the schema. By the baseline rule, a score of 4 applies since there is no parameter information to add.

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 uses a specific verb ('List') with a clear resource ('configured port forwarding rules') and enumerates the returned fields (forwarded IP, external/internal ports, protocol). This distinguishes it from sibling tools like unifi_create_port_forward and unifi_delete_port_forward.

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 description clearly implies the tool is for viewing existing port forwarding rules. It does not explicitly state when to use it versus alternatives, but the context is unambiguous given the sibling set and the list verb.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

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/rodolfoconcepcion/unifi-udm-pro-mcp'

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