Skip to main content
Glama

List server templates

lw_template_list
Read-onlyIdempotent

List available server templates by type, region, zone, or name so you can choose the correct template_name for creating or reimaging a Liquid Web server.

Instructions

List server templates (OS, management level and control panel) (v2 server/template/list). Filter by server_type, region_id, zone_id or name. Use the name as template_name in lw_server_create or lw_server_reimage.

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

Input Schema

NameRequiredDescriptionDefault
nameNoTemplate name to match.
contextNoAuth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them.
verboseNoReturn raw API objects instead of the compact summary.
zone_idNoZone id.
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.
region_idNoRegion id (lw_region_list).
start_pageNoResume from this page (use next_page from a previous call).
server_typeNoServer type, e.g. Cloud.VPS.
include_unavailableNoAlso list items that are not currently available. Default false.

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/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds little beyond that: it does not mention that unavailable templates are hidden by default, how truncation/paging behaves, or what the compact summary contains. Useful but thin context on top of the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences: the resource and endpoint come first, filters second, and the downstream hand-off last. No filler, no repetition of the title.

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 present and full annotation coverage, the description need not explain return values, and it correctly focuses on filtering and downstream use. The one noticeable omission is the default exclusion of unavailable templates, which affects result interpretation.

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 every parameter including include_unavailable, verbose, max_items, start_page and context is already documented in the schema. The description only echoes four filter names without adding format, defaults, or interaction rules, so the baseline 3 applies.

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 server templates'), clarifies the domain of 'templates' (OS, management level, control panel), and cites the underlying API path (v2 server/template/list). An agent can distinguish this from lw_plan_list or lw_region_list without opening any 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?

Gives concrete filtering axes (server_type, region_id, zone_id, name) and closes the loop by naming the two consumers, lw_server_create and lw_server_reimage, plus how to feed the result into them via template_name. It stops short of any explicit when-not-to-use case, so it is not a full 5.

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