Skip to main content
Glama
Beankeeper

Beankeeper

Official

ledger_setup_opening_post

Submit a balanced opening journal to start a company's double-entry books. Direct grants post and return a setup receipt; propose-only grants return a pending proposal ID for approval.

Instructions

Submit a balanced opening journal. Direct grants post and return a setup receipt. Propose-only grants return a pending proposal ID for an approver. Reuse the reference for exact retries.

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": {
      "reference": "<reference>",
      "company": "<company>",
      "date": "<date>",
      "currency": "<currency>",
      "debits": "<debits>",
      "credits": "<credits>"
    },
    "name": "ledger_setup_opening_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYes
debitsYes
companyYes
creditsYes
currencyYesA three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.
referenceYes
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=false, so the description carries most of the burden, and it does add the key branching: two distinct outcome shapes (setup receipt vs. pending proposal ID) depending on grant type. However, it omits permission requirements, whether an unposted proposal can be withdrawn, and any failure behavior for an unbalanced journal on a mutation tool that permanently alters the ledger.

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 short sentences, front-loaded with purpose and followed by the divergent outcomes and the retry rule; nothing is padding. The telegraphic 'Direct grants post' phrasing briefly obscures what kind of grants are meant, which is the only friction.

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?

For a 7-parameter mutation tool with no output schema, the description covers purpose, outcome shapes, and retry semantics, which is the core an agent needs to call it safely. Prerequisites for a 'setup'-namespaced tool and the contents of the setup receipt are the notable remaining gaps.

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 description coverage is only 14%, so the description should compensate, and it does add two things the schema cannot express: the cross-field balance requirement between debits and credits, and the meaning of 'reference' as an idempotency key for exact retries. It leaves company, date, currency, description, and the memo field entirely undescribed, so roughly half the payload semantics remain in neither place.

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 opens with a specific verb and resource ('Submit a balanced opening journal'), which clearly separates this from the account/book/chart setup siblings and from the generic 'txn_post'/'bank_feed_post' family. It does not name an alternative tool outright, but the 'opening journal' framing is distinctive enough that an agent can place it without opening the schema.

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?

The description gives concrete operational guidance: direct grants post immediately, propose-only grants return a pending proposal ID, and the same reference should be reused for exact retries. That is real when/how guidance plus an idempotency rule most tools omit, though it never states prerequisites (e.g. whether the book/chart must already be initialized) or what to do when the journal is unbalanced.

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