Skip to main content
Glama
stablevoy-mcp

stablevoy-mcp

Official

List invoices

list_invoices
Read-onlyIdempotent

Lists invoices newest first and filters by status, source, search term, or UTC creation date to find invoices without an ID.

Instructions

Lists invoices newest first, to find invoices when you do not have an id: filter by status, source, a search (invoice id or the start of the reference) and the UTC days they were created. Returns pages: for each store its name, invoices (the same fields as get_invoice) and nextCursor, null on the last page. One page per call; pass nextCursor as cursor together with the same store to get the next page. Without store and with several stores, one page per store. No match gives an empty list, not an error. Use get_invoice for one invoice by id.

Input Schema

NameRequiredDescriptionDefault
limitNoInvoices per page, 20 by default.
storeNoStore id or exact store name from list_stores. Needed only when several stores are connected.
cursorNonextCursor of the previous page, with the same store.
searchNoInvoice id or the start of the reference.
sourceNoHow the invoice was made: payment_link, woocommerce, edd, whmcs, api_key or not_recorded.
statusNoawaiting_payment, confirming, paid, overpaid, underpaid, paid_late, expired or on_hold.
createdToNoLast UTC day, YYYY-MM-DD.
createdFromNoFirst UTC day, YYYY-MM-DD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, idempotent and open-world, so the safety profile is covered. The description adds genuinely new behavior: pagination is one page per call, nextCursor must be replayed with the same store, the response shape per store (name, invoices, nextCursor null on last page), and that no match returns an empty list rather than an error.

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?

Front-loaded with purpose, then filters, then pagination mechanics, then the sibling pointer — a sensible order with no filler. The pagination sentence is somewhat run-on ("for each store its name, invoices ... and nextCursor"), costing some readability.

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 and eight optional parameters, the description covers what an agent needs: return shape, pagination protocol, multi-store behavior and error-free empty results. Nothing consequential is missing for correct invocation.

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 each of the eight parameters is already documented with types, bounds and enumerated values in the schema. The description adds marginal meaning beyond that — mainly the coupling of cursor with the same store and the semantics of omitting store — but does not restate filter formats or defaults.

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 ("Lists invoices") plus ordering ("newest first") and the governing condition ("to find invoices when you do not have an id"). It explicitly differentiates from the sibling get_invoice, which retrieves one invoice by id.

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

Usage Guidelines5/5

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

Gives an explicit selection rule against the alternative ("Use get_invoice for one invoice by id") and clarifies the multi-store case ("Without store and with several stores, one page per store"). It even documents the no-match outcome so the agent does not mistake an empty page for failure.

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