Skip to main content
Glama

Multi Books

Create a journal

journals_create

Create a journal in one company's books, its entries balancing to zero, and answer it whole with its entries: a FreeAgent company's by the names journals_list answers a FreeAgent journal with, a Xero organisation's as a manual journal by Xero's own - posted where Status POSTED is given, a draft otherwise. A Zoho Books organisation's by Zoho's own names, each line a debit or a credit against its account by account_id - published where status published is given, a draft where draft is. A QuickBooks company's as a journal entry by QuickBooks' own names, each line a Debit or Credit against its account by AccountRef, posted to the books when created, QuickBooks keeping no draft. On Zoho Books the organisation's own workflow rules in Zoho may still email on any write. Each call is one write, sent to the company's program once - to FreeAgent, or to Xero under a request key of its own, so Xero never takes it twice. A Zoho Books organisation's write goes to Zoho Books, which takes no request key. One given in another program's names, or naming an id of another program's form, is not_written with reason refused, nothing sent; one Xero keeps from the person's Xero role, with reason xero_role. A company set to read only refuses it before its program is asked, and so do words that screen as a prompt attack. outcome is written with the record; not_written with reason and, where its program refused it, what it said; or unknown where its answer never came and reading the books back could not tell, found naming every identical new record where two were made and none where that read itself failed. A write whose answer never came is settled by reading the books back, never sent again. Where the screening holds back its program's words in the answer, the outcome and each record's id stand, marked withheld with why. A QuickBooks company's write goes to QuickBooks under a request key of its own, so QuickBooks never takes it twice.

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": {
      "company": "<company>",
      "journal": "<journal>"
    },
    "name": "journals_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyYesThe id companies_list gives the company.
journalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false, destructiveHint=false, and openWorldHint=false; the description adds substantial behavior: per-provider draft versus posted handling, Xero and QuickBooks request-key idempotency, Zoho workflow emails, read-only and prompt-screening refusals, and written/not_written/unknown outcomes.

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

Conciseness2/5

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

The definition is a single sprawling paragraph with repeated idempotency and outcome wording rather than a structured provider summary. The purpose is front-loaded, but the length and run-on construction make it hard to scan, so it is not appropriately concise.

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

Completeness4/5

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

Because there is no output schema, the description correctly explains outcome values (written, not_written, unknown) and duplicate-detection behavior. It also covers provider-specific shape selection and key failure modes, though the delivery is diffuse enough that an agent may need to reread it.

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?

The description repeats provider-specific journal shapes and balanced-entry constraints that are largely present in the anyOf schema branches. It does clarify that the journal argument must use the names journals_list returns for that provider and that Zoho uses account_id while QuickBooks uses AccountRef, but with 50% schema coverage the field-level semantics are only partially compensated.

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 opening clause, 'Create a journal in one company's books', gives a clear verb and resource and notes the accounting invariant that entries balance to zero. It does not distinguish this from journals_update or journals_list, and the rest of the description is provider-specific mechanics rather than purpose differentiation.

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?

The description never names journals_update, journals_get, or journals_list as alternatives, nor does it say when to create versus update. It supplies provider-specific formatting and failure conditions such as read-only refusal, wrong-program names, and duplicate avoidance, but that is invocation detail rather than when-to-use guidance.

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.