Skip to main content
Glama
Invoice Ninja MCP Server

Invoice Ninja MCP Server

by TETRA-2023

List invoices

in_list_invoices
Read-only

List invoices and filter by client, status, due state, balance, or exact number to retrieve matching records from Invoice Ninja.

Instructions

List invoices. Use flags to narrow: client_id, client_status (draft|sent|paid|unpaid|overdue), overdue, payable, upcoming, number.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "in_list_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number for pagination.
sortNoSort directive, e.g. 'date|desc'.
filterNoFree-text search across the entity's searchable columns.
numberNoExact invoice number.
statusNoRecord state (default 'active'). 'all' also returns archived and deleted records.
overdueNoOnly invoices past their due date with a balance.
payableNoOnly invoices with a remaining balance.
per_pageNoRows per page (capped server-side, default 20).
upcomingNoOnly invoices with no/future due date.
client_idNoRestrict to one client.
client_statusNodraft, sent, paid, unpaid, or overdue.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.1/5.0
Behavior2/5

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

Annotations only declare readOnlyHint=true; the description adds no behavioral context beyond naming filter flags. It does not mention pagination defaults, server-side caps, sort behavior, the record-state parameter that controls whether archived/deleted records appear, or what the response contains. For a list tool with no output schema, that leaves real gaps.

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?

Two short sentences, front-loaded with the action before the flag list. The flag enumeration is a bit of a run-on but there is no filler or hedging.

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

Completeness2/5

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

With 11 optional parameters, default page size, server-side caps, and no output schema, the description should explain at least the pagination/sort/record-state behavior and default empty-filter behavior. It omits page, per_page, sort, filter, and status entirely, leaving an agent to discover list semantics from the schema alone.

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 schema already explains every parameter, including client_status values and the overdue/payable/upcoming semantics. The description's enumeration of flags largely restates the schema without adding syntax, defaults, or interaction rules, so baseline 3 applies.

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?

States a specific verb and resource ('List invoices') that an agent can match to intent. It does not distinguish itself from siblings such as in_get_invoice (single record) or in_outstanding_summary, so it falls short of full sibling differentiation.

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?

'Use flags to narrow' implies the tool is for filtered retrieval, which is adequate but vague. There is no guidance on when to prefer this over in_get_invoice or in_outstanding_summary, and no note that all parameters are optional (returning everything by default).

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