Skip to main content
Glama

Octobooks

Propose accruals

accruals_propose

Propose month-end accruals for a period (YYYY-MM). Without items: the open suggestions of the accruals report (take: a list of their references, to choose some). With items: accruals stated, each {account, amount, what_for}. Each accrual becomes one entry on the last day of the period (expense against the accrual account) and its mirror on the opening day of the next. Without VAT. It is booked on release, all of it or none: by the connected AI where the owner's switches allow it, otherwise by the owner on the approval page. what=journal proposes stated journals (items: each {journal_date, narration, lines: [{account, side, amount, memo, cost_centre, project, channel, party}], reverse_on}; reverse_on, a later day, adds the entry that takes it back on that day). withdraw=true with pending_action_id withdraws a proposal of this connection. what=exchange posts the currency revaluation of the period: foreign currency bank accounts, debtors, creditors and loans (the fx_revaluation report shows them; take: their references), one entry per account and currency on the last day of the period against the exchange gains or losses account, reversed on the opening day of the next period (reverse=false keeps it); rates ({"EUR": "1.1525"}) the company's own closing rate per currency: one unit in the books' currency (0.8677 for one euro); the units to one of the books' (1.1525) is read too where the rate on file sets the two apart, not near parity or without one; else the rate on file. rate_read in the answer says each rate as read.

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": {
      "period": "<period>",
      "reason": "<reason>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "accruals_propose"
  }
}

Input Schema

NameRequiredDescriptionDefault
takeNo
whatNoaccruals
itemsNo
ratesNo
periodYes
reasonYes
companyNo
reverseNo
withdrawNo
accrual_accountNo
idempotency_keyYes
pending_action_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / rates
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Rates"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the approval and booking workflow ('booked on release, all of it or none'), whether booking is done by the connected AI or the owner, reversal behavior for accruals and exchange entries, VAT exclusion, withdrawal semantics, and rate handling. These are material behavioral details not present in the annotations.

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 purpose is front-loaded, but the description becomes a dense run-on covering multiple modes with semicolons and parentheses. It contains little wasted fluff, yet the structure makes it hard to scan and parse quickly.

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

Completeness3/5

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

This is a complex 12-parameter, multi-mode tool, and the description covers the main workflows and booking behavior. However, several parameters and edge cases remain unexplained, and the dense presentation reduces completeness for an agent trying to invoke it correctly.

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?

With 0% schema description coverage across 12 parameters, the description compensates for several key inputs: period format, take references, items shapes for accruals and journals, rates format and fallback behavior, withdraw, and pending_action_id. It does not explain reason, company, idempotency_key, or accrual_account as parameters, and reverse is only partially covered in the exchange context.

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 first sentence states a specific verb and resource: 'Propose month-end accruals for a period (YYYY-MM).' It also distinguishes proposal from booking by referencing release. However, it does not explicitly differentiate this tool from siblings such as depreciation_propose, year_end_propose, or propose_batch.

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 clear mode-selection guidance: without items uses open suggestions, with items states accruals, what=journal proposes journals, what=exchange posts FX revaluation, and withdraw=true withdraws a pending proposal. It lacks explicit when-not-to-use guidance or named alternative tools.

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.

Resources