commission-cashflow-ledger
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LEDGER_CONFIG | No | Path to the YAML config file. Overridden by --config. | |
| LEDGER_DATA_DIR | No | Data directory. Precedence: CLI data directory → LEDGER_DATA_DIR → YAML setting → ./data. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| add_receiptB | Write one actual customer collection in major currency units; use an idempotency key for retries. This does not record personal cash income. |
| get_commission_summaryA | Read current-rule commission accruals for YYYY-MM or all periods. Does not persist recalculation or imply payment. |
| get_cashflow_forecastB | Read monthly actual cash and projected cash. Scenarios are optimistic/base/conservative. Opening balance applies before start month. |
| list_alertsC | Read upcoming 30-day collections, overdue installments, and negative projected balances. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| rules | Read the local current YAML commission rules. |
TDQS
Scored across 4 tools
Each tool has a clear action and object: one write path (add_receipt) and three read paths covering commission accruals, cashflow forecast, and alerts. The only mild overlap is between get_cashflow_forecast and list_alerts, since negative projected balances appear conceptually in both, but the descriptions make the boundary readable.
All names follow a consistent snake_case verb_noun pattern (add_receipt, get_commission_summary, get_cashflow_forecast, list_alerts). Verb choice maps predictably to intent: add for writes, get for single-object reads, list for collections.
Four tools is on the lean side but each covers a distinct facet of the ledger (write, accrual read, forecast read, alert read), so none feels redundant. It sits slightly under what the domain likely needs, keeping it just short of a full score.
The surface is write-once with no read-back of individual receipts, no list_receipts, and no update/delete or correction path for wrongly entered collections — a notable gap for a ledger where reversals matter. Read coverage of commissions, forecasts, and alerts is good, but the receipt lifecycle is incomplete.