Skip to main content
Glama

Bill4Time MCP by usefulapi

List expenses

bill4time_list_expenses
Read-only

List expenses: client, project, user, expense date, cost and sell price, quantity, type, billing status, invoice id, public description. Filter by client, project, user, invoice, expense date range, billing status or exact expense type. Private notes are not returned unless include_private_notes is set. GET /expenses.

Input Schema

NameRequiredDescriptionDefault
idNoOnly the record with this id.
topNoRecords to return, 1-100 (default 25).
skipNoRecords to skip (default 0). Pass the previous reply's next_skip to read the next page.
sortNoField to sort by (default: Bill4Time's own order).
date_toNoExpenses dated on or before this date.
user_idNo
client_idNo
date_fromNoExpenses dated on or after this date.
descendingNoSort descending (newest or highest first). Default ascending.
invoice_idNoOnly expenses on this invoice.
project_idNoA project id, or -1 for expenses that belong to no project.
expense_typeNoExact expense type name.
billing_statusNo
include_custom_fieldsNoAlso return the custom fields (default false).
include_private_notesNoAlso return the private/internal notes (default false). Only set it when the user asks for internal notes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, non-destructive and open-world, so the safety profile is covered. The description adds real behavioral context beyond them: private notes are withheld by default and only exposed via include_private_notes, and it discloses which fields the response carries. It omits pagination/limit behavior, which keeps it from a 5.

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 dense sentences with the returned-field inventory front-loaded, followed by filterable dimensions and the private-notes caveat. The field enumeration is long but every clause maps to real behavior; no filler text.

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 15 parameters, no required params, and no output schema, the description usefully enumerates the returned fields and the default-hiding of private notes, which is what an agent most needs. It leaves pagination/limit semantics and the include_custom_fields behavior to the schema, which is acceptable given the schema coverage.

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 80%, so the schema already documents most parameters. The description's filter list (client, project, user, invoice, date range, billing status, exact expense type) loosely maps to the undocumented user_id/client_id/billing_status parameters, adding only marginal meaning beyond the schema. Baseline 3 is appropriate.

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?

States a specific verb ('List') plus resource ('expenses') and enumerates what is returned (client, project, user, expense date, cost, sell price, quantity, type, billing status, invoice id, public description). It also names the exact filter dimensions and the underlying endpoint GET /expenses, making it clearly distinguishable from siblings like bill4time_list_invoices or bill4time_list_time_entries.

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?

Gives concrete usage context: which dimensions can be filtered and that private notes are hidden unless the flag is set. It does not, however, state when this tool should be preferred over a sibling (e.g., when to reach for invoices vs expenses) or any exclusion conditions, so it stops short of a 5.

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.