Skip to main content
Glama

List invoices

nookal_list_invoices
Read-onlyIdempotent

List invoices with their line items and payments (number, client, case, location, practitioner, date, subtotal, tax, total, paid, balance), filtered by location, invoice id or creation date. For one client's invoices use get_client with include_invoices. Nookal GraphQL: invoices.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1).
created_toNoInvoices created on/before this (YYYY-MM-DD = until 23:59:59, or YYYY-MM-DD HH:MM:SS; clinic local time).
invoice_idsNoOnly these invoices (numeric Nookal ids, up to 100).
page_lengthNoItems per page, 1-100 (default 50).
voided_onlyNotrue = only voided invoices.
created_fromNoInvoices created on/after this (YYYY-MM-DD = from 00:00:00, or YYYY-MM-DD HH:MM:SS; clinic local time).
location_idsNoOnly these locations' invoices (numeric Nookal ids, up to 100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered by structured data. The description adds useful context about what is returned (line items, payments, totals, balance), but says nothing about pagination behavior or result-size limits beyond what the schema already carries.

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?

Purpose and filter scope are front-loaded, followed by the sibling routing hint; two sentences, no padding. The parenthetical field list is long but each item earns its place by describing the return shape in the absence of an output schema.

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?

With no output schema, the description usefully discloses the returned fields including nested line items and payments, and lists the available filter dimensions for a 7-param, all-optional tool. It is complete enough to call correctly; only pagination/ordering behavior is left implicit.

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 all seven parameters (page, page_length, created_from/to with their time-boundary semantics, invoice_ids, location_ids, voided_only) are already documented. The description only restates the filter dimensions at a high level, adding no syntax or default details beyond the schema, so the baseline of 3 applies.

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+resource ('List invoices'), enumerates what each record includes (line items, payments, and the fields in parentheses), and scopes it to three filter axes. It also distinguishes itself from the sibling path for per-client invoices, so an agent can identify it without opening the schema.

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?

Gives an explicit alternative and the condition that selects it: 'For one client's invoices use get_client with include_invoices.' That is real routing guidance, though it does not contrast with the other list_* siblings (payments, appointments) that could overlap with invoice-adjacent queries.

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.