Skip to main content
Glama

List saved payment requests

list_invoices
Read-onlyIdempotent

Lists payment requests stored in a local NimBooks backup file, read-only, with an optional account address filter.

Instructions

Payment requests stored in a NimBooks backup file (the app keeps them on the device; there is no server holding them). Requires the server to be started with --backup . Read-only: the file is never written to, and the cashlink shelf inside it — which holds link private keys — is never opened.

Input Schema

NameRequiredDescriptionDefault
addressNoThe account whose requests to list. Optional; defaults to the server’s configured address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, but the description adds real value beyond them: the file is never written to, and the embedded cashlink shelf holding link private keys is never opened. That security/scope disclosure is exactly the kind of context annotations cannot carry. It stops short of describing ordering, filtering, or result shape.

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 compact sentences, each carrying distinct information (storage model, prerequisite, safety guarantees), with no filler. The lead is a bare noun phrase rather than the action, but nothing is redundant.

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 single-optional-parameter read tool with no output schema and read-only annotations, the description covers storage location, activation prerequisite, and mutation/secret exposure boundaries. Only the return shape and any result limits are left unstated, which is a minor gap at this complexity.

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?

With one optional parameter and 100% schema description coverage, the schema already explains that 'address' selects the account and defaults to the server's configured address. The description adds nothing about this parameter, so the baseline 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 makes clear that the resource is payment requests stored in a device-local NimBooks backup file, which is specific enough to distinguish it from siblings like create_payment_request or get_statement. It never states an explicit verb and never resolves the name/title mismatch ('list_invoices' vs 'payment requests'), but the noun phrase plus the file-location detail leaves little ambiguity about what is returned.

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 gives a hard precondition — the server must have been started with --backup <path> — which effectively defines when this tool is usable at all. It does not name alternatives or state when not to use it (e.g., for live/server-side requests), so routing to siblings still requires inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.