Skip to main content
Glama
chrischall

freshbooks-mcp

by chrischall

freshbooks_list_expenses

Read-only

Retrieve and list FreshBooks expenses newest-first, with pagination and raw filters. Use it to browse or search expenses while noting totals that include unreadable records.

Instructions

List expenses for the account, newest-first by default. Supports pagination and raw FreshBooks filters (e.g. {"search[categoryid]": 5}). If the response reports a total with no rows, the count includes records this identity cannot read — that is reported in the note field rather than looking like an empty account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
searchNo
per_pageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.7.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed2 schema fields changedv0.3.1
    • removedInput schema / properties / search / additionalProperties / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "boolean"
      -  }
      -]
    • addedInput schema / properties / search / additionalProperties / type
      Added value: +[
      +  "string",
      +  "number",
      +  "boolean"
      +]
  3. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, openWorldHint), yet the description adds genuinely non-obvious behavior: newest-first ordering by default and the caveat that a reported total may include records the identity cannot read, surfaced in a `note` field instead of a silent empty result. That preempts a real misdiagnosis, though pagination mechanics themselves are only asserted, not described.

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?

Three sentences, all load-bearing: the core operation leads, the filter capability follows, and the counter-intuitive count caveat closes. No restatement of the tool name or filler.

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 must gesture at the return shape; it covers ordering and the anomalous total-vs-rows case via the `note` field, which is the highest-risk return behavior. Remaining gaps (record shape, pagination response envelope) are minor for a list endpoint.

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 0%, so the description carries the burden. It compensates for the trickiest parameter by documenting the open-ended `search` object and its filter syntax with an example, but says nothing about `page` or `per_page` semantics (defaults, page size behavior) beyond the bare word "pagination".

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 and resource ("List expenses for the account") plus the default ordering, which immediately distinguishes it from freshbooks_get_expense, freshbooks_create_expense and freshbooks_list_expense_categories in the sibling set. An agent can route to it without opening the schema.

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

Usage Guidelines3/5

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

It explains that raw FreshBooks filters are supported and gives a concrete filter example, which implies the filtering use case, but it never states when to prefer this over a single-record fetch or when filtering is unnecessary. No explicit when-not guidance or named alternative.

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