Skip to main content
Glama

List invoices

list_invoices
Read-only

Lists the user's latest Fezola invoices, newest first: date, number, total (in the smallest currency unit, e.g. cents), currency, status (paid, open = to be paid, uncollectible), and links to view the invoice online (hostedUrl) or download its PDF (pdfUrl). Empty if the user never subscribed.

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already establish this as a safe, read-only, closed-world list operation. The description adds meaningful behavioral context beyond them: results are newest first, the empty case is explicitly defined ('Empty if the user never subscribed'), and invoice status values are explained.

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?

A single tightly written sentence front-loads the core purpose and then enumerates the returned fields without repetition or filler.

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 zero-parameter, read-only list tool with no output schema, the description does substantial work: it enumerates returned fields, explains currency units and status values, and defines the empty result. The main omission is how many invoices 'latest' returns or whether pagination exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the baseline is 4. There are no parameter semantics to clarify, and the description does not invent any.

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?

The description states a specific verb and resource ('Lists the user's latest Fezola invoices') and specifies ordering ('newest first'), distinguishing it from the many sibling list_* tools that cover other resources.

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 invoice-specific purpose, but the description gives no explicit when-to-use guidance, no exclusions, and no comparison with nearby billing tools such as get_billing_portal_link, get_plan, or get_profile.

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