Skip to main content
Glama
UniFi Agent MCP
by mikomiel

Unifi Trace Endpoint

unifi_trace_endpoint

Trace an active endpoint across UniFi devices, networks, and firewall policies to identify where it is connected and which rules apply.

Instructions

Trace active endpoints across devices, networks, and firewall policies.

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": {
      "identifier": "<identifier>"
    },
    "name": "unifi_trace_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
identifierYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does very little: it does not say whether the call is read-only, what happens for inactive or unknown endpoints, whether permissions are required, or whether results are live versus cached. The only behavioral signal is that it operates on "active" endpoints.

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 short, front-loaded sentence with no filler or redundant phrasing. Its brevity is a virtue structurally, even though the definition is under-specified elsewhere.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The output schema covers return values, but with no annotations and a completely undocumented required identifier, the definition leaves an agent guessing about both input format and side effects. For a tracing tool whose input type is ambiguous, this is not enough to call it confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the sole parameter "identifier" is completely undocumented in the description. An agent cannot tell whether the identifier is a MAC address, IP, hostname, client ID, or something else, which is the single most important detail needed to invoke this tool correctly.

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 names a specific verb ("trace") and resource ("active endpoints") plus a scope (across devices, networks, and firewall policies), so the general intent is clear. It does not differentiate the tool from the sibling unifi_active_clients, and "trace" itself is left undefined, but the purpose is still more than a restatement of the name.

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 guidance on when to reach for this tool versus unifi_active_clients or unifi_firewall_policies, and no stated prerequisites or exclusions. Only the word "active" hints at a usage constraint, which is implied rather than explained.

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