Skip to main content
Glama

list_invoices

Read-only

Retrieve invoices from Billy using filters for customer, status, date range, and free-text search. Results include paginated invoice data.

Instructions

List invoices in Billy with filters for customer, state, date range and free-text search. Returns invoices plus meta.paging.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoFree-text search
pageNoPage number (1-based)
stateNoFilter by invoice state
isPaidNoFilter by paid status
verboseNoReturn the full Billy response. Default false: compact records with key fields only (saves ~90% context)
pageSizeNoRecords per page (max 1000, default 50)
contactIdNoFilter by customer contact ID
invoiceNoNoFilter by exact invoice number
maxEntryDateNoInvoice date <= this (YYYY-MM-DD)
minEntryDateNoInvoice date >= this (YYYY-MM-DD)
sortPropertyNoSort field, e.g. 'entryDate', 'createdTime'
sortDirectionNoSort direction
Behavior3/5

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

The annotation 'readOnlyHint: true' already indicates safe read operation. The description adds that it returns invoices with paging metadata, consistent with read-only behavior. No additional behavioral traits (e.g., pagination defaults, rate limits) are disclosed.

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 two sentences: the first states the action and filters, the second states the return value. It is concise and front-loaded with essential information.

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?

Given 12 parameters and no output schema, the description covers key aspects: filtering capabilities and return of paging metadata. It does not mention default pagination or sorting behavior, but the schema fills in parameter details. Overall adequate for a list tool.

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 input schema already documents all 12 parameters. The description briefly mentions filter categories (customer, state, date range, free-text) which correspond to some parameters, but adds no extra meaning beyond the schema.

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 specified filters (customer, state, date range, free-text search). It is distinct from sibling tools like 'get_invoice' (single invoice) and 'list_bills' (bills), but does not explicitly differentiate from them.

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 usage for filtering and listing invoices, but provides no explicit guidance on when to use this tool versus alternatives (e.g., when to use 'get_invoice' instead) or mentions prerequisites or limitations.

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/Thourum/billy-mcp'

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