Skip to main content
Glama

Delete Expense

tripsy_expenses_delete
Destructive

Delete a Tripsy expense by id. Safety: Closed-world: operates within the authenticated user's Tripsy account and accessible trips. Destructive: this tool can remove or broadly mutate Tripsy data.

Input Schema

NameRequiredDescriptionDefault
idYesTripsy subresource id.
trip_idYesTripsy trip id.

Output Schema

NameRequiredDescriptionDefault
dataNoTripsy API response payload or tool-specific structured data.
summaryYesShort human-readable summary of the Tripsy operation result.
status_codeNoHTTP status code returned by the Tripsy API when the tool called the API.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

The safety sentences largely restate what the annotations already declare (destructiveHint=true, openWorldHint=false). They add scoping language about the authenticated account and accessible trips, but disclose nothing new about the deletion itself — whether it is permanent or soft, whether it cascades to splits/attachments, or what error occurs for a missing id.

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?

Two short sentences with the action front-loaded and no filler. The second sentence is largely boilerplate duplicating the annotations, which keeps it from a 5.

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?

The output schema and annotations cover return shape and the destructive/closed-world profile, so the basics are present. For a destructive delete tool, however, the description omits the key behavioral detail an agent needs — irreversibility and side effects — leaving a meaningful gap.

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?

With 100% schema description coverage, both required parameters (id, trip_id) are already documented in the schema. The description adds no meaning beyond that, such as why trip_id and id are both required or what id namespace is used, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource — 'Delete a Tripsy expense by id' — which cleanly separates it from the expenses_create/list/show/update siblings. It stops short of naming alternatives explicitly, but the operation is unambiguous.

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

Usage Guidelines2/5

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

There is no guidance on when deletion is appropriate versus when to use tripsy_expenses_update, no mention of preconditions (permissions on the trip, whether the expense exists), and no advice on confirming irreversibility before calling. Usage is only implied by the verb.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.