Skip to main content
Glama

Switchbooks

Search Journal Entries

manage_journal_entries
Read-onlyIdempotent

Find journal entries in the active company and inspect their accounting lines. Filter by entry reference, name, account, or a date range using YYYY-MM-DD dates. Use offset to continue a paginated list. Journal entries are separate from bank and credit card transactions. Set action to one of: list.

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

Input Schema

NameRequiredDescriptionDefault
refNo
dateNo
fileNo
kindNo
memoNo
nameNo
rateNo
linesNo
namesNo
payeeNo
actionNo
amountNo
dryRunNo
methodNo
monthsNo
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
entriesNo
newNameNo
paymentNo
categoryNo
maxAmountNo
minAmountNo
startDateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • addedInput schema / properties / amount
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / category
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / entries / items / properties / amount
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / entries / items / properties / lines / items / properties / credit / type
      Previous value: -"number"New value: +"string"
    • changedInput schema / properties / entries / items / properties / lines / items / properties / debit / type
      Previous value: -"number"New value: +"string"
    • addedInput schema / properties / entries / items / properties / lines / items / properties / rest
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / entries / items / properties / reverseOn
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / file
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / kind
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / lines / items / properties / credit / type
      Previous value: -"number"New value: +"string"
    • changedInput schema / properties / lines / items / properties / debit / type
      Previous value: -"number"New value: +"string"
    • addedInput schema / properties / lines / items / properties / rest
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / method
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / months
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / payment
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / rate
      Added value: +{
      +  "type": "number"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / entries / items / properties / lines / items / properties / class
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / lines / items / properties / class
      Added value: +{
      +  "type": "string"
      +}
  3. First observed

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=false, so the safety profile is covered. The description adds useful behavioral context about filtering, YYYY-MM-DD date format, offset pagination, and that accounting lines can be inspected, but it does not disclose return format or pagination limits.

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?

The description is front-loaded with the core purpose, then filters and pagination, and is generally efficient. The final sentence 'Set action to one of: list' is slightly redundant given the single enum value and the tool's list-only nature, but it does clarify the action parameter.

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?

The tool has 27 parameters with almost no schema documentation and no output schema, while the description only covers a subset of the supported search fields. It does not explain why write-oriented parameters like dryRun, confirm, entries, or newName exist in a read-only list tool, so an agent lacks enough context to confidently construct a call.

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 4%, so the description must compensate for 27 parameters. It explains filters for reference, name, account, and date range (with date format) plus offset and action, but leaves many parameters—dryRun, confirm, entries, lines, newName, amount, payment, category, and others—entirely unexplained, creating ambiguity about which parameters are relevant for the list action.

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 states a specific verb ('Find') and resource ('journal entries'), specifies the active company, and notes that entries are separate from bank and credit card transactions. This clearly differentiates the tool from transaction management, though the 'manage_' name creates slight friction with the list-only action.

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 when to use the tool for finding journal entries and explicitly separates them from bank/credit card transactions. However, it gives no explicit when-not guidance or mentions sibling tools like manage_transactions, and the 'Set action to one of: list' line only confirms the sole supported action rather than clarifying alternatives.

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.