Skip to main content
Glama

List invoices

lw_invoice_list
Read-onlyIdempotent

Lists Liquid Web account invoices for MSP resale reconciliation, filtering by status or bill ID and returning totals, due amounts, and key dates without payment method details.

Instructions

List invoices on the Liquid Web account (bleed Billing/Invoice/list) for MSP resale reconciliation. Filter by status (unpaid, partially-paid, paid) or bill_id. Returns id, status, billed and due dates, total, paid and due, plus a sum of amounts due. Never returns payment method details. Use lw_invoice_details for line items by asset (uniq_id).

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

Input Schema

NameRequiredDescriptionDefault
extraNoAdvanced: extra API params passed through as-is. Typed params win on conflict. Check lw_api_path_details first.
bill_idNoOnly invoices tied to this bill id.
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.
statusesNoOnly invoices with these statuses.
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).
with_previewsNoInclude invoice previews (API default true).

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 declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description adds real value beyond that by enumerating returned fields, noting the aggregate sum of amounts due, and disclosing that payment method details are never returned — a privacy guarantee the annotations do not convey.

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?

Four short sentences, front-loaded with the action and resource, then filters, return shape, and the sibling pointer. The parenthetical "bleed Billing/Invoice/list" and the return-field recital are slightly redundant against the output schema but do not obscure the call.

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

Completeness5/5

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

Covers purpose, filters, return shape, privacy boundary, and pagination/truncation behavior, and an output schema exists so return values need no further explanation. Nothing an agent needs in order to invoke this list tool correctly 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%, so the schema already documents bill_id, statuses, max_items, start_page, context, verbose and extra. The description reinforces the two main filters and the notion of a summed amount due, but adds no syntax, defaults, or edge-case meaning beyond the schema baseline.

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 invoices on the Liquid Web account") plus the underlying API endpoint and the business purpose (MSP resale reconciliation). It explicitly separates itself from lw_invoice_details by scope (line items by asset), so an agent can choose between them without inspecting schemas.

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 filter conditions (by status or bill_id) and names the alternative tool for the line-item use case. It stops short of stating when this tool is the wrong choice or what prerequisites exist, but the routing guidance is explicit rather than implied.

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