Skip to main content
Glama
sarathfrancis90

splitwise-mcp

settle_up

Record a payment between users to settle debts in Splitwise by specifying payer, recipient, amount, and currency.

Instructions

Record a payment from one user to another, settling part of their balance.

Exactly one of from_user_id/from_user_name and one of to_user_id/ to_user_name must be given for each side, resolved against the settling group's members (if group_id/group_name given) or against the authenticated user plus their friends.

Splitwise represents a cash payment as an expense with a payment flag so its UI shows a distinct "paid" icon rather than a shared cost; SplitwiseClient.create_expense does not expose that flag, so this records the settlement as an ordinary expense where from_user_id owes nothing and paid the full amount while to_user_id owes the full amount and paid nothing. The balance effect is identical to a true payment, but Splitwise's UI will display it like a regular expense.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoDate the payment occurred. Defaults to now. A value with no timezone is treated as UTC.
amountYesAmount being paid.
group_idNoId of the group this payment settles within.
group_nameNoName (or partial name) of the group this payment settles within.
to_user_idNoId of the user receiving the payment.
from_user_idNoId of the user making the payment.
to_user_nameNoName (or partial name) of the user receiving the payment.
currency_codeYesISO 4217 currency code, e.g. 'USD'.
from_user_nameNoName (or partial name) of the user making the payment.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesSplitwise's numeric id for this expense.
costYesTotal cost of the expense, in currency_code units.
dateYesDate and time the expense occurred.
splitsNoPer-participant owed and paid shares for this expense.
deletedNoWhether this expense has been soft-deleted in Splitwise.
categoryNoCategory assigned to this expense, if any.
group_idNoId of the group this expense belongs to, if any.
descriptionYesShort human-readable description of the expense.
currency_codeYesISO 4217 currency code the cost is denominated in.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, the description discloses non-obvious behavior: the settlement is actually recorded as an ordinary expense with a specific owes/pays split, and Splitwise's UI will display it as a regular expense rather than a true payment. This is substantial, non-obvious behavioral context that annotations alone do not provide.

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?

The purpose is front-loaded in the first sentence, and the follow-up paragraph explains the important Splitwise workaround. The second paragraph is somewhat long but earns its place because the behavior it describes is non-obvious and critical for correctly understanding the tool's effect.

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?

For a mutating tool with sparse annotations, the description covers the essential call constraints and the most important behavioral caveat. An output schema exists, so return values need not be described. Minor gaps like permission failure behavior are not addressed, but the tool is sufficiently complete for correct invocation.

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 coverage is 100%, so baseline is 3. The description adds meaningful cross-parameter semantics by requiring exactly one identifier per side and explaining name/id resolution against group members or the authenticated user and friends. This is valuable beyond the schema's individual parameter descriptions.

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 clearly states the tool records a payment between users and settles part of a balance. It further distinguishes itself from create_expense by explaining that Splitwise's payment flag is not exposed, so this tool exists specifically for the settle-up case.

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?

The description gives explicit input constraints: exactly one from_user_id/from_user_name and one to_user_id/to_user_name must be provided, and resolution depends on whether a group is supplied. It also references create_expense as the overlapping alternative and explains why it is unsuitable, providing actionable selection guidance.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sarathfrancis90/splitwise-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server