Skip to main content
Glama

Update traffic matching list

unifi_net_update_traffic_list
DestructiveIdempotent

Update an existing traffic matching list in UniFi, with an optional dry run to preview changes before applying them.

Instructions

Updates an existing traffic matching list.

Input Schema

NameRequiredDescriptionDefault
idYes
bodyNo
confirmNo"YES" to apply; without it the tool returns a preview.
dry_runNotrue: preview only, nothing is sent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=true and openWorldHint=true, so the description carries a lower burden. It still adds nothing: no mention that this overwrites existing list configuration, no permission/auth requirements, and no indication of what happens to fields omitted from the body.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with no waste, but the brevity comes from under-specification rather than efficiency. There is no front-loaded scope or constraint to anchor the call.

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?

For a destructive, open-world mutation with an undocumented free-form body and no output schema, the description is far too thin. An agent cannot know what payload shape to construct, whether the update replaces or merges, or how the preview/confirm flow relates to the actual write (that detail lives only in the schema).

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

Parameters2/5

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

Schema coverage is only 50%, and the description contributes no parameter information at all. The opaque, untyped `body` parameter is the most consequential gap for an update tool — nothing tells the agent what fields it can or must contain — and the required `id` is likewise unexplained.

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 single sentence names a verb and resource ("Updates an existing traffic matching list"), so an agent can tell it apart from create/delete/list siblings by verb alone. However, it adds nothing beyond the title and gives no indication of which list aspects are updatable or what the update semantics are.

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 prerequisites, and no mention of alternatives such as create_traffic_list or the get/list counterparts. The only routing signal is the word "existing", which implies the list must already exist but is not stated as a requirement.

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