Skip to main content
Glama

List invoices

list_invoices
Read-onlyIdempotent

Invoices on the account (newest first), optionally only Unpaid, Paid, Overdue or Cancelled: number, dates, total, currency and status.

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
statusNo

Output Schema

NameRequiredDescriptionDefault
countNo
invoicesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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=false, so the safety profile is fully covered. The description usefully discloses the default sort order ('newest first'), but says nothing about pagination, result limits, or volume behavior for accounts with many invoices.

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?

A single compact sentence with the ordering constraint and filter placed early. The trailing field list ('number, dates, total, currency and status') slightly duplicates what the output schema likely provides, but it is brief and readable rather than wasteful.

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-optional-parameter read-only list tool with an output schema present, the description covers purpose, filter, sort order, and returned fields. The remaining gap is operational detail such as result-set size or pagination, which is minor given the tool's simplicity and existing annotations.

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 0%, so the description must carry the parameter meaning – and it does list the four allowed status values, matching the schema enum. It adds the notion that filtering is optional, but offers no guidance beyond what the enum already encodes (e.g., what happens if status is omitted, case sensitivity, defaults).

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 ('Invoices on the account') and adds scope details: newest-first ordering, an optional status filter, and the fields returned. It is clearly distinguishable from siblings like list_domains or list_tickets by resource alone, though it does not explicitly contrast itself with any alternative.

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 word 'optionally' signals the filter is not required, implying a use for both filtered and unfiltered listing. However, there is no explicit when-to-use guidance, no mention of when not to use it, and no named alternative for related invoice 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.