Skip to main content
Glama

Get ACL rule

unifi_net_get_acl_rule
Read-onlyIdempotent

Fetch detailed configuration for one ACL rule on the current site using its rule ID.

Instructions

Detail for one ACL rule on the current site.

Input Schema

NameRequiredDescriptionDefault
idYes

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 readOnly, idempotent, non-destructive, open-world behavior, so the description adds only the site-scoping detail. Nothing is said about behavior on a missing/unknown id, permission requirements, or whether a 404 is returned rather than an empty object.

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 or redundancy. It is efficient, though the brevity reflects under-specification as much as discipline.

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?

With no output schema, the description should indicate what a returned ACL rule looks like (fields, ordering position) or that it fails for unknown ids. It provides none of that, leaving an agent to call it blind after the trivial schema and annotations.

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 description coverage is 0% for the single required parameter 'id', and the description does not compensate: it does not state the id format (UUID vs. numeric), where to obtain it (list_acl_rules), or whether it must belong to the current site.

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?

"Detail for one ACL rule on the current site" names the resource and implies a single-record read, so the verb+resource is inferable. However it never distinguishes itself from the many sibling reads in the list (unifi_net_list_acl_rules, unifi_net_get_acl_rule_ordering, and the near-duplicate unifi_gen_getaclrule), leaving an agent to guess which one fetches a single rule.

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 vs. when-not guidance and no mention of the sibling list_acl_rules call as the way to obtain an id. The only context is the implicit 'current site' scoping, which is a constraint rather than a routing hint.

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