Skip to main content
Glama

BookingKoala MCP Server and API by Cotlet

List invoices

list_invoices
Read-onlyIdempotent

Invoices of the store or of one customer, with payment status, total and amount due. Returns invoices as the Invoices page lists them, newest first: number, customer, booking or custom type, payment status (paid, unpaid, partially_paid, void, uncollectible), total, paid, amount due, issue and due dates. Filter by customer, payment status and issue dates (default: two years back to a year ahead), or search by number, email, name or phone. BookingKoala gives no total: next_cursor is set while a full page comes back. invoice_id goes to resend_invoice.

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": "list_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo1 to 100. Default: 20.
cursorNonext_cursor from the previous call.
searchNoInvoice number, customer email, name or phone.
end_dateNoTo this issue day, YYYY-MM-DD. Default: a year ahead.
pay_statusNoPayment status filter.
start_dateNoFrom this issue day, YYYY-MM-DD. Default: 2 years ago.
customer_idNoOnly this customer's invoices.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare it read-only and idempotent, and the description adds real operational detail beyond that: newest-first ordering, the exact default date window (two years back to a year ahead), and the pagination quirk that next_cursor is only set when a full page returns.

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?

Three dense, front-loaded sentences: purpose first, then return shape, then filters. The return-field enumeration is long but useful given there is no output schema; only minor redundancy between the field list and the filter list.

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?

With no output schema, the description carries the return-shape burden and does so: field list, ordering, status values, and pagination behavior are all disclosed, along with defaults for the optional date params.

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; the description goes further by naming the enum values, expanding what `search` matches, and explaining cursor semantics ('next_cursor is set while a full page comes back') in a way the schema does not.

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 ('Invoices of the store or of one customer') plus the data it carries, and distinguishes itself from resend_invoice by naming that sibling and what it needs. An agent can tell immediately what this returns.

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?

Spells out the three filter axes (customer, payment status, issue dates) and the four search fields, and routes to resend_invoice by invoice_id. It never states when NOT to use it (e.g., browse charges instead), so it stops short of full alternatives coverage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.