Skip to main content
Glama

List load balancers

lw_load_balancers
Read-onlyIdempotent

List load balancers on the account or fetch one load balancer's details, including nodes, services, strategy, and virtual IP, using its uniq_id.

Instructions

List load balancers on the account (bleed Network/LoadBalancer/list), or pass uniq_id for one load balancer's details (Network/LoadBalancer/details): nodes, services, strategy and virtual IP. Param names are Unverified beyond uniq_id and paging; verbose=true returns raw objects.

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": "lw_load_balancers"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoAuth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them.
uniq_idNoLoad balancer uniq_id for details. Omit to list all.
verboseNoReturn raw API objects instead of the compact summary.
max_itemsNoReturn at most this many items (default LW_MAX_ITEMS, 500). When more remain, the result says truncated and gives next_page if the cut fell on a 100-item page boundary; otherwise raise max_items.
start_pageNoResume from this page (use next_page from a previous call).

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo
statusYes
contextNo
previewNo
summaryYes
warningsNo
next_pageNo
next_stepNo
truncatedNo
expires_atNo
confirm_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/openWorld, so the description's added value is the verbose=true raw-object switch, the underlying API endpoints, and the warning that parameter names beyond uniq_id and paging are unverified. The unverified-parameter caveat is genuinely useful for an agent, though the vague "bleed" wording and the unexplained capital-U status label reduce clarity.

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?

Two dense sentences, front-loaded with the primary list behavior and the detail-mode branch, with no filler. The parenthetical API path references and the "bleed" jargon add noise without adding decision value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, and the read-only annotations cover the safety profile. The description covers both operational modes and the raw-vs-compact toggle, leaving only minor gaps around paging interaction with max_items, which the schema already documents.

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 coverage is 100%, so baseline is 3; the description goes slightly beyond by explaining the dual role of uniq_id (list vs. details) and flagging that parameter names other than uniq_id and paging are unreliable. It does not add syntax or format detail for context, max_items, or start_page, which the schema already covers.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("List load balancers on the account") and immediately distinguishes the two modes: account-wide list vs. single-load-balancer details via uniq_id. The detail fields returned (nodes, services, strategy, virtual IP) further pin down what the tool surfaces.

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

Usage Guidelines4/5

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

Gives a clear selection rule: omit uniq_id to list everything, pass uniq_id to get one load balancer's details. It does not name an alternative sibling or state when-not to use it, so it stops short of full routing guidance.

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