Skip to main content
Glama
chrischall

splitwise-mcp

by chrischall

sw_update_expense

Update an existing Splitwise expense by modifying cost, date, description, category, or split. Preview changes first, then confirm to apply.

Instructions

Edit an existing Splitwise expense. Provide expense_id and any fields to change. For custom split updates, the full users array must be provided (the API replaces the entire split). Without confirm:true this returns a dry-run preview and makes NO network call; with confirm:true it updates the expense.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
costNoDecimal string, e.g. "25.00"
dateNo
usersNoFull replacement split — all users must be included. Mutually exclusive with split_equally.
confirmNoMust be true to proceed. Without this, the tool returns a preview.
detailsNo
expense_idYesID of the expense to update
category_idNo
descriptionNo
currency_codeNo
split_equallyNoMutually exclusive with users
Behavior5/5

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

With no annotations, the description carries full responsibility for behavioral disclosure. It clearly explains the dry-run preview behavior, that no network call occurs without confirm:true, and that the users array replaces the entire split. These are important, non-obvious behavioral traits that go beyond the basic purpose.

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?

The description is three sentences long, front-loaded with the core purpose, and each sentence delivers essential information without redundancy. It is well-structured and easy to parse.

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 tool with 10 parameters and no output schema, the description covers the key caveats (dry-run, full split replacement) and provides enough operational context. It could be more complete by mentioning the return value, but the description is adequate for most update scenarios.

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 50%, and the description adds some value by reiterating the full-replacement semantics of the users array and the confirm behavior. However, several parameters (date, details, category_id, description, currency_code) lack schema descriptions and are not explained in the description. The general instruction 'any fields to change' partially compensates, but not fully.

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 edits an existing Splitwise expense, using a specific verb and resource. It distinguishes from siblings like create or delete by focusing on updating existing expenses, and the purpose is immediately obvious.

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 provides clear context on when to use the tool: 'Provide expense_id and any fields to change.' It also includes crucial usage details about the full users array requirement and the dry-run vs confirm behavior. However, it does not explicitly state when not to use it or name alternative tools, though the sibling names make the alternatives apparent.

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

Install Server

Other Tools

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/chrischall/splitwise-mcp'

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