Skip to main content
Glama
chrischall

splitwise-mcp

by chrischall

sw_undelete_expense

Restore a soft-deleted Splitwise expense to undo accidental deletion. Provide the expense ID to bring it back.

Instructions

Restore a soft-deleted Splitwise expense.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesExpense ID to restore

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv2.1.5

TDQS

A3.5/5.0
Behavior2/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 of behavioral disclosure. It states the action 'restore' which implies a state-changing operation, but it does not disclose what happens if the expense is not soft-deleted, whether the operation is idempotent, or any error conditions. The behavioral transparency is minimal.

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 sentence with no extraneous words. It front-loads the verb and resource, making the purpose immediately clear. There is zero waste.

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 simple tool with one parameter and no output schema, the description is adequate for basic use. However, it lacks details about edge cases (e.g., behavior when the expense is not soft-deleted) and does not mention permissions or idempotency. While not incomplete for a trivial operation, it leaves some ambiguity that a more thorough description could resolve.

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 description coverage is 100% – the id parameter has a description 'Expense ID to restore'. The tool description adds no additional semantic information beyond the schema. With high coverage, the baseline is 3, and the description does not elevate it further.

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 'Restore' and a specific resource 'soft-deleted Splitwise expense', making the tool's purpose unambiguous. It clearly distinguishes from siblings like sw_delete_expense (which deletes) and sw_undelete_group (which restores a group, not an expense).

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 the use case: when you have a soft-deleted expense and want to bring it back. However, it does not provide explicit guidance on when not to use it, nor does it mention any prerequisites (e.g., the expense must be in a deleted state) or alternatives (e.g., other restore tools). The guidance is implicit rather than explicit.

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