Skip to main content
Glama

List invoices

list_invoices
Read-onlyIdempotent

List invoices and quotes, newest first, with number, status and totals in cents.

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
kindNoShow invoices or quotes. Leave it out for both.
limitNoHow many items (1–100, default 25).
starting_afterNoReturn items older than this id (the last id you already have).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / kind / description
      Added value: +"Show invoices or quotes. Leave it out for both."
  2. 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, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description usefully adds the sort order ('newest first') and the fields returned, but says nothing about pagination limits, total counts, or rate/permission behavior beyond what the schema's starting_after implies.

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 front-loaded sentence that covers resource, ordering and returned fields with no filler. It is efficient, though the phrasing packs several facts into one clause chain rather than separating input scope from output shape.

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?

With three optional parameters, full schema coverage and no output schema, the description correctly compensates by naming the returned fields and sort order. Only minor gaps remain (defaults are in the schema, but pagination semantics could be restated for an agent reading the description alone).

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 100%, with each parameter's meaning, range and default already documented, so the baseline is 3. The description adds no extra semantics for 'kind', 'limit' or 'starting_after'; its value is in describing output rather than inputs.

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?

Uses a specific verb plus resource ('List invoices and quotes') and adds ordering and returned fields, so the agent knows exactly what comes back. It does not name the sibling get_invoice as the single-record alternative, so the differentiation from siblings is only implied by the verb.

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 description implies a browse/enumerate use case through 'List ... newest first', and the schema's 'kind' parameter hints at filtering, but there is no explicit statement of when to use this versus get_invoice for a single record, nor any prerequisite or exclusion.

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