Skip to main content
Glama

List invoices

harvest_list_invoices
Read-only

List invoices, optionally filtered by client, project, state, date range, or updated-since. Paginated. Harvest REST: GET /invoices.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoOnly invoices issued on/before this date, yyyy-mm-dd.
fromNoOnly invoices issued on/after this date, yyyy-mm-dd.
pageNoPage number (1-based) for pagination.
stateNoFilter by invoice state: draft, open, paid or closed.
per_pageNoResults per page (1–2000, Harvest default 2000).
client_idNoFilter to a single client id.
project_idNoFilter to a single project id.
updated_sinceNoOnly invoices updated since this ISO-8601 datetime.

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?

Annotations already indicate readOnlyHint=true; description adds pagination and REST GET method, reinforcing non-mutating behavior. No contradictions.

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?

Two short sentences; front-loaded with action and subject; every phrase adds value.

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?

Description covers purpose, filters, and pagination; lacks explicit return format, but tool name implies list of invoices. Adequate for a read-only list tool.

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 covers 100% of parameters with descriptions; description only summarizes filters ('client, project, state, date range, updated-since') without adding new syntax. Baseline 3 applies.

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?

Specific verb 'List' with resource 'invoices'; additional filter options clarify scope. Distinguishes from sibling list tools by resource (invoices vs clients/projects).

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?

States it lists invoices and can be filtered by several criteria; implies use when needing an invoice list. Does not explicitly contrast with harvest_get_invoice or other list tools, but context is clear.

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.