Skip to main content
Glama

AssetLab

Delete expense

delete_expense
DestructiveIdempotent

Delete an expense by ID. Requires expenses:write scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesExpense ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true, covering the safety profile. The description adds useful behavioral context beyond annotations by stating the required authorization scope ('expenses:write'), though it does not detail side effects such as cascading deletions or error behavior.

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 two short sentences with no wasted words. The core action is front-loaded, followed by the authorization requirement.

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 simple one-parameter delete tool, the description supplies the purpose, the identifying parameter, and the required scope. Annotations already convey destructive and idempotent behavior, so no further detail is needed for an agent to select and invoke it correctly.

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 coverage is 100%, and the schema already describes the single 'id' parameter as the expense ID with UUID format. The description's 'by ID' adds no meaning beyond what the schema already provides, so the baseline of 3 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 states a specific verb ('Delete') and resource ('an expense'), and 'by ID' identifies the required parameter. It is immediately distinguishable from sibling operations like get_expense, update_expense, list_expenses, and create_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 tool's purpose implies when to use it (to remove an expense), and the description adds a prerequisite ('Requires expenses:write scope'). However, it does not name alternatives or explain when not to use this tool versus update_expense or other deletion endpoints.

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.

Resources