Skip to main content
Glama
Beankeeper

Beankeeper

Official

fx_post

Record a native-currency movement and its converted functional value in a balanced double-entry posting, returning a receipt for audit undo.

Instructions

Record a native currency movement and its functional value in a balanced posting. Provide positive native minor units, the target line direction, decimal rate, and a unique reference. Returns a receipt for audit_undo.

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>",
      "account": "<account>",
      "offset_account": "<offset_account>",
      "direction": "<direction>",
      "native_minor": "<native_minor>",
      "rate": "<rate>",
      "date": "<date>",
      "description": "<description>",
      "reference": "<reference>"
    },
    "name": "fx_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesA real calendar date. Text input accepts the CLI's legacy unpadded dates.
rateYesPositive decimal functional major units per native major unit, e.g. 0.85
accountYes
companyYes
directionYes
referenceYes
descriptionYes
native_minorYes
offset_accountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior4/5

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

The single annotation (readOnlyHint=false) only says this writes; the description adds real behavioral context beyond it — the posting is balanced (two-sided), native amounts must be positive minor units, the reference must be unique, and the call returns a receipt that feeds audit_undo. It stops short of stating permission requirements, irreversibility, or rounding behavior, so it is not a 5.

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?

Three short sentences, front-loaded with the action and scope, then the input contract, then the return value. No filler; a slight deduction for jargon such as 'native currency movement' and 'functional value' that could be stated more plainly for an agent.

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?

For a 9-required-parameter write operation with 22% schema coverage and no output schema, the description is adequate but not complete: it covers the value/rate/direction contract and names the return artifact, yet says nothing about how the offset_account side is derived, error/validation behavior, or idempotency of the 'unique reference'.

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 22% across 9 required parameters, so the description has to compensate. It does add meaning for four of them ('positive native minor units', 'target line direction', 'decimal rate', 'unique reference'), but leaves account, offset_account, company, and description unexplained — notably offset_account, the counterparty side of the 'balanced posting', which is the most consequential undocumented field.

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?

Uses a specific verb ('Record') and a precise resource ('a native currency movement and its functional value in a balanced posting'), so an agent knows this creates a double-entry FX posting rather than revaluing one. It does not explicitly name the closest sibling (fx_revalue) or txn_post to draw the boundary, which keeps it short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied by the nature of the operation: an agent can infer this is the tool for entering an FX movement with its functional-currency counterpart. There is no explicit when-to-use/when-not guidance and no pointer to fx_revalue for revaluation or audit_undo for reversal, so the agent must infer the choice.

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