Skip to main content
Glama

List invoices

list_invoices
Read-onlyIdempotent

Invoices for one matter: total, balance, paid (balance 0), due date, last payment date. customer_match "confirmed" (manually linked) or "exact" (name match) means these invoices belong to the matter; "none"/"ambiguous" returns no invoices plus unconfirmed possible_customers. Does not create, send, or charge. Sign-in required.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "matter_id": "<matter_id>"
    },
    "name": "list_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
matter_idYesMatter identifier from find_matter or list_open_matters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, closed-world), so the bar is lower, yet the description still adds real value: 'Sign-in required' is an auth prerequisite not present in annotations, and the customer_match semantics disclose an important return-shape edge case (no invoices plus unconfirmed possible_customers when matching fails). 'Does not create, send, or charge' is partly redundant with readOnlyHint but adds specificity about non-actions.

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?

Three tight sentences with the resource and returned fields front-loaded, and no filler. The customer_match clause is dense and telegraphic but is the highest-value content, so the compression is justified.

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 one-parameter, read-only tool with no output schema, the description carries the return-value burden well by listing the fields and explaining the customer_match outcomes. It is still silent on ordering, volume, or pagination limits, which an agent may need for large matters.

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 100% and the single matter_id parameter is already documented as originating from find_matter or list_open_matters. The description adds no further meaning about the parameter, so the baseline of 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?

The description names a specific verb and resource ('Invoices for one matter') and enumerates the returned fields (total, balance, paid, due date, last payment date), so an agent knows exactly what it gets. It does not explicitly differentiate itself from near-siblings such as list_matter_bills or list_outstanding_balances, which is the only thing keeping it from a 5.

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?

Usage is implied by the scope statement ('for one matter') and by the field list, but there is no explicit when-to-use or when-not-to-use guidance, and no alternative tool is named. The customer_match explanation helps interpret results rather than decide whether to call this tool.

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