Skip to main content
Glama
UniFi Agent MCP
by mikomiel

Unifi Config Map

unifi_config_map

Map UniFi sites, networks, zones, devices, uplinks, and port state to give agents a clear inventory view before planning topology or firewall changes.

Instructions

Map UniFi sites, networks, zones, devices, uplinks, and port state.

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_config_map"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.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 behavioral burden, yet it says nothing about whether this is a read-only operation, how large or expensive the result is, or whether it reflects cached vs. live controller state. The presence of an output schema covers return-value shape, but the operational character of the call remains undocumented.

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?

A single short sentence with no filler, and the resource enumeration is front-loaded. It is arguably too terse rather than padded, so it loses nothing to verbosity.

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?

With no inputs and an output schema present, the definition is minimally sufficient — schema and output schema cover the structural contract. Still, for a topology-wide read with no annotations, the description should say more about scope (single site vs. all sites) and read-only nature to be complete.

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 takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. Nothing in the description misleads about inputs.

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 a verb ("Map") and enumerates the resources involved: sites, networks, zones, devices, uplinks, and port state. However, "Map" is ambiguous between retrieving a topology graph, mapping identifiers, and listing entities, so an agent cannot be certain what the tool returns without inspecting the output schema. It also gives no basis for distinguishing this from siblings such as unifi_active_clients or unifi_firewall_policies.

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 when-to-use guidance, no stated prerequisites, and no mention of alternatives. The agent must infer from the resource list alone that this is a configuration/topology overview tool.

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