Skip to main content
Glama

List invoices

list_invoices
Read-onlyIdempotent

Invoices of the client accounts this connection reaches, newest first: number, dates, total, balance due, currency, status, and the client-area link. status filters (Unpaid includes overdue ones; Overdue = unpaid past their due date). Read-only: paying happens on the invoice page, by the person.

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
account_idNoClient account id from whoami. Optional: every account where the user may see invoices.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so the safety profile is covered structurally. The description adds genuine value with the "newest first" ordering and the explicit no-payment boundary, but stays silent on pagination or what happens when limit truncates results — relevant for a list tool with a default of 20.

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 dense sentences with the scope and ordering front-loaded and zero filler. The field enumeration in the middle is slightly list-like but earns its place given there is no 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?

For a simple read-only list tool with no output schema, the description usefully enumerates the returned fields and pins down ordering and enum semantics. The remaining gap — how truncation and pagination work against the default limit of 20 — is modest but real for a listing endpoint.

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 only 33% (only account_id is documented in the schema), so the description carries weight and does clarify status semantics meaningfully — "Unpaid includes overdue ones; Overdue = unpaid past their due date" resolves enum ambiguity an agent could not infer. However, limit behavior beyond the schema's own min/max/default is never discussed, leaving one of three params uncompensated.

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?

Names the resource and its scope precisely: "Invoices of the client accounts this connection reaches, newest first," plus the exact fields returned. The plural/listing scope implicitly separates it from the singular get_invoice and from get_invoice_transactions, though no sibling is named explicitly.

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 a clear boundary for what this tool will not do ("paying happens on the invoice page, by the person"), which steers an agent away from attempting payment here. It also disambiguates the status enum's overlapping values, but never explicitly says when to prefer this over get_invoice for a single record.

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