Skip to main content
Glama

List invoices

lago_list_invoices
Read-only

List invoices, optionally filtered by customer, status, payment status, or issuing date. Lago API: GET /invoices.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
statusNoFilter by a single status: draft | finalized | failed | pending | voided.
per_pageNoNumber of records per page.
payment_statusNoFilter by a single payment status: pending | failed | succeeded.
issuing_date_toNoFilter invoices issued on/before this date (yyyy-mm-dd).
issuing_date_fromNoFilter invoices issued on/after this date (yyyy-mm-dd).
external_customer_idNoFilter by customer external id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior2/5

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

The annotation already declares readOnlyHint=true, and the description only adds 'Lago API: GET /invoices', which is basic. No additional behavioral context beyond the annotation is provided.

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?

The description is a single, front-loaded sentence that efficiently states the action and optional filters. Every part earns its place; no wasted words.

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?

For a simple list tool with no output schema, the description covers the core functionality and filter options. It omits pagination details, but the schema covers the pagination parameters. Overall sufficient context for selection and 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?

All 7 parameters are described in the schema (100% coverage). The description merely summarizes filter types without adding new meaning beyond the schema descriptions. Baseline of 3 is appropriate.

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?

The description clearly states the verb 'List' and resource 'invoices', and specifies optional filters (customer, status, payment status, issuing date). This explicitly distinguishes it from sibling tools like 'lago_get_invoice' which retrieves a single invoice.

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?

The description implies use for listing invoices with optional filters, but does not provide explicit guidance on when to use this tool versus alternatives like 'lago_get_invoice' or other list tools. No when-not or exclusion criteria are mentioned.

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.