Skip to main content
Glama

Show server bandwidth usage

lw_server_bandwidth
Read-onlyIdempotent

Check a server's bandwidth usage, quota, overage pricing, and projected costs for the current billing period; use verbose mode for full per-second and year statistics.

Instructions

Show bandwidth usage for a server (bleed Monitoring/Bandwidth/stats): this period's actual and projected GB in/out, the bandwidth quota and overage price, and current and projected cost. verbose=true returns the full stats with averages per second through year.

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

Input Schema

NameRequiredDescriptionDefault
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 the raw stats object.

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

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, openWorld and non-destructive behavior, so the bar is lower. Beyond that, the description discloses what the payload contains (period actual vs projected, quota, overage price, costs) and what verbose changes, which is useful operational context; it does not mention any staleness or latency characteristics of the stats.

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 tightly packed sentences with the core purpose front-loaded and no filler; the parenthetical bleed path is mildly opaque jargon but arguably useful for traceability. Every clause conveys information.

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 explained, yet the description still summarizes them well. All three parameters are documented in the schema, and the read-only nature is covered by annotations; only alternative-tool routing is missing.

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% and every parameter already carries its own documentation, so the baseline is 3. The description adds some meaning for verbose by specifying 'full stats with averages per second through year', but says nothing extra about uniq_id or context handling.

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

Purpose4/5

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

Names a specific verb and resource ('Show bandwidth usage for a server') and enumerates the concrete data returned (actual/projected GB in/out, quota, overage price, cost). It is clearly distinguishable from mutation siblings like lw_server_power or lw_server_reimage, though it does not explicitly contrast with read-oriented siblings such as lw_server_load or lw_server_history.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the tool for bandwidth/billing figures, and the description explains the verbose=true variant. There is no explicit when-to-use/when-not statement or pointer to a sibling for related metrics (e.g., load or history).

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