Skip to main content
Glama

Record a payment

record_payment

Record that one person paid another back, settling part or all of a debt. Use get_split first to see who should pay whom. Works on simple, accountless splits. Secure splits (created by a signed-in user) are read-only here and must be opened in a browser.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesWho received it — a participant's name (or id) in this split.
dateNoDate as YYYY-MM-DD. Defaults to today.
fromYesWho sent the money — a participant's name (or id) in this split.
splitYesThe split key, or the whole https://split.xuper.fun/k/<key> link.
amountYesAmount in the split's currency, as a decimal (e.g. 249.50).
descriptionNoHow it was paid, e.g. "Swish, 3 March". Shown in the history.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
urlYes
titleYes
secureYes
entriesYes
settledYes
currencyYes
created_atYes
settlementYes
total_spentYes
participantsYes

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint=false and destructiveHint=false, so the basic write/safety profile is covered. The description adds meaningful behavioral context: it works only on simple accountless splits, and secure splits are read-only (a key constraint). It does not elaborate on reversibility or other side effects, but for a payment-recording tool with annotations present, the added constraint context justifies a 4.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, zero filler. It front-loads the core purpose, then the workflow hint, then the critical constraint. Every sentence earns its place with actionable information.

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?

For a mutate-tool with full schema coverage, an output schema, and rich annotations, the description covers the essential points: what it does, the prerequisite workflow, the split-type constraint, and when it isn't applicable. The return value is handled by the output schema. Complex enough with 6 parameters, but schema + description together are sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds value by conveying the payment direction semantics ('who sent the money' vs 'who received it') and by clarifying the split types each field applies to. However, most parameter meaning is already well-documented in the schema's per-field descriptions, so the description's marginal parameter contribution is modest — a 4 reflects the useful direction-of-payment framing.

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?

The description uses a specific verb+resource combination ('Record that one person paid another back, settling part or all of a debt') and clearly distinguishes from siblings by noting it works on simple, accountless splits while secure splits are read-only. It names a sibling ('get_split') to clarify workflow context.

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

Usage Guidelines5/5

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

Provides explicit when-to-use guidance: 'Use get_split first to see who should pay whom' explains the prerequisite workflow. It also gives explicit exclusions — secure splits are read-only here and must be opened in a browser — which prevents misuse on the wrong split type. This is exemplary usage 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.

TDQS

A4.2/5.0
Disambiguation4/5

Most tools are clearly distinct by resource and action (expense vs participant vs split vs payment). Minor ambiguity exists between update_entry and record_payment, since both modify existing entries, though their purposes (re-editing vs settlement) are documented. add_expense and record_payment could overlap conceptually since both record money movement, but descriptions clarify each.

Naming Consistency5/5

All 11 tools follow a clean verb_noun pattern: add_expense, add_participant, create_split, delete_entry, get_split, record_payment, remove_participant, rename_participant, set_payment_methods, update_entry, update_split. The convention is fully consistent with no mixed styles or vague verbs.

Tool Count5/5

11 tools is well within the ideal 3-15 range, and each earns its place by mapping to a distinct lifecycle operation across splits, participants, entries, and payments. The count is appropriately scoped for an expense-splitting domain and matched to the feature set described.

Completeness4/5

The surface covers the core lifecycle well: create/read/update for splits, add/remove/rename participants, and add/delete/update entries plus payment recording and settlement. The main gap is the explicit write operations only work on simple/accountless splits while secure splits are read-only, but that's a documented constraint rather than a missing tool. A dedicated 'duplicate_split' or 'list_splits' would be nice but isn't critical for the modeled flow.