Skip to main content
Glama

List LAGs

unifi_net_list_lags
Read-onlyIdempotent

Retrieve Link Aggregation Groups configured on the current UniFi site, with optional pagination and filtering for inspection.

Instructions

Link Aggregation Groups (LAGs) configured on the current site.

Input Schema

NameRequiredDescriptionDefault
limitNoItems per page, at most 200 (vendor default applies when unset)
filterNoVendor filter expression
offsetNoNumber of items to skip (vendor default 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The only added behavior is the implicit 'current site' scoping; nothing is said about pagination behavior, result ordering, or what happens when no LAGs exist.

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 short and front-loaded, but it is a sentence fragment without a verb rather than a tight description. Brevity here comes from under-specification rather than from editing out waste.

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 paginated list tool with no output schema, the description should say what a LAG record contains or at least how paging behaves. Neither is present, and the sibling relationship to get_lag is left unresolved.

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%: limit, offset and filter are fully documented in the schema including defaults and bounds. The description adds no parameter meaning, so the baseline of 3 applies.

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 fragment names the resource (LAGs) and its scope ('configured on the current site'), which is slightly more than the title 'List LAGs'. But it never states a verb and does not distinguish itself from unifi_net_get_lag (singular fetch) or unifi_net_list_mclag_domains, both of which sit right beside it.

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 statement of when to use this versus unifi_net_get_lag for a single LAG or unifi_net_list_mclag_domains for MC-LAG domains. An agent must infer the difference from tool names alone.

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