Skip to main content
Glama

Switchbooks

Read Financial Reports

manage_reports
Read-onlyIdempotent

Read profit and loss (pnl), balance sheet (balanceSheet), cash flow (cashFlow), and trial balance (trialBalance, as of endDate) reports for the active company. Inspect supporting entries and totals, compare periods, summarize spending by payee, or generate forecasts. For an account ledger, use details with category set to the account name. For a P&L by company, read pnl with companies: one column per company and a Total. The transactions, journalEntries, uncategorized, and generalLedger report values are spreadsheet exports, made in the Switchbooks web app. Dates use YYYY-MM-DD. Set action to one of: read, details, forecast.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "manage_reports"
  }
}

Input Schema

NameRequiredDescriptionDefault
byNo
fileNo
refsNo
monthNo
payeeNo
actionNo
metricNo
monthsNo
offsetNo
reportNo
classesNo
companyNoCompany for this call only: its ID, exact name, or a unique part of the name. Leave out to use the active company.
compareNo
displayNo
endDateNo
categoryNo
companiesNo
startDateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / report / enum
      Previous value: -[
      -  "pnl",
      -  "balanceSheet",
      -  "cashFlow",
      -  "trialBalance",
      -  "generalLedger",
      -  "repeats"
      -]New value: +[
      +  "pnl",
      +  "balanceSheet",
      +  "cashFlow",
      +  "trialBalance",
      +  "generalLedger",
      +  "repeats",
      +  "1099"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / by / enum
      Previous value: -[
      -  "payee",
      -  "month",
      -  "quarter",
      -  "year",
      -  "class"
      -]New value: +[
      +  "payee",
      +  "month",
      +  "quarter",
      +  "year",
      +  "class",
      +  "classMonth",
      +  "classQuarter",
      +  "classYear"
      +]
  3. Changed2 schema fields changed
    • changedInput schema / properties / by / enum
      Previous value: -[
      -  "payee",
      -  "month",
      -  "quarter",
      -  "year"
      -]New value: +[
      +  "payee",
      +  "month",
      +  "quarter",
      +  "year",
      +  "class"
      +]
    • addedInput schema / properties / classes
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / companies
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  5. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description still adds genuinely new context: that certain report values are spreadsheet exports produced in the Switchbooks web app, that trialBalance is as-of endDate, and that dates use YYYY-MM-DD. It does not explain what the file/refs parameters do or how large exports behave, but it clears the lower bar set by the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and most sentences carry information, but the middle degrades into stacked clauses ('Inspect supporting entries and totals, compare periods, summarize spending by payee, or generate forecasts') and the spreadsheet-export sentence is awkwardly placed. The mention of report values that are absent from the enum adds ambiguity rather than clarity.

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

Completeness3/5

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

For a complex, multi-mode tool with 18 optional parameters and no output schema, the description covers the core workflow well enough to make a first call, including date format and report/action vocabulary. It nonetheless leaves most optional parameters unexplained and does not describe what a read versus details versus forecast response looks like, so an agent can start but not fully exploit the tool.

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?

With 18 parameters and only ~6% schema description coverage, the description carries most of the burden and does explain the highest-value ones: the action modes (read/details/forecast), the report values, category for details, companies for multi-column P&L, and endDate for trialBalance. That leaves roughly a dozen parameters (by, file, refs, month, payee, metric, months, offset, classes, compare, display, startDate) with no meaning beyond their names, and it confusingly references report values such as transactions/journalEntries/uncategorized that are not in the report enum.

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?

The description names a specific verb ('Read') and enumerates the exact resources with the enum values an agent must pass ('pnl', 'balanceSheet', 'cashFlow', 'trialBalance'), which is far more than a restatement of the name. It partially separates itself from siblings by noting that report values like transactions/journalEntries/generalLedger are spreadsheet exports rather than live data, implying a distinction from manage_transactions. It stops short of explicitly contrasting with books_glance or manage_journal_entries.

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 gives useful intra-tool routing ('For an account ledger, use details with category set to the account name', 'For a P&L by company, read pnl with companies') and lists the valid action modes. However, it offers no guidance on when to choose this tool over siblings like books_glance or manage_transactions, and no explicit exclusions.

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.