Skip to main content
Glama

get_invoices

List invoices with filters by status, date, amount, and search. Get per-currency totals and paginated results. Find invoices by number, order number, subject, or recipient address.

Instructions

List invoices with filters and per-currency totals; paginated. Status buckets: draft, open (finalized & unpaid, includes overdue), overdue, paid, partially-paid, canceled, locked. To find a client's invoices use search — it matches number, order number, subject and recipient address.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number. Default 1.
sortNoSort column. Default date.
orderNoSort direction. Default desc.
numberNoSubstring match on the invoice number.
searchNoMatch number, order number, subject or recipient address.
statusNoStatus bucket. Default all.
sum_maxNoMaximum net total, major units.
sum_minNoMinimum net total in major currency units (e.g. euros).
date_maxNoInvoice date to, YYYY-MM-DD.
date_minNoInvoice date from, YYYY-MM-DD.
per_pageNoResults per page. Default 25.
due_date_maxNoPayment due date to, YYYY-MM-DD.
due_date_minNoPayment due date from, YYYY-MM-DD.
outstanding_maxNoMaximum outstanding balance, major units.
outstanding_minNoMinimum outstanding balance, major units.
Behavior4/5

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

The description implies a read-only operation by stating 'list invoices' and mentions pagination and per-currency totals. Since no annotations are provided, this is adequate but could explicitly confirm no side effects.

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 extremely concise: one sentence plus a list and a usage tip. Every part adds value, with no redundancy or fluff.

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

Completeness3/5

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

With 15 optional parameters and no output schema, the description gives a high-level view but lacks detail on return structure (e.g., which fields are in each invoice) and pagination behavior. The mention of per-currency totals is helpful but insufficient.

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 baseline is 3. The description adds minimal value beyond the schema: it introduces 'per-currency totals' (not in params) and enumerates status buckets (already in enum). It does not explain parameter format or interactions.

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?

The description clearly states the tool lists invoices with filters and pagination. It specifies the resource and action, but could be more specific about the scope (e.g., for the current user). Among sibling tools, it uniquely handles invoices.

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?

The description advises using the 'search' parameter to find a client's invoices, providing explicit guidance for a common use case. However, it does not discuss when to avoid this tool or mention alternatives beyond the sibling list.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/freispace/mcp-server-analytics'

If you have feedback or need assistance with the MCP directory API, please join our Discord server