Skip to main content
Glama

unifi_list_networks

Read-onlyIdempotent

List all LAN and WAN networks on a UniFi site, including VLAN, subnet, DHCP, isolation, and WAN address details for troubleshooting or auditing.

Instructions

Networks (LAN and WAN): name, official id and legacy id, purpose, VLAN, subnet, DHCP, isolation, internet access, and the WAN address.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "unifi_list_networks"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoSite name, id or reference; optional while the console has a single site

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered elsewhere. The description adds genuine value by disclosing what each returned record contains (official vs legacy id, VLAN, subnet, DHCP, isolation, WAN address), which matters because there is no output schema, but it says nothing about scope, ordering, or whether all networks or only those at the given site are returned.

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?

One compact sentence that leads with the resource and lists fields in a scannable order, with no filler. It is a noun phrase rather than a full sentence, so the operation is slightly less front-loaded than it could be.

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?

For a simple, read-only, zero-required-parameter list tool with no output schema, describing the returned fields is the right compensation and it does so thoroughly. The main remaining gap is scope: whether the list is console-wide or limited to the supplied site.

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?

With a single 'site' parameter at 100% schema description coverage, the schema already explains that it accepts a name, id, or reference and is optional on single-site consoles. The description adds nothing beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource ('Networks (LAN and WAN)') and enumerates the fields it covers, which makes the read intent inferable, but it supplies no verb such as 'list' or 'returns'. An agent must lean on the tool name to know this is a read operation rather than a create/delete sibling like unifi_create_network.

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?

There is no explicit when-to-use statement, no prerequisites, and no mention of alternatives (e.g. unifi_get_device or unifi_list_wifi). Usage is only implied by the field enumeration, leaving the agent to infer that this is the tool for surveying network configuration.

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