Skip to main content
Glama
unifi-mcp-server

unifi-mcp-server

by PainInTheNic

Get Network Details

unifi_get_network
Read-onlyIdempotent

Retrieve the full configuration for a specific LAN network or VLAN by ID, including subnet, gateway, DHCP range and state, and VLAN ID. Use IDs from unifi_list_networks.

Instructions

Get the full configuration of one LAN network/VLAN by ID: subnet, gateway, DHCP range and state, VLAN ID. IDs come from unifi_list_networks.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "networkId": "<networkId>"
    },
    "name": "unifi_get_network"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdNoSite ID (UUID from unifi_list_sites). Optional — when the console has exactly one site it is used automatically.
networkIdYesNetwork ID (UUID from unifi_list_networks)
responseFormatNo'markdown' for a compact human-readable summary (default), 'json' for full raw API datamarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, so the safety profile is covered. The description adds useful context about what a successful call returns, but says nothing about failure modes (e.g., a network ID that doesn't exist) or the markdown-vs-json response tradeoff beyond what the schema already states.

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?

Two short sentences, front-loaded with the verb and resource, then the return fields, then the ID source. No filler or redundant restatement of the title.

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 single-entity read with full schema coverage and no output schema, the enumerated return fields largely compensate for the missing output schema. Minor gap: it doesn't clarify that full raw data is available via responseFormat=json, though the schema covers that.

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?

Schema description coverage is 100%, so all three parameters (siteId auto-resolution, networkId sourcing, responseFormat enum) are already documented. The description only restates where networkId comes from, adding no meaning beyond the schema; baseline 3 applies.

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?

States a specific verb and resource ("Get the full configuration of one LAN network/VLAN by ID") and enumerates the fields returned (subnet, gateway, DHCP range/state, VLAN ID), which distinguishes it clearly from unifi_list_networks and from write siblings like unifi_update_network.

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?

Gives a concrete entry point for the required ID ("IDs come from unifi_list_networks"), so an agent knows the prerequisite call. It does not state exclusions or when to prefer unifi_get_network_references, but the single-object lookup use case is unambiguous.

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

Deploy Server

Other Tools