Skip to main content
Glama

List server plans

lw_plan_list
Read-onlyIdempotent

Lists orderable server plans with hardware specs, regions, and zones so you can filter by server type and pick the right plan_id for provisioning a new server.

Instructions

List server plans (hardware sizes) you can order (v2 server/plan/list). Filter by server_type, region_id, zone_id. Compact rows: id, description, server_type, vcpu/cores, memory, disk, gpu, region and zone. Prices are not included. Use the id as plan_id in lw_server_create.

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

Input Schema

NameRequiredDescriptionDefault
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.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description earns credit for the extra data-shape facts: compact rows by default and 'Prices are not included', which prevents an agent from expecting cost data. It omits the default exclusion of unavailable plans, which is only discoverable in the schema.

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?

Four compact sentences, front-loaded with the action and resource, then filters, then return shape, then the handoff to lw_server_create. Nothing is repeated and no sentence is filler.

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 parameter coverage, the description need only set context, and it does: what is returned, what is absent (prices), and how to use the id. Pagination and truncation behavior are left entirely to the schema, which is acceptable but the only remaining gap for an 8-parameter list tool.

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 coverage is 100%, so every parameter is already documented in the schema, and the description only restates the three filter names without adding format or semantics. The 'compact rows' phrasing implicitly signals the verbose toggle but does not explain it. Baseline 3 is appropriate when the schema carries the load.

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 plans') and immediately disambiguates with a gloss ('hardware sizes') plus the underlying API path ('v2 server/plan/list'). An agent can distinguish this from lw_server_list or lw_template_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 a clear use context ('plans you can order') and a concrete downstream step ('Use the id as plan_id in lw_server_create'), which is exactly what an agent needs to chain calls. It stops short of naming alternatives or stating when not to use this tool, so it falls just below the top band.

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