Skip to main content
Glama

List expenses

harvest_list_expenses
Read-only

List expenses, optionally filtered by user, client, project, date range, billed status, or updated-since. Paginated. Harvest REST: GET /expenses.

Input Schema

NameRequiredDescriptionDefault
toNoOnly expenses on/before this date, yyyy-mm-dd.
fromNoOnly expenses on/after this date, yyyy-mm-dd.
pageNoPage number (1-based) for pagination.
user_idNoFilter to a single user id.
per_pageNoResults per page (1–2000, Harvest default 2000).
client_idNoFilter to a single client id.
is_billedNoOnly billed (true) or unbilled (false) expenses.
project_idNoFilter to a single project id.
updated_sinceNoOnly expenses updated since this ISO-8601 datetime.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered by structured data. The description adds that results are paginated and maps to the upstream REST call, which is useful context, but it does not disclose pagination limits, ordering, or default page size behavior beyond what the schema already implies.

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 tight sentences with zero filler; the core action and filters are front-loaded and the pagination/endpoint note follows.

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 could say more about the returned collection shape, but for a read-only listing tool with fully documented parameters and a readOnlyHint annotation, the filtering and pagination coverage is sufficient for correct invocation.

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 all nine parameters individually documented, so the schema carries the parameter burden. The description's filter list ('user, client, project, date range, billed status, updated-since') mirrors the schema without adding format, default, or interaction details.

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?

States a specific verb and resource ('List expenses') and enumerates the available filter dimensions, so an agent knows exactly what the tool returns. It does not explicitly contrast itself with the other harvest_list_* siblings (time entries, invoices, projects), though those target different resources so ambiguity is low.

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?

The description implies when the tool is useful ('optionally filtered by...'), but gives no explicit when-to-use/when-not guidance, no mention of prerequisites (e.g. needing an account token), and no routing to an alternative for cross-resource retrieval.

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.