Skip to main content
Glama

Bookings of the balance

geg_ledger
Read-onlyIdempotent

Lists meal account balance bookings for a date range, default last 30 days and max 366, newest first, with time, amount, kind, text, meal line/day/child, and returns the balance.

Instructions

Lists the bookings of the balance in a period, by default the last 30 days, newest first: time, amount, kind (meal, payment, other), the text and for a meal its line, day and child. Also returns the balance. At most 366 days.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "geg_ledger"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoThe last day. Default today.
fromNoThe first day, like `2026-11-01`. Default 30 days before `to`.

Output Schema

NameRequiredDescriptionDefault
toYes
fromYes
balanceYes
entriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, open-world behavior, so the bar is lower. The description still adds genuine context beyond them: the default 30-day lookback, newest-first ordering, the exact fields returned, and the 366-day hard limit. It does not mention permissions, date/timezone semantics, or pagination for large windows, which are the remaining gaps.

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?

A single tight sentence with the core action front-loaded, followed by a colon-delimited field enumeration. No filler or redundant restatement of the title. The phrase "for a meal its line, day and child" is slightly compressed but still parseable.

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?

Given a read-only list tool with a fully documented two-parameter schema and an output schema that defines the return shape, the description covers what an agent needs: defaults, ordering, field meanings, and the range limit. Only edge details such as what happens on an empty range or how the 366-day cap is enforced are absent.

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 coverage is 100% and both parameters already document their defaults and an example format, so the schema does the heavy lifting. The description restates the effective default window (30 days back from `to`) and adds the 366-day cap on the range, but supplies no new syntax or format guidance. Baseline 3 is appropriate under high coverage.

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?

Opens with a specific verb and resource ("Lists the bookings of the balance in a period") and immediately characterizes the result set: default window, ordering, and returned fields (time, amount, kind, text, line/day/child). This is far stronger than a restatement of the name. It does not explicitly contrast itself with siblings such as geg_account or geg_invoices, which keeps it just 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 implied rather than stated: the agent can infer this is the way to read balance history over a window. The "At most 366 days" cap hints that longer ranges need another approach but no alternative tool is named. There are no explicit when-to-use or when-not-to-use statements.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.