Skip to main content
Glama
nnishad

open-splitwise

by nnishad

open-splitwise

Verwandle Splitwise in einen agenten-nativen Ausgaben-Tracker.

Ein offener Model Context Protocol (MCP)-Server, der es jedem KI-Agenten — Hermes, Claude Desktop, Claude Code, Cursor oder allem, was MCP spricht — ermöglicht, Salden zu lesen, Ausgaben aus unstrukturierter natürlicher Sprache aufzuteilen, eigene Authentifizierungsprobleme zu diagnostizieren und sich nie Gedanken über Ratenlimits zu machen.

Python 3.11+ · MCP spec 2026-07-28 · stdio transport · 33 tools · lazy-loaded


Warum

Bestehende Splitwise-Integrationen geben dem Modell einen rohen API-Spiegel und hoffen auf das Beste. Das scheitert auf vorhersehbare Weise: Das Modell erfindet Kategorie-IDs, teilt ₹300 falsch auf drei Personen auf, glaubt Splitwises 200 OK, obwohl die Anfrage tatsächlich fehlgeschlagen ist, oder behandelt eine Rate-Limit-Antwort als Fehler, den es aggressiv erneut versuchen soll.

open-splitwise behebt dies auf der Server-Ebene:

Problem für Agenten

Was open-splitwise tut

„Abendessen mit Alice teilen" erfordert 3–4 API-Aufrufe + Arithmetik

quick_add_expense löst Namen → IDs auf, berechnet centgenaue Anteile, wählt die Kategorie aus, postet einmal

Zwei Alices in deiner Freundesliste

resolve_users gibt Kandidatenlisten zurück, damit der Agent dich fragt, welche gemeint ist

„Was schulde ich?" erfordert Aggregation über mehrere Endpunkte

money_summary gibt Summen pro Währung in einem Aufruf zurück

Splitwise gibt 200 OK mit einem errors-Objekt zurück

Der Server prüft es; Fehler erscheinen als Tool-Fehler mit handlungsorientiertem Text — niemals falscher Erfolg

HTTP-429-Ratenlimits

Unsichtbar wiederholt (Retry-After wird beachtet, exponentielles Backoff als Fallback)

Schlüssel widerrufen / mitten in der Sitzung abgemeldet

Fehler teilen dem Agenten die Ursache mit und dass er setup_auth ausführen soll; neue Schlüssel gelten sofort, kein Neustart

33 Tool-Schemas verbrennen ~4k Tokens in jedem Prompt

Lazy Tool Discovery: Standardmäßig sind nur 7 wesentliche Tools verfügbar; search_tools("expenses") lädt den Rest bei Bedarf mit vollständigen Schemas

Related MCP server: Splitwise MCP Server

Features

  • Vollständige API-Abdeckung — alle 27 Endpunkte der offiziellen Splitwise-OpenAPI-3.0-Spezifikation, ein Tool pro Endpunkt, originalgetreue Namen.

  • Workflow-Ebene — High-Level-Tools, sodass eine einzelne Äußerung einem einzelnen Aufruf entspricht.

  • Self-Service-Authentifizierungslebenszyklus — setup_auth validiert einen Schlüssel live gegen Splitwise, bevor er gespeichert wird (falsche Schlüssel werden nie gespeichert), get_auth_status erklärt, was konfiguriert ist, logout löscht Anmeldedaten. Eine erneute Authentifizierung funktioniert mitten in der Sitzung.

  • Ehrliche Fehler — jeder Fehlermodus (nicht aufgelöste Person, Anteilssummen-Konflikt, unbekannte Kategorie, widerrufener Schlüssel, erschöpfte Wiederholungsversuche) gibt Text zurück, der dem Agenten genau sagt, was passiert ist und was als Nächstes zu tun ist.

  • Standardmäßig sichere Anmerkungen — Lesevorgänge tragen readOnlyHint, destruktive Löschungen tragen destructiveHint, gemäß MCP-2026-07-28-Semantik. Tools registrieren sich in deterministischer Reihenfolge für cache-freundliche Erkennung.

  • Lokale Geheimnisse — API-Schlüssel wird unter ~/.config/splitwise-mcp/credentials.json gespeichert, Modus 0600, atomare Schreibvorgänge, niemals ausgegeben (nur maskierte Vorschauen).

