Skip to main content
Glama
Zenskar MCP Server

Zenskar MCP Server

Official
by zenskar

createJournalEntry

createJournalEntry

Create a manual journal entry with debit and credit lines, including currency, posting date, status, and metadata for Zenskar accounting records.

Instructions

Create a new manual journal entry with debit and credit lines.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "description": "<description>",
      "currency": "<currency>",
      "journal_lines": "<journal_lines>"
    },
    "name": "createJournalEntry"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyYesThree-letter ISO 4217 currency code (e.g., 'USD', 'EUR', 'GBP').
posted_atNoPosting date of the journal entry in ISO 8601 format (e.g., '2026-01-15T00:00:00').
custom_dataNoAdditional metadata as key-value pairs.
descriptionYesDescription/memo for the journal entry.
status_typeNoJournal entry status (default: 'posted').posted
__userContextNoInternal user context for multi-tenant authentication and approval workflow
journal_linesYesArray of journal lines. Each line requires: {account_id, debits, credits, currency}. Use 'debits' and 'credits' (plural), as integers in cents. Example: [{account_id:'...', debits:10000, credits:0, currency:'USD'}, {account_id:'...', debits:0, credits:10000, currency:'USD'}]. Optional tags: customer_id, contract_id, invoice_id, custom_tags.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.4.2
    • changedInput schema / properties / journal_lines / description
      Previous value: -"Array of journal lines. Each line requires: {account_id, debits, credits, currency}. Use 'debits' and 'credits' (plural, integers in cents). Example: [{account_id:'...', debits:10000, credits:0, currency:'USD'}, {account_id:'...', debits:0, credits:10000, currency:'USD'}]. Optional tags: customer_id, contract_id, invoice_id, custom_tags."New value: +"Array of journal lines. Each line requires: {account_id, debits, credits, currency}. Use 'debits' and 'credits' (plural), as integers in cents. Example: [{account_id:'...', debits:10000, credits:0, currency:'USD'}, {account_id:'...', debits:0, credits:10000, currency:'USD'}]. Optional tags: customer_id, contract_id, invoice_id, custom_tags."
  2. First observedv2.2.4

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden for a mutation tool. It omits that the default status_type of 'posted' makes the entry effective on the ledger right away, whether entries can be reversed or edited afterwards, and whether approval is required, despite the schema carrying an approval block in __userContext. One sentence cannot cover the behavioral risk of a financial write.

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 single sentence is front-loaded and free of padding, so it is not verbose. However, brevity here reads as under-specification rather than tightness, since there was room to state the balancing rule and posting behavior within the same length budget.

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?

With seven parameters, a required nested line array, no annotations, and no output schema, this definition should say considerably more. An agent cannot tell from the description what makes a valid entry, what the response contains, or what happens on failure, leaving the riskiest aspects of the call undocumented.

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 coverage is 100%, and the journal_lines schema description already supplies the field names, the integer-cents convention, and a worked debit/credit example, so the description adds nothing beyond the structured fields. A 3 baseline is appropriate when the schema does the heavy lifting, particularly given the nested-array complexity.

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 gives a specific verb and resource ("Create a new manual journal entry") and names the key structural feature (debit and credit lines), which separates it from the many other create* siblings on other resources. It stops short of explicitly contrasting itself with related tools like createInvoiceCharge or createPayment, but the resource itself is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives, and no preconditions are stated. Nothing tells the agent that lines must balance, that the entry posts immediately by default, or when a manual entry is preferable to a document-generated one.

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

Deploy Server

Other Tools