Skip to main content
Glama
commission-cashflow-ledger

commission-cashflow-ledger

by GuoHaoyu1688

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LEDGER_CONFIGNoPath to the YAML config file. Overridden by --config.
LEDGER_DATA_DIRNoData 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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
rulesRead the local current YAML commission rules.

TDQS

B3.4/5.0

Scored across 4 tools

Disambiguation4/5

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.

Naming Consistency5/5

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.

Tool Count4/5

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.

Completeness3/5

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.

Maintenance

ActivitySlowing
ResponsivenessNo recent community issues