Schnellstart

git clone https://github.com/<you>/open-splitwise.git
cd open-splitwise
uv sync

Führe es eigenständig aus (stdio):

uv run open-splitwise          # starts with no key configured — see auth below

Hole dir einen API-Schlüssel unter https://secure.splitwise.com/apps (Kontoeinstellungen → API-Schlüssel).

Verbinde einen beliebigen MCP-Client

Generischer stdio-Block (Claude Desktop claude_desktop_config.json, Claude Code .mcp.json, Cursor, …):

{
  "mcpServers": {
    "splitwise": {
      "command": "uv",
      "args": ["--directory", "/absolute/path/to/open-splitwise", "run", "open-splitwise"],
      "env": { "SPLITWISE_API_KEY": "<optional: preconfigure>" }
    }
  }
}

Hermes-Agent verbinden

Füge zu ~/.hermes/config.yaml hinzu:

mcp_servers:
  splitwise:
    command: "uv"
    args: ["--directory", "/absolute/path/to/open-splitwise", "run", "open-splitwise"]
    env:
      SPLITWISE_API_KEY: "<optional>"
    tools:
      include: [quick_add_expense, resolve_users, money_summary, get_auth_status]
    prompts: false
    resources: false

Dann /reload-mcp. Beginne mit den vier Workflow-/Auth-Tools oben; füge rohe API-Tools nur bei Bedarf hinzu — Hermes' serverseitige Filterung hält den Tool-Umfang klein.

Authentifizierungslebenszyklus

Der Server ist so konzipiert, dass Agenten Authentifizierungsprobleme selbst diagnostizieren und beheben und dich nur nach dem Geheimnis fragen:

Situation

Für den Agenten sichtbares Verhalten

Kein Schlüssel vorhanden

Jedes Tool schlägt fehl mit: „Kein Splitwise-API-Schlüssel ist konfiguriert. Bitte den Benutzer, einen unter secure.splitwise.com/apps zu erstellen, und rufe dann setup_auth auf."

Benutzer stellt einen Schlüssel bereit

setup_auth(api_key) prüft zuerst /get_current_user — ungültige Schlüssel werden abgelehnt, nicht gespeichert; gültige Schlüssel werden gespeichert und es wird berichtet, wem sie gehören

Schlüssel widerrufen / Konto abgemeldet (HTTP 401/403)

Tools schlagen fehl mit „Der Schlüssel könnte widerrufen, abgelaufen oder das Konto abgemeldet worden sein … bitte den Benutzer um einen neuen Schlüssel und rufe setup_auth auf"

Diagnose

get_auth_status() → {configured, source: stored|environment, masked_key}

Konten wechseln

logout() löscht die gespeicherte Anmeldeinformation

Die Schlüsselauflösung erfolgt pro Anfrage: gespeicherte Anmeldeinformation → SPLITWISE_API_KEY-Umgebungsvariable → keine. Ein frisch gespeicherter Schlüssel wird sofort im laufenden Prozess wirksam — keine Neustarts.

Anmeldedaten liegen unter ~/.config/splitwise-mcp/credentials.json (Modus 0600). Überschreibe das Verzeichnis mit SPLITWISE_MCP_CONFIG_DIR (praktisch für Tests oder Multi-Profil-Setups).

Agenten-Ergonomie

You:      "add dinner 900 split with alice and bob@x.com, groceries"
Agent:    quick_add_expense(description="Dinner", cost="900.00",
                            participants=["alice", "bob@x.com"],
                            category_name="groceries")
