Skip to main content
Glama

List a server's IPs

lw_ip_list
Read-onlyIdempotent

List IP assignments for a Liquid Web server, including gateway, netmask, network, broadcast, and reverse DNS; pass a single IP to get details for just that address, or filter to public IPs only.

Instructions

List IP assignments for one server (bleed Network/IP/list, or Network/IP/listPublic with public_only=true): ip, gateway, netmask, network, broadcast, reverse_dns. Pass ip to get details for a single address instead (Network/IP/details).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "uniq_id": "<uniq_id>"
    },
    "name": "lw_ip_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipNoOne IP (v4 or v6) to show details for.
contextNoAuth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them.
uniq_idYesSix-character asset id (uniq_id), e.g. "ABC123". Get it from lw_asset_list or lw_server_list.
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).
public_onlyNoOnly public IPs.

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 declare readOnly, idempotent, non-destructive, and openWorld, so safety is covered. The description adds value by mapping each mode to a distinct backend endpoint and by naming the exact fields returned, which explains why the output differs between listing and single-IP detail.

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?

The core purpose and returned fields are front-loaded, and the alternative mode is stated last where it reads as a redirect. The endpoint parentheticals make the sentence dense but each clause carries real routing information, so little is wasted.

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?

With an output schema, full parameter coverage, and rich annotations, the description only needs to establish scope and mode switching, which it does. Pagination and truncation behavior are already documented in the schema's max_items/start_page descriptions, so their absence here is not a real gap.

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 the baseline is 3, but the description adds meaning beyond the schema by explaining that ip is not just a filter — it switches the tool into a different operation (Network/IP/details). It also clarifies that public_only selects a different endpoint rather than merely filtering results.

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?

It states a specific verb and resource ('List IP assignments for one server') and names the backend endpoints used for each variant. It also enumerates the returned fields (ip, gateway, netmask, network, broadcast, reverse_dns), which lets an agent confirm this is the right tool without opening the output schema.

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?

It gives explicit branching guidance: use the default mode to list all IPs, set public_only=true to hit Network/IP/listPublic, and pass ip to switch to single-address detail via Network/IP/details. It does not say when to prefer lw_server_details instead, but the mode selection within this tool is unambiguous.

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