Skip to main content
Glama

invoices_list

Read-onlyIdempotent

Invoices the business sent (from Stripe, and Mojobase's own: source "mojobase", with for, what it's for) and who owes what. Each invoice: id, number, customer and email (as on the invoice), amount, paid and owed (cents, in the answer's currency), issued and due (YYYY-MM-DD), status (draft, open, overdue, paid, void, uncollectible), days_late, link (the invoice's own payment page, or for Mojobase's own its page with how to pay: put it in a reminder) and last_note (what the chase last did with it: kind reminder or skipped, or cleared when a person cleared a skip so it may be chased again). Also owing: what's still owed on the invoices the filters match (every one, not only those listed), in totals and by customer; with no filters, the whole business's. Filters: status (unpaid = open and overdue; or one status; "" for all), customer (part of the name or address), days_late (at least that late), overdue_since (went overdue on or after this day, YYYY-MM-DD), to_chase (more days late than the chase setting, not reminded or skipped in the last 7 days unless a person cleared that skip, and its customer not reminded in them). Most late first, up to 100. One invoice with its history: invoices_get. status "repeating": instead, repeating, each of Mojobase's own invoices that repeats (client, amount, words: how often, next, until, times and left: how many more, invoice: its newest).

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": "invoices_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNounpaid
customerNo
to_chaseNo
days_lateNo
overdue_sinceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare this a safe, idempotent, read-only, non-open-world call, and the description still adds real behavior: results are sorted most-late-first and capped at 100, amounts are in cents in the answer's currency, dates are YYYY-MM-DD, and the `owing` aggregate covers every invoice matching the filters — not just the listed ones — or the whole business with no filters. It also explains the semantics of `link` and `last_note` (reminder vs. skipped vs. cleared), which is exactly the kind of state context an agent needs to interpret output.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is valuable but delivered as a single run-on paragraph with nested parentheses and inconsistent formatting (inline code, stray quotes, line breaks mid-sentence). The invoice field enumeration is justified given there is no output schema, but the wall-of-text structure makes it slower to scan than it needs to be, and the trailing "repeating" mode reads as an afterthought.

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 no output schema, the description correctly compensates by listing return fields, the 100-row cap, sort order, and the separate `owing` aggregate. The only weakness is the garbled phrasing of the "repeating" alternative and the ambiguity about whether it is a mode of this tool or a sibling, which slightly muddies an otherwise complete definition.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden and does so: status is documented (unpaid = open and overdue, a single status, or "" for all), customer matches part of the name or address, days_late means at least that late, overdue_since takes a YYYY-MM-DD boundary, and to_chase is defined as a multi-condition rule. This adds meaning far beyond the bare typed properties and their 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?

The description identifies the resource precisely (invoices the business sent, from Stripe and Mojobase's own) and enumerates the returned fields, and it distinguishes itself from the sibling that fetches a single invoice ("One invoice with its history: invoices_get"). The listing verb is only implied until "Most late first, up to 100" appears late in the text, so the opening sentence reads more like a data dictionary than a statement of what the tool does.

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?

It routes the agent explicitly to invoices_get for a single invoice's history and defines a special mode (status "repeating") that returns a different shape instead of the normal listing. The to_chase filter is spelled out as a full rule, so an agent knows exactly when that mode applies. It does not, however, say when a plain `owing` aggregate query is preferable to fetching individual invoices.

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.