Server:   resolves alice→12? two matches! → error listing Alice A (id 10), Alice Wood (id 12)
Agent:    "Which Alice?"  → you answer → re-call succeeds
Server:   { status: created, expense_id: 99123,
            splits: [ "Nikhil paid 900.00 INR",
                      "Alice A owes 300.00 INR",
                      "Bob B owes 300.00 INR" ] }
  • quick_add_expense — Namen/Teilnamen/E-Mails/IDs werden akzeptiert; gleiche Anteile werden berechnet, Restcents deterministisch verteilt; benutzerdefinierte owed_shares werden auf exakte Summe validiert; Zahler standardmäßig enthalten (include_payer_in_split=false, wenn sie nicht konsumiert haben); Währung standardmäßig aus deinem Profil.

  • resolve_users — E-Mail-Exaktübereinstimmung, Vollnamen-Übereinstimmung, eindeutiger Vorname, Teilstring-Fallback; Mehrdeutigkeit gibt Kandidaten zurück, anstatt zu raten.

  • money_summary — pro Währung owed_to_you / you_owe / net, Freundes-Salden und vereinfachte Gruppenschulden, an denen du beteiligt bist.

Tool-Referenz (33)

Gruppe

Tools

Workflows

quick_add_expense · resolve_users · money_summary

Benutzer

get_current_user · get_user · update_user

Gruppen

get_groups · get_group · create_group · delete_group* · undelete_group · add_user_to_group · remove_user_from_group

Freunde

get_friends · get_friend · create_friend · create_friends · delete_friend*

Ausgaben

get_expenses · get_expense · create_expense · update_expense · delete_expense* · undelete_expense

Kommentare

get_comments · create_comment · delete_comment*

Benachrichtigungen

get_notifications

Sonstiges

get_currencies · get_categories

Auth

setup_auth · get_auth_status · logout*

* mit destructiveHint=true annotiert; alle get_*-Tools sind mit readOnlyHint=true annotiert. Bevorzuge Workflow-Tools gegenüber ihren rohen Gegenstücken, wann immer beide existieren.

Ratenlimitierung

Splitwise antwortet mit HTTP 429, wenn gedrosselt wird. open-splitwise wiederholt automatisch: Retry-After-Header wird wörtlich beachtet; andernfalls exponentielles Backoff (0,5 s Verdopplung, begrenzt auf 30 s), standardmäßig bis zu 3 Versuche. Agenten sehen nur dann einen Fehler, wenn alle Versuche erschöpft sind — und dieser Fehler sagt, langsamer zu machen, nicht blind zu wiederholen.

Konfiguration

Umgebungsvariable

Standard

Zweck

SPLITWISE_API_KEY

–

Bootstrap-Schlüssel (gespeicherte Anmeldedaten haben Vorrang)

SPLITWISE_MCP_CONFIG_DIR

~/.config/splitwise-mcp

Wo credentials.json liegt

SPLITWISE_MCP_MAX_RETRIES

3

429-Wiederholungsversuche, bevor ein Fehler angezeigt wird

SPLITWISE_MCP_LAZY

on

off registriert alle 33 Tools im Voraus

Splitwise-Eigenheiten, die für dich behandelt werden

  • Array-Parameter werden in Splitwises seltsame users__{index}__{property}-Kodierung umgewandelt

  • 200 OK ≠ Erfolg: errors{} / success:false werden bei jeder Mutation geprüft

  • Geld als Dezimal-Zeichenketten mit 2 Nachkommastellen; Restcents werden verteilt, Summen sind immer exakt

  • category_id muss eine Unterkategorie sein — durchgesetzt über unscharfe Namensauflösung

  • Salden/Schulden werden aus vorberechneten balance[] / simplified_debts gelesen (niemals neu berechnet)

  • „Settle up" ist nur eine Ausgabe mit payment:true (es gibt keinen dedizierten Endpunkt)

  • OAuth2 existiert, ist aber bewusst außerhalb des Rahmens: Persönliche API-Schlüssel passen zum Agent-fragt-Benutzer-Ablauf; OAuth benötigt eine Redirect-URI + Browser (nur für gehostete Bereitstellungen)

Architektur

┌─────────────── any MCP client ───────────────┐
│  Hermes / Claude Desktop / Cursor / …        │
└──────────────────┬───────────────────────────┘
                   │ JSON-RPC over stdio
