Skip to main content
Glama
chrischall

freshbooks-mcp

by chrischall

freshbooks_list_expenses

Read-only

List expenses for your FreshBooks account with pagination and custom filters. Get newest expenses first; if some records are inaccessible, a note explains the count.

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.7/5.0
Behavior5/5

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

Annotations only provide readOnlyHint=true, but the description adds critical behavioral context: newest-first default ordering, pagination support, raw filter syntax with an example, and the subtle edge case where a total count may include unreadable records reported in the note field. This goes far beyond the annotations and fully discloses the tool's behavior.

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 sentences with zero redundancy. The purpose is front-loaded, the pagination and filter capabilities are stated efficiently, and the edge-case explanation is concise and directly relevant. Every word earns its place.

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

Completeness5/5

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

For a list operation with three optional parameters and no output schema, the description covers the essential behaviors: default sorting, pagination, filter mechanism, and the note-field behavior for unreadable records. It is complete enough for an agent to call this tool correctly without further inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It explains that 'search' accepts raw FreshBooks filters with an example, and mentions pagination which maps to page and per_page. While it does not spell out the exact parameter names or value constraints, it provides enough semantic grounding for an agent to use the schema correctly.

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?

The description clearly states the verb 'List' and the resource 'expenses for the account', with an explicit default ordering. It distinguishes itself from sibling list tools by naming the resource and the additional raw-filter capability, leaving no ambiguity about which list operation this is.

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?

The description implies usage for listing expenses, and the sibling names (list_services, list_invoices) make the resource-specific purpose clear. It does not explicitly state when not to use it or mention alternatives, but the context is sufficient for an agent to route correctly. A stronger definition would note that get_expense handles a single expense.

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