Skip to main content
Glama
hubshashwat

Splitwise MCP Server

by hubshashwat

add_expense

Add an expense to Splitwise with support for unequal splits, group expenses, and precise control over who pays and how costs are divided.

Instructions

Add an expense to Splitwise, supporting unequal splits, groups, and precise control.

Args: amount: The total cost (e.g., "70", "10.50"). description: A brief description. friend_names: Friends to split with. Can be empty if using group_name. split_map: Optional dict for unequal splits. Keys=Names (or 'me'), Values=Amount/Percentage. Example: {'me': '40%', 'Alice': '60%'} or {'me': '10', 'Bob': '20'} group_name: Optional group to add expense to. payer_name: Optional name of who paid. Defaults to 'me'. exclude_names: Optional list of names to exclude from a group split.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYes
descriptionYes
friend_namesYes
split_mapNo
group_nameNo
payer_nameNo
exclude_namesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description bears full burden. It discloses core functionality and split options but omits details on error handling, permissions, or side effects. The examples for split_map are helpful but do not cover all potential issues.

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 description is well-organized with an Args section and examples. It is concise yet informative, though the verbose Example formatting could be slightly more compact.

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 the number of parameters (7) and no annotations, the description covers most parameters and their relationships. The presence of an output schema likely covers return values. Minor gaps include lack of error scenarios and ordering constraints.

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?

With 0% schema coverage, the description compensates well: it explains amount as 'total cost', description as 'brief description', and provides explicit examples for split_map. However, some parameters like exclude_names lack contextual detail about how they interact with group splits.

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's action: 'Add an expense to Splitwise', and highlights key features like unequal splits and groups. It distinguishes itself from siblings like delete_expense and list_friends.

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 includes parameter explanations and usage notes (e.g., friend_names can be empty if using group_name, split_map examples). It lacks explicit comparison to alternative tools but provides sufficient context for correct invocation.

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

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