Skip to main content
Glama

CashCtrl MCP by usefulapi

Create a journal entry

cashctrl_create_journal_entry
Destructive

WRITE: changes the accounting records. Makes one request that is never repeated; check the result before trying again. Creates a manual book entry in the journal. Either a simple entry (debit_account_id, credit_account_id, amount) or a collective entry (items, whose debit and credit sums must match). POST /journal/create.json.

Input Schema

NameRequiredDescriptionDefault
dateNoBooking date, yyyy-mm-dd (CashCtrl uses today when omitted).
itemsNoLines of a collective entry. Use it instead of debit_account_id, credit_account_id and amount.
titleYesDescription of the entry (max 250 characters).
amountNoAmount of a simple entry, for example 125.50.
tax_idNoTax code id of a simple entry (cashctrl_list_tax_codes).
referenceNoReceipt or reference text (max 100).
associate_idNoThe person this entry belongs to (cashctrl_list_persons).
debit_account_idNoDebit account id (cashctrl_list_accounts). For a simple entry.
credit_account_idNoCredit account id (cashctrl_list_accounts). For a simple entry.
sequence_number_idNoSequence number that generates the reference (cashctrl_list_sequence_numbers).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The destructiveHint annotation already flags this as a write, but the description adds genuinely non-obvious behavioral context: 'WRITE: changes the accounting records' plus the idempotency warning 'Makes one request that is never repeated; check the result before trying again'. That retry/safety guidance is exactly what an agent needs for a non-idempotent mutation and is not derivable from the annotation.

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 compact sentences, front-loaded with the WRITE prefix and the retry warning before the purpose statement. Every sentence carries information, though the ordering puts safety guidance ahead of what the tool actually does, which slightly slows comprehension.

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?

With 100% schema coverage and an existing destructiveHint annotation, the remaining burdens are mode selection and mutation safety, both of which the description covers. No output schema exists, so the absence of return-value documentation is not a gap.

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 coverage is 100%, so the baseline is 3; the description adds the mutual-exclusivity rule between the simple and collective parameter sets and the 'debit and credit sums must match' validation constraint, which is not encoded anywhere in the schema. It is a modest but real increment over the structured fields.

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?

States a specific verb and resource ('Creates a manual book entry in the journal') and even names the endpoint (POST /journal/create.json), which no sibling shares. An agent can immediately distinguish it from cashctrl_create_order and cashctrl_create_person.

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?

Explicitly lays out the two supported modes ('Either a simple entry (debit_account_id, credit_account_id, amount) or a collective entry (items, whose debit and credit sums must match)'), which is real selection guidance. It stops short of naming when-not or pointing at sibling alternatives (e.g. update/delete journal entries), so it does not reach 5.

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.