Skip to main content
Glama

Switchbooks

Search and Review Transactions

manage_transactions
Read-onlyIdempotent

Search the active company's transactions, summarize bookkeeping activity, or request categorization suggestions. Filter by account, category, payee, description, amount, transaction reference, date, or state (pending, posted, or all). Use YYYY-MM-DD dates and offset for pagination. To review the whole company, use state=all without filters. Suggestions do not apply changes. Set action to one of: list, review, suggest.

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_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
byNo
refNo
setNo
whyNo
dateNo
classNo
itemsNo
linesNo
matchNo
payeeNo
readyNo
stateNopending = To Review (unposted)
actionNo
amountNo
dryRunNo
offsetNo
accountNo
companyNoCompany for this call only: its ID, exact name, or a unique part of the name. Leave out to use the active company.
confirmNo
endDateNo
categoryNo
scheduleNo
candidateNo
directionNo
maxAmountNo
minAmountNo
startDateNo
suggestionNo
descriptionNo
suggestionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / ready
      Added value: +{
      +  "type": "boolean"
      +}
  2. Changed6 schema fields changed
    • changedInput schema / properties / items / items / properties / amount / type
      Previous value: -"number"New value: +"string"
    • addedInput schema / properties / items / items / properties / lines
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "amount": {
      +        "type": "string"
      +      },
      +      "category": {
      +        "type": "string"
      +      },
      +      "class": {
      +        "type": "string"
      +      },
      +      "memo": {
      +        "type": "string"
      +      },
      +      "payee": {
      +        "type": "string"
      +      },
      +      "rest": {
      +        "type": "boolean"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / lines / items / properties / amount / type
      Previous value: -"number"New value: +"string"
    • addedInput schema / properties / lines / items / properties / rest
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / schedule
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / why
      Added value: +{
      +  "type": "string"
      +}
  3. Changed4 schema fields changed
    • addedInput schema / properties / class
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / items / items / properties / class
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / lines / items / properties / class
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / set / properties / class
      Added value: +{
      +  "type": "string"
      +}
  4. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and the description correctly reinforces this with 'Suggestions do not apply changes'. But the schema exposes set, items, lines, match, ready, confirm, and dryRun, which strongly imply a write/apply path the description never mentions — leaving the agent unable to reconcile the read-only framing with those fields.

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?

Four tight sentences with no filler, and the filter/date/pagination rules are stated compactly. The one structural flaw is that the action enum (list, review, suggest) — the single most routing-critical fact — is buried in the final clause instead of being front-loaded.

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

Completeness2/5

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

For a 30-parameter tool with nested objects, no output schema, and 7% schema coverage, this description is far too thin. It never explains the mutating-looking parameters or what the tool returns for each of the three actions, so an agent could easily invoke it incorrectly.

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

Parameters2/5

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

Schema description coverage is only 7%, so the description must carry the burden and does not. It explains roughly ten of thirty parameters (account, category, payee, description, amount, ref, date, state, offset, action) and is silent on set, items, lines, match, ready, confirm, dryRun, why, by, direction, minAmount/maxAmount, startDate/endDate, schedule, candidate, and suggestion(s), including the nested object shapes.

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 resource (the active company's transactions) and three distinct modes: search, summarize, and request categorization suggestions, with a concrete filter list. It does not name any sibling (e.g. manage_journal_entries, manage_changes) as an alternative, so differentiation must be inferred from the word 'transactions'.

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 one useful usage rule — 'To review the whole company, use state=all without filters' — and clarifies that suggestions are non-mutating. However, it never explains when to pick action=list versus review versus suggest, and never routes the agent to a sibling tool for journal entries, rules, or changes.

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.