┌──────────────────▼───────────────────────────┐
│ server.py — FastMCP app, 33 tools            │
│   workflows · raw endpoints · auth lifecycle │
├──────────────────────────────────────────────┤
│ client.py — async REST client                │
│   bearer auth (per-request key resolution)   │
│   param flattening · success verification    │
│   transparent 429 retry/backoff              │
├──────────────────────────────────────────────┤
│ auth.py — credentials.json (0600, atomic)    │
└──────────────────┬───────────────────────────┘
                   │ HTTPS
          secure.splitwise.com/api/v3.0

Entwicklung

uv run pytest                        # 54 tests: client, rate limits, auth, workflows, lazy loading, MCP semantics
uv run python scripts/smoke_stdio.py # real subprocess: handshake, discovery, live auth-failure paths

Test-first entwickelt (strikte TDD): Jedes oben genannte Verhalten hat eine Test-first-Herkunft (zuerst fehlschlagender Test). Layout:

src/open_splitwise/
  client.py    # REST client: auth provider, flattening, retry, error mapping
  auth.py      # credential storage
  server.py    # FastMCP definitions: workflows + raw + auth tools
tests/
scripts/smoke_stdio.py

Nutzungsbedingungen

Die Self-Service-API von Splitwise ist laut ihren API-Bedingungen nicht kommerziell. Dein API-Schlüssel gewährt vollen Zugriff auf dein Konto — behandle ihn wie ein Passwort. Dieses Projekt ist eine unabhängige Integration und wird von Splitwise Inc. weder unterstützt noch befürwortet.

Roadmap

  • Beleg-Upload bei der Ausgabenerstellung

  • Multi-Währungs-Ausgaben-Helfer mit Umrechnungsunterstützung

  • Zusammenfassungen wiederkehrender Ausgaben als MCP-Prompt

  • Optionaler Streamable-HTTP-Transport für gehostete/Multi-Benutzer-Bereitstellungen (+OAuth2)

  • Veröffentlichung auf PyPI (uvx open-splitwise)

Mitwirken

PRs sind willkommen — bitte halte die TDD-Disziplin ein (Tests schlagen zuerst fehl, dann bestehen sie), schreibe Tool-Beschreibungen weiterhin für Modelle und protokolliere niemals Geheimnisse.

Lizenz

MIT — offen für alle: nutze es, modifiziere es, veröffentliche es, verkaufe es. Behalte nur den Urheberrechtshinweis.

Available Tools

7 tools
get_auth_statusA
Read-only

Report whether a Splitwise API key is configured, where it came from (stored credential vs environment), and a masked preview. Use this to diagnose auth failures.

NameRequiredDescriptionDefault

No parameters

TDQS

A4.7/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true, so the description doesn't need to restate that. It adds meaningful context beyond the annotation by specifying what the report contains (configured status, source, masked preview), which helps an agent understand the tool's output. There is no mention of side effects, but given the read-only hint, none are expected.

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?

Two sentences, no fluff. The first sentence front-loads the core purpose and outputs, while the second sentence gives the practical use case. Every word earns its place, making it easy to scan and understand quickly.

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 zero-parameter diagnostic tool, the description is complete. It tells the agent what it reports, where the information comes from, and when to use it. No output schema exists, but the description's list of reported items (configured status, source, masked preview) sufficiently covers what the agent can expect.

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?

The tool has no parameters, and schema coverage is 100%, so the schema fully documents the parameter space. Baseline for such tools is 4, and the description appropriately doesn't try to add parameter details that don't exist. The description focuses on behavior rather than parameters, which is correct.

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 'Report' and identifies the exact resource: whether a Splitwise API key is configured, its source, and a masked preview. This clearly distinguishes it from sibling tools like setup_auth and logout, which perform different actions. An agent can immediately understand what this tool does without ambiguity.

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?

The description explicitly states 'Use this to diagnose auth failures,' providing a clear directive for when to call this tool. While it doesn't mention alternatives by name, the intent is unmistakable and aligned with the diagnostic nature of the tool, separating it from setup or logout operations.

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

