Skip to main content
Glama
chrischall

freshbooks-mcp

by chrischall

freshbooks_get_record

Read-only

Retrieve a single record by ID from any FreshBooks accounting resource, such as invoices or clients. Specify the resource and numeric ID to get the exact data you need.

Instructions

Get a single record from any FreshBooks accounting resource by name and id. Ids are numeric on every resource mapped here; the schema also accepts a string so an id carried around as text still works.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe record id — numeric for all currently mapped resources
resourceYesAccounting resource to read. All use the alphanumeric accountId.

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. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already mark the tool readOnlyHint=true, and the description consistently describes a read operation ('Get a single record'). It adds a useful nuance about numeric ids also accepting strings, but it does not go beyond that to disclose auth requirements, error behavior, or response shape. With annotations covering the safety profile, this is adequate but not rich.

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 concise sentences with no filler. The action and scope are front-loaded, and the id-type clarification is the only supporting detail. Every sentence earns its place.

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?

For a two-parameter read-only tool with a comprehensive enum and 100% schema coverage, the description is almost sufficient. It clearly tells the agent what to pass (resource name and id). The only gap is that no output schema exists and the description does not describe the returned record shape, but for a simple getter this is a minor omission.

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%, so the schema already documents both parameters fully. The description's id flexibility note is already reflected in the schema's anyOf for integer/string and the 'numeric for all currently mapped resources' text. The description adds little semantic value beyond what the structured schema provides.

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 tool gets a single record from any mapped FreshBooks accounting resource by name and id. The word 'any' plus the resource-and-id framing distinguishes it from the many specific sibling getters like get_invoice or get_client. This is a specific verb + resource with clear scope.

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?

The description implies usage when you know the resource name and record id, and the generic 'any resource' phrasing suggests it is the fallback across the enum of resources. However, it does not explicitly say when to prefer this over the dedicated get_* siblings or list_records, nor does it mention any exclusions.

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