Skip to main content
Glama
nnishad

open-splitwise

by nnishad

open-splitwise

Convierte Splitwise en un rastreador de gastos nativo para agentes.

Un servidor abierto del Model Context Protocol (MCP) que permite a cualquier agente de IA — Hermes, Claude Desktop, Claude Code, Cursor, o cualquier cosa que hable MCP — leer saldos, dividir gastos a partir de lenguaje natural desordenado, diagnosticar sus propios problemas de autenticación y no preocuparse nunca por los límites de tasa.

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


Por qué

Las integraciones existentes de Splitwise le dan al modelo un espejo crudo de la API y esperan lo mejor. Eso falla de maneras predecibles: el modelo inventa IDs de categoría, divide mal ₹300 entre tres, cree en el 200 OK de Splitwise cuando la solicitud realmente falló, o trata una respuesta de límite de tasa como un error que debe reintentar agresivamente.

open-splitwise soluciona esto en la capa del servidor:

Problema para los agentes

Lo que hace open-splitwise

«Dividir la cena con Alice» requiere 3–4 llamadas a la API + aritmética

quick_add_expense resuelve nombres → IDs, calcula participaciones exactas al céntimo, elige la categoría, publica una vez

Dos Alices en tu lista de amigos

resolve_users devuelve listas de candidatos para que el agente te pregunte a ti cuál

«¿Cuánto debo?» necesita agregación de múltiples endpoints

money_summary devuelve totales por moneda en una sola llamada

Splitwise devuelve 200 OK con un objeto errors

El servidor lo comprueba; los fallos aparecen como errores de herramienta con texto accionable — nunca un falso éxito

Límites de tasa HTTP 429

Se reintenta de forma invisible (se respeta Retry-After, respaldo con retroceso exponencial)

Clave revocada / sesión cerrada a mitad de sesión

Los errores le dicen al agente la causa y que ejecute setup_auth; las nuevas claves se aplican al instante, sin reiniciar

33 esquemas de herramientas queman ~4k tokens en cada prompt

Descubrimiento perezoso de herramientas: solo se exponen 7 herramientas esenciales por defecto; search_tools("expenses") carga el resto bajo demanda con esquemas completos

Related MCP server: Splitwise MCP Server

Características

  • Cobertura completa de la API — los 27 endpoints de la especificación oficial Splitwise OpenAPI 3.0, una herramienta para cada uno, nombres fieles.

  • Capa de flujo de trabajo — herramientas de alto nivel para que una sola expresión se corresponda con una sola llamada.

  • Ciclo de vida de autenticación de autoservicio — setup_auth valida una clave en vivo contra Splitwise antes de almacenarla (las claves incorrectas nunca se persisten), get_auth_status explica qué está configurado, logout borra las credenciales. La reautenticación funciona a mitad de sesión.

  • Errores honestos — cada modo de fallo (persona no resuelta, discrepancia en la suma de participaciones, categoría desconocida, clave revocada, reintentos agotados) devuelve texto que le dice al agente exactamente qué ocurrió y qué hacer a continuación.

  • Anotaciones seguras por defecto — las lecturas llevan readOnlyHint, los borrados destructivos llevan destructiveHint, según la semántica de MCP 2026-07-28. Las herramientas se registran en orden determinista para un descubrimiento amigable con la caché.

  • Secretos locales primero — la clave de API se almacena en ~/.config/splitwise-mcp/credentials.json, modo 0600, escrituras atómicas, nunca se devuelve (solo vistas previas enmascaradas).

Inicio rápido

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

Ejecútalo de forma independiente (stdio):

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

Obtén una clave de API en https://secure.splitwise.com/apps (Configuración de la cuenta → Claves de API).

Conecta cualquier cliente MCP

Bloque stdio genérico (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>" }
    }
  }
}

Conecta Hermes Agent

Añade a ~/.hermes/config.yaml:

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

Luego /reload-mcp. Comienza con las cuatro herramientas de flujo de trabajo/autenticación anteriores; añade herramientas de API crudas solo cuando sea necesario — el filtrado por servidor de Hermes mantiene la superficie de herramientas pequeña.

Ciclo de vida de autenticación

El servidor está diseñado para que los agentes diagnostiquen y arreglen la autenticación por sí mismos, pidiéndote solo el secreto:

Situación

Comportamiento visible para el agente

Sin clave en ningún sitio

Toda herramienta falla con: «No hay ninguna clave de API de Splitwise configurada. Pide al usuario que genere una en secure.splitwise.com/apps y luego llama a setup_auth.»

El usuario proporciona una clave

setup_auth(api_key) sondea /get_current_user primero — las claves inválidas son rechazadas, no almacenadas; las claves válidas se guardan y se informa a quién pertenecen

Clave revocada / cuenta desconectada (HTTP 401/403)

Las herramientas fallan con «la clave puede haber sido revocada, expirada, o la cuenta se desconectó… pide al usuario una clave nueva y llama a setup_auth»