logoutA
Destructive

Remove the stored Splitwise API key (log out). Environment-provided keys cannot be removed here and remain active as fallback.

NameRequiredDescriptionDefault

No parameters

TDQS

A4.4/5.0
Behavior4/5

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

Annotations provide destructiveHint=true, and the description adds meaningful context beyond that: the exact behavior (removing stored key) and the edge case that environment-provided keys are unaffected. This is valuable operational information an agent needs before invoking.

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 a single, front-loaded sentence that delivers the core action first and the fallback limitation second. Every word earns its place; there is no fluff or repetition.

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 simple no-parameter logout tool, the description is nearly complete: it states the action, the limitation, and the persistent fallback behavior. It does not mention return values, but given the simplicity and destructive nature, the absence is not a significant gap.

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?

The tool takes zero parameters, so schema coverage is trivially 100%. With 0 parameters, the baseline is 4 because there is no parameter behavior to explain. The description adds no parameter details, which is appropriate.

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 action: 'Remove the stored Splitwise API key' and equates it with 'log out'. It names the specific resource (stored API key) and is distinct from siblings like setup_auth and get_auth_status.

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 clear context for when to use the tool (to remove a stored key) and importantly identifies a key limitation: environment-provided keys cannot be removed and remain active as fallback. It does not explicitly name alternative tools but the use case is clear.

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

money_summaryA
Read-only

One-call financial overview: per-currency totals of what you are owed vs what you owe across all friends, plus each friend's balance and simplified group debts. Replaces manual aggregation over get_friends/get_groups.

NameRequiredDescriptionDefault

No parameters

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the readOnlyHint annotation, the description adds meaningful behavioral context: it aggregates across all friends, reports totals per currency, breaks out owed vs owe, includes per-friend balances, and includes simplified group debts. It does not explain the simplification algorithm or auth prerequisites, but it discloses the core behavior sufficiently.

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 a single dense sentence that front-loads the core value proposition ('One-call financial overview') and then enumerates the exact outputs. Every phrase earns its place and there is no fluff or repetition.

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 no-parameter read-only tool, the description is largely complete: it states scope, output categories, and even the alternative it replaces. The lack of an output schema means exact field names are not disclosed, but that is not essential for selecting and invoking this tool correctly.

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?

The tool has zero parameters, so there is no parameter burden for the description to carry. The baseline for no-parameter tools is 4, and the description contains nothing misleading or unnecessary about inputs.

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 identifies a specific resource and purpose: a one-call financial overview with per-currency owed/owe totals, per-friend balances, and simplified group debts. It also distances itself from manual aggregation over get_friends/get_groups, making it easy for an agent to know what this tool uniquely provides.

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 explicitly says this replaces manual aggregation over get_friends/get_groups, giving a concrete when-to-use signal. It doesn't spell out when not to use it or name direct sibling alternatives, but the use case is clear enough for a no-parameter read-only tool.

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

quick_add_expenseA

Agent-friendly expense creation from messy input. Participants can be names, partial names ('alice'), emails or user IDs; they are resolved automatically. Splits equally among participants plus the payer by default (set include_payer_in_split=false when the payer did not consume); pass owed_shares like {"Alice": "100.00"} for custom amounts that must sum to cost. category_name is fuzzy-matched against Splitwise categories; currency defaults to your default currency. Returns who owes what.

