Skip to main content
Glama

List invoices

list_invoices
Read-onlyIdempotent

Customer invoices with totals, balances and due dates.

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
toNoISO date.
fromNoISO date.
limitNoMaximum rows to return (1-200, default 50).
offsetNoRows to skip, for paging.
statusNoe.g. open, paid, void.
unpaid_onlyNo

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
countYesHow many rows are in `results`.
resultsYesThe rows.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.5/5.0
Behavior2/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 without the description. The description adds nothing behavioral beyond a hint at returned fields, which the output schema already provides; no default limit, ordering, or empty-result behavior is disclosed.

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?

It is a single short sentence fragment with no wasted words, but it lacks a verb and is not front-loaded with actionable information. Brevity here reflects under-specification rather than disciplined concision.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter listing tool with paging, date ranges, and a status filter, the description gives an agent no routing or filtering guidance, even though annotations and the output schema relieve it of safety and return-value duties. An agent could still call it, but only by reading the schema 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 83%, so the input schema already documents from/to, limit, offset, and status. The description mentions none of the parameters and adds no meaning beyond the schema, leaving the baseline 3 appropriate rather than a lower score.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment 'Customer invoices with totals, balances and due dates' identifies the resource and the fields it surfaces, but supplies no verb and no scope qualifier, so the 'list' behavior is only inferred from the name. It also does nothing to separate this tool from nearby siblings such as list_bills, list_estimates, or list_checks, which an agent must disambiguate on its own.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to reach for this tool versus invoice-adjacent siblings, no mention of default result size or paging expectations, and no note about what unpaid_only or status filtering is intended for. Usage is only implied by the tool name and the parameter names in the schema.

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