Skip to main content
Glama

update_traffic_route

Replace a UniFi traffic route by its ID with a new full configuration to update routing rules for the specified site.

Instructions

Update a traffic route by ID.

host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID. payload: full traffic route configuration to replace with. route_id: REQUIRED. Obtain it from list_traffic_routes (its id field).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYes
siteYes
payloadYes
route_idYes
Install Server

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It does disclose the key behavioral trait that the payload is a full replacement configuration, implying overwrite semantics. However, it does not mention permissions, side effects, reversibility, or what happens to unspecified fields, which are relevant for a mutation tool.

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?

The description is compact and well-structured: a one-sentence purpose followed by concise parameter clarifications. Every line adds value, and the most critical operational detail (how to get route_id) is explicitly included.

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?

The description covers the key invocation details for all four parameters and identifies where to obtain route_id. Still, because there is no output schema, no annotations, and 0% schema description coverage, the lack of payload structure or any indication of return behavior leaves meaningful gaps for an agent attempting a full replacement update.

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?

Schema description coverage is 0%, and the description compensates well by explaining host formats (console name, ID, composite ID), site as name or ID, payload as full replacement configuration, and how to obtain route_id. However, it does not detail the structure of the payload object, which is a notable limitation given the nested object.

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 clearly states the action ('Update a traffic route by ID') with a specific verb and resource. It is unambiguous, but it does not explicitly distinguish itself from sibling tools like create_traffic_route or update_traffic_rule, so it falls short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives helpful usage context by specifying that route_id should be obtained from list_traffic_routes, and clarifies that payload is the full replacement configuration. However, it does not state when to use this tool instead of alternatives like create_traffic_route or delete_traffic_route, leaving the choice mostly implied by the name.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/swkstudios/unifi-fabric-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server