Model Context Protocol server for Splitwise API integration with natural language entity resolution
Server has 4 tools with basic schemas and descriptions. Naming follows verb_noun convention (get_*, create_*). Descriptions exist but are generic and lack LLM-optimized guidance on WHEN to use each tool or what to do on failure. Parameter descriptions are present but sparse. create_expense has complex nested structure (users array with conditional fields) that lacks clarity on mutual exclusivity and validation rules. No output schemas documented. Error handling is minimal, exceptions are caught and re-raised without recovery guidance. Missing tool annotations (readOnlyHint, destructiveHint). Overall: functional but below production baseline.
Create a new expense. Cost is a string with 2 decimals (e.g. "25.50"). Splits equally by default; provide users list with paid_share/owed_share for custom splits. Each user needs user_id or (email + first_name + last_name). Set repeat_interval to "weekly", "fortnightly", "monthly", or "yearly" for recurring expenses.
Get the current authenticated user's profile (id, name, email, picture).
List expenses with optional filters. Dates are ISO 8601 format. Max limit is 100.
Get a user's profile by their ID.
create_expense parameter 'users' lacks clarity on mutual exclusivity and validation. Description says 'Each user needs user_id or (email + first_name + last_name)' but does not state whether both can be provided, what happens if neither is provided, or how the tool validates this. LLMs will guess and pass invalid combinations.
No output schemas documented for any tool. LLMs cannot plan downstream calls or extract required fields (e.g., expense_id after create_expense, user_id after get_user). Responses are inferred from API docs, not from tool definitions.
Error handling is generic. Exceptions are caught and logged but re-raised without recovery guidance. LLMs receive raw errors with no hint on whether to retry, ask the user, or try an alternative tool. E.g., 'Error getting user {user_id}: {e}' tells the agent nothing.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | <=2025-11-25 | v2 |
Tool descriptions lack LLM-optimized guidance. 'Get a user's profile by their ID' does not explain WHEN to call this vs get_current_user, what fields are returned, or what to do if the user is not found. Descriptions should be 50-200 chars and answer: what, when, why.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). create_expense is destructive and should be marked as such. get_* tools should be marked read-only. Agents need this metadata to reason about side effects and retry safety.