Skip to main content
Glama

List invoices

list_invoices
Read-only

List construction-project invoices (project-linked only — this never returns platform/subscription billing invoices, which share the same table but have no project_id). Optional project_id, status ('draft'|'sent'|'paid'|'overdue'|'cancelled').

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": "list_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
statusNo
project_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds non-obvious result semantics — that the underlying table includes subscription billing rows which are filtered out — which is genuine behavioral context an agent could not infer. It stops short of describing ordering or pagination behavior.

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?

Two sentences, front-loaded with the core action and scope, with the exclusion parenthetical placed where it prevents the most likely mistake. No filler wording and nothing repeated from the title.

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 read-only list tool with annotations covering safety and no output schema, the definition covers purpose, scope exclusion, and two of three filters. Missing details are the limit/pagination semantics and result ordering, which matter somewhat for a listing endpoint but are not blocking.

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 0%, so the description must carry the load. It documents two of three parameters well: project_id as an optional project filter and status with its full enum ('draft'|'sent'|'paid'|'overdue'|'cancelled'), which the schema itself does not enumerate. The limit parameter is never mentioned — no default, maximum, or paging meaning — leaving a real gap.

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 and resource ('List construction-project invoices') and immediately bounds the result set to project-linked records, explicitly excluding platform/subscription billing invoices that share the table. That negative scope is exactly what an agent needs to tell this apart from a generic invoices listing.

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 'never returns platform/subscription billing invoices' clause gives a useful when-not condition, and the parenthetical signals that a project_id link is the defining trait. However, there is no guidance on when to use this versus e.g. list_invoice_lines, nor any advice on combining filters or paging through results.

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.

Resources