Skip to main content
Glama

BookingKoala MCP Server and API by Cotlet

List charges

list_charges
Read-onlyIdempotent

Charged bookings with their payments and refunds, as the Charges page lists them. Returns bookings that were charged, newest first, each with its payments: the booking charge, extras, tips, fees and refunds, with amount, tax, refunded amount and card. Filter by booking day and search by customer. BookingKoala gives no total: next_cursor is set while a full page comes back. booking_id and payment_log_id go to refund_charge. Empty until the store charges through a connected payment processor or marks bookings paid in cash.

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": "list_charges"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo1 to 100. Default: 20.
cursorNonext_cursor from the previous call.
searchNoCustomer name, email or phone, or a booking id.
end_dateNoLast booking day, YYYY-MM-DD. Default: no upper bound.
start_dateNoFirst booking day, YYYY-MM-DD. Default: no lower bound.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare a safe, idempotent read; the description adds ordering (newest first), the explicit absence of a total, and the pagination rule that next_cursor is set while a full page returns. The empty-state explanation is behavior an agent could not infer from schema or annotations.

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?

Front-loaded with what is returned and dense with useful facts, with no filler sentences. It is somewhat crammed into run-on clauses (e.g. the 'BookingKoala gives no total' phrasing), which slightly hinders scanability.

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

Completeness5/5

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

With no output schema, the description still conveys the return shape — per-booking payment entries with amount, tax, refunded amount and card — plus ordering, pagination and empty-state conditions. Nothing essential for correct invocation is missing.

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%, so limit, cursor, search and the date bounds are already documented; the description only restates 'filter by booking day and search by customer'. The pairing of booking_id/payment_log_id with refund_charge is the one bit of added meaning, but it is not tied explicitly to the search parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — charged bookings with their payments and refunds — and anchors it to the Charges page concept, which separates it from list_bookings and list_invoices. It also names the follow-up tool (refund_charge) for the identifiers it returns.

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?

Gives the prerequisite that makes the tool non-empty (a connected processor or cash-marked bookings) and routes the agent to refund_charge when it has a booking_id or payment_log_id. It stops short of explicitly contrasting with list_bookings/list_invoices for a given task, so it is clear context rather than full when/when-not guidance.

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.