NameRequiredDescriptionDefault
costYes
dateNo
detailsNo
paid_byNome
group_idNo
descriptionYes
owed_sharesNo
participantsYes
category_nameNo
currency_codeNo
include_payer_in_splitNo

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries full behavioral burden. It discloses automatic participant resolution, equal-split default, payer-inclusion behavior, the custom owed_shares sum constraint, fuzzy category matching, currency defaulting, and the return value ('who owes what'). This is rich transparency, though it omits edge-case behavior like unresolvable participants or failure modes.

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 a dense but well-organized paragraph. It front-loads the core purpose and then efficiently covers the most important configurable behaviors. Each sentence earns its place; there is no filler. It is a bit long, but justified by the need to document 11 parameters without schema aid.

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 11 parameters, no output schema, and no annotations, the description is notably complete. It covers participant resolution, splitting defaults, custom shares, category handling, currency defaulting, and return shape. Minor gaps remain (e.g., what happens when participant resolution fails, group_id semantics, cost string format), but the core usage is well covered.

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 0%, so the description must compensate, and it does. It explains the flexible formats for participants (names, partial names, emails, IDs), the meaning of include_payer_in_split, the required sum constraint for owed_shares, and the fuzzy-matching behavior of category_name. Some parameters like cost format and group_id semantics are left to inference, but the description adds substantial meaning to the most nuanced parameters.

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 identifies the action ('expense creation') and the resource ('expense'), with a distinctive angle: 'Agent-friendly expense creation from messy input.' This differentiates it from the sibling tools, which are auth-related (setup_auth, get_auth_status, logout), discovery (search_tools, resolve_users), or summary (money_summary). The purpose is unambiguous and specific.

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

Usage Guidelines3/5

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

The description implies its usage by highlighting 'messy input' and automatic resolution, suggesting it is the go-to tool for flexible or unnormalized participant input. However, it never explicitly contrasts with alternatives or states when not to use it. It provides parameter-level guidance (e.g., include_payer_in_split=false when the payer did not consume) but no tool-selection guidance.

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

resolve_usersA
Read-only

Resolve human-friendly identifiers (names, partial names, emails, user IDs, 'me') into Splitwise user IDs. Ambiguous names return candidate lists so you can ask the user which one they meant.

NameRequiredDescriptionDefault
queriesYes

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the readOnlyHint annotation, the description discloses that ambiguous names return candidate lists for user disambiguation. It also communicates the accepted input varieties (partial names, emails, 'me'). This adds meaningful behavioral context without contradicting the annotation.

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?

Two efficient sentences contain zero filler and front-load the core purpose, with the behavioral nuance about ambiguous names added as a secondary sentence.

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

Completeness3/5

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

For a tool with no output schema, the description should clarify the return format. It mentions candidate lists for ambiguous cases but does not specify their structure, nor what happens for unambiguous matches or not-found cases. The single-parameter design keeps the gap modest, but some important call semantics remain undocumented.

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 0%, so the description must compensate for the undocumented 'queries' parameter. It explains what query strings represent and the range of acceptable values, though it does not explicitly describe array semantics or limits.

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 resolves human-friendly identifiers (names, partial names, emails, user IDs, 'me') into Splitwise user IDs, with a specific verb and resource. It is easily distinguished from sibling tools like quick_add_expense or money_summary, as it is the only identifier-resolution tool.

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

Usage Guidelines3/5

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

The intended use is implied: use when you need to convert a user identifier into a Splitwise user ID. However, it does not explicitly state when to use this tool vs alternatives, nor does it mention any exclusions or prerequisites.

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

search_toolsA

