Skip to main content
Glama

Reorder firewall policies

unifi_net_reorder_firewall_policies
DestructiveIdempotent

Reorder firewall policies on the current site, with preview and dry-run options to avoid unintended changes.

Instructions

Sets the ordering of firewall policies on the current site.

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

Input Schema

NameRequiredDescriptionDefault
bodyNoPolicy ordering payload
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.9/5.0
Behavior2/5

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

Annotations flag destructiveHint=true and idempotentHint=true, but the description says nothing about what reordering affects (policy evaluation precedence) or that a preview is returned unless confirm='YES'. The safety-critical preview behavior lives only in the schema, so the description adds no behavioral context for a destructive mutation.

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 front-loaded sentence with no filler. It is well-formed but so short that it omits information the tool's destructive nature warrants.

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 no output schema, the description should mention the preview/confirm gate and the operational impact of ordering. As written it leaves the agent to discover both from the schema alone.

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 confirm and dry_run are already documented in the schema. The description does not elaborate on the shape of the 'body' ordering payload, so it neither helps nor hurts beyond baseline.

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?

States a specific verb ('Sets the ordering'), resource ('firewall policies'), and scope ('current site'), which is enough for an agent to identify it. It does not differentiate from the read-side sibling unifi_net_get_firewall_policy_ordering or from the generic updatefirewallpolicyordering counterpart.

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?

No guidance on when to use this rather than update_firewall_policy or get_firewall_policy_ordering, and no mention of the required confirm/preview workflow. The agent must infer usage entirely from the schema.

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