Diagnóstico

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

Cambiar de cuenta

logout() elimina la credencial almacenada

La resolución de claves ocurre por solicitud: credencial almacenada → variable de entorno SPLITWISE_API_KEY → ninguna. Una clave recién guardada surte efecto inmediatamente en el proceso en ejecución — cero reinicios.

Las credenciales viven en ~/.config/splitwise-mcp/credentials.json (modo 0600). Sobrescribe el directorio con SPLITWISE_MCP_CONFIG_DIR (útil para pruebas o configuraciones de múltiples perfiles).

Ergonomía para agentes

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 — acepta nombres/nombres parciales/emails/IDs; las participaciones iguales se calculan con los céntimos restantes distribuidos de forma determinista; las owed_shares personalizadas se validan para que sumen exactamente; el pagador se incluye por defecto (include_payer_in_split=false cuando no consumió); la moneda se toma por defecto de tu perfil.

  • resolve_users — coincidencia exacta de email, coincidencia de nombre completo, nombre propio único, respaldo por subcadena; la ambigüedad devuelve candidatos en lugar de adivinar.

  • money_summary — owed_to_you / you_owe / net por moneda, saldos a nivel de amigos y deudas simplificadas de grupo que te involucran.

Referencia de herramientas (33)

Grupo

Herramientas

Flujos de trabajo

quick_add_expense · resolve_users · money_summary

Usuarios

get_current_user · get_user · update_user

Grupos

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

Amigos

get_friends · get_friend · create_friend · create_friends · delete_friend*

Gastos

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

Comentarios

get_comments · create_comment · delete_comment*

Notificaciones

get_notifications

Otros

get_currencies · get_categories

Autenticación

setup_auth · get_auth_status · logout*

* anotadas con destructiveHint=true; todas las herramientas get_* anotadas con readOnlyHint=true. Prefiere las herramientas de flujo de trabajo sobre sus contrapartes crudas cuando ambas existan.

Límites de tasa

Splitwise responde HTTP 429 cuando se limita la tasa. open-splitwise reintenta automáticamente: se respeta la cabecera Retry-After tal cual; de lo contrario, retroceso exponencial (0,5 s duplicando, con tope de 30 s), hasta 3 intentos por defecto. Los agentes ven un error solo si se agotan todos los intentos — y ese error dice que se ralentice, no que reintente a ciegas.

Configuración

Variable de entorno

Por defecto

Propósito

SPLITWISE_API_KEY

–

Clave de arranque (las credenciales almacenadas tienen prioridad)

SPLITWISE_MCP_CONFIG_DIR

~/.config/splitwise-mcp

Dónde vive credentials.json

SPLITWISE_MCP_MAX_RETRIES

3

Intentos de reintento 429 antes de mostrar el error

SPLITWISE_MCP_LAZY

on

off registra las 33 herramientas de antemano

Peculiaridades de Splitwise manejadas por ti

  • Los parámetros de matriz se aplanan a la extraña codificación users__{index}__{property} de Splitwise

  • 200 OK ≠ éxito: se comprueba errors{} / success:false en cada mutación

  • Dinero como cadenas decimales con 2 decimales; los céntimos restantes se distribuyen, las sumas siempre exactas

  • category_id debe ser una subcategoría — se aplica mediante resolución difusa de nombres

  • Los saldos/deudas se leen de balance[] / simplified_debts precalculados (nunca se recalculan)

  • «Settle up» es solo un gasto con payment:true (no existe un endpoint dedicado)

  • OAuth2 existe pero está deliberadamente fuera de alcance: las claves de API personales encajan en el flujo de agente-pregunta-al-usuario; OAuth necesita una URI de redirección + navegador (solo implementaciones alojadas)

Arquitectura

┌─────────────── 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

Desarrollo

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

Construido con test-first (TDD estricto): cada comportamiento anterior tiene una procedencia de prueba que falla primero. Estructura:

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

Términos de uso

La API de autoservicio de Splitwise es no comercial según sus términos de API. Tu clave de API otorga acceso completo a tu cuenta — trátala como una contraseña. Este proyecto es una integración independiente y no está afiliado ni respaldado por Splitwise Inc.

Hoja de ruta

  • Subida de recibos al crear gastos

  • Asistente de gastos multidivisa con conocimiento de conversión

  • Resúmenes de gastos recurrentes como prompt de MCP

  • Transporte HTTP Streamable opcional para implementaciones alojadas/multiusuario (+OAuth2)

  • Publicar en PyPI (uvx open-splitwise)

Contribuciones

Se aceptan PRs — por favor mantén la disciplina TDD (las pruebas fallan primero, luego pasan), mantén las descripciones de herramientas escritas para modelos, y nunca registres secretos.

Licencia

MIT — abierto para todos: úsalo, modifícalo, publícalo, véndelo. Solo conserva el aviso de copyright.

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