Discover the hidden raw Splitwise tools on demand (lazy loading keeps this server's default token footprint tiny).

With no query: returns a compact group index. With a query (e.g. 'expenses', 'groups', 'notifications' or a tool name): returns matching tools WITH their full input schemas and registers them into this session so they can be called directly. enable=false only reports. After enabling, clients that support tools/list_changed refresh automatically.

NameRequiredDescriptionDefault
queryNo
enableNo

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so well. It discloses the side effect of registering tools into the session, the meaning of enable=false, the lazy-loading design, and the automatic tools/list_changed refresh after enabling. These are significant behavioral traits beyond the basic function.

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 compact, front-loaded with the tool's purpose, and uses parallel 'With no query...' / 'With a query...' structure for instant comprehension. Every sentence carries useful information; the parenthetical on lazy loading is brief and justifies the design without bloating the text.

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 two-parameter meta-tool with no annotations and no output schema, the description is nearly complete. It covers both modes, side effects, and refresh behavior, but doesn't detail the structure of the 'compact group index' or the exact response format for matching tools, which an agent might need for downstream parsing.

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

Parameters5/5

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

The input schema provides only names and defaults with 0% description coverage, so the description must explain the parameters and does so thoroughly. It explains query semantics (no query vs. query examples) and enable semantics (default true, enable=false only reports), adding substantial meaning beyond the schema.

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 states a specific verb ('Discover') and resource ('hidden raw Splitwise tools'), and clearly distinguishes the tool from action-oriented siblings by explaining it is a meta-tool for discovering/registering tools. The two operational modes (with and without query) are precisely described, leaving no ambiguity about what the tool does.

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 clear usage context: no query returns a group index, a query returns matching tools with schemas and registers them, and enable=false reports only. It does not explicitly name alternatives or when-not-to-use conditions, but the sibling tools are not interchangeable with a discovery tool, so the guidance is sufficient.

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

setup_authA

Configure or replace the Splitwise API key. Validates the key against Splitwise before saving, so a wrong key is never stored. Ask the user to generate a personal API key at https://secure.splitwise.com/apps and pass it here.

NameRequiredDescriptionDefault
api_keyYes

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that the key is validated before saving and a wrong key is never stored, which is important behavioral context. It also provides a specific URL for key generation. It does not mention what happens on success (e.g., confirmation), but the core behavior is transparent.

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 only two sentences, with the purpose front-loaded, followed by validation behavior and user instruction. Every sentence adds value, and there is no filler or repetition.

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 single-parameter setup tool, the description covers the purpose, the input source, and the validation side effect. It does not explicitly describe the output (none defined) or error scenarios, but the core usage is fully captured. Sibling tools exist for status checks, but that does not detract from completeness here.

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 0%, so the description must compensate for the undocumented api_key parameter. It does: it defines the key as the Splitwise API key, explains how to obtain it, and notes that validation occurs. This goes well beyond the bare schema field name.

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 ('Configure or replace') and a clear resource ('Splitwise API key'). It also states the validation action, making the tool's purpose unmistakable. It is clearly distinct from siblings like get_auth_status and logout, which deal with status and session termination.

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 makes it clear this tool is used when the user needs to set up or replace the API key, and instructs the agent to ask the user for a key. It gives clear context but does not explicitly mention when NOT to use it or name alternative tools, so it falls just short of a 5.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 7 tool updatesv0.1.0
    • First observedget_auth_status
    • First observedlogout
    • First observedmoney_summary
    • First observedquick_add_expense
    • First observedresolve_users
    • First observedsearch_tools
    • First observedsetup_auth

TDQS

A4.4/5.0

Scored across 7 tools

Disambiguation5/5

Each visible tool has a clearly distinct role: auth setup/status/logout form a lifecycle, resolve_users handles identifier mapping, quick_add_expense creates expenses, and money_summary provides balances. search_tools is explicitly a discovery/meta tool, so there is no meaningful overlap between tools.

Naming Consistency4/5

Most tools follow a clear verb_noun snake_case pattern such as setup_auth, get_auth_status, resolve_users, quick_add_expense, and search_tools. logout and money_summary deviate slightly as a bare verb and a noun-noun phrase, but the naming remains easily predictable.

Tool Count5/5

Seven tools is a well-scoped count for this server. It covers authentication, user lookup, expense creation, financial summary, and dynamic tool discovery without unnecessary bloat, and the lazy-loading design keeps the default surface compact.

Completeness4/5

The visible high-level tools cover auth, user resolution, expense creation, and summary, which handles common Splitwise workflows. search_tools explicitly exposes hidden raw tools for expenses, groups, and notifications, mitigating most gaps, though direct visible listing/update/delete expense helpers would make common management tasks more straightforward.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to manage Splitwise expenses with atomic duplicate prevention, smart fuzzy matching, and support for flexible split ratios between two people.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables conversational control of Splitwise accounts through Claude AI, allowing users to add expenses, check group balances, record settlements, and manage payment splits using natural language commands. Supports multiple currencies and flexible splitting methods including equal, exact, and percentage-based divisions.
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables managing Splitwise expenses and generating premium spending analytics with category breakdowns, trends, and settlement optimization through natural language.
    42
    MIT