Skip to main content
Glama

delete_expense

Deletes a single expense entry to remove duplicates or correct mistakes; confirm the expense ID with the sales rep before deleting.

Instructions

Delete one expense entry (a duplicate or a mistake). Confirm the id with the rep first.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "expense_id": "<expense_id>"
    },
    "name": "delete_expense"
  }
}

Input Schema

NameRequiredDescriptionDefault
expense_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does flag a verification step before acting, which is genuine pre-destructive guidance. However, it never states whether deletion is permanent, whether it can be undone, how report totals are affected, or what permissions are required — the critical facts for an irreversible operation are left implicit.

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 verb and scope front-loaded and a caution trailing it — almost no waste. The parenthetical could be folded in, and "the rep" is slightly ambiguous without surrounding context, but the structure is efficient and easy to act on.

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 one-parameter destructive tool with no annotations and no output schema, the definition covers what it deletes and a safety step, but leaves the consequences of a successful call (permanence, effect on the expense report or totals) unspecified. It is minimally sufficient to invoke but not sufficient to invoke confidently.

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?

There is a single parameter, expense_id, whose name is largely self-explanatory, and schema description coverage is 0%. The sentence "Confirm the id with the rep first" adds only a process instruction rather than meaning about format, source, or validity of the id, so the description neither compensates for the coverage gap nor adds substantive semantics.

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 gives a specific verb and resource ("Delete one expense entry") and narrows scope with "one," so an agent knows exactly what object type is affected. It does not distinguish itself from siblings such as update_expense, which would be the alternative for correcting rather than removing an entry.

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?

It supplies a clear usage context — duplicates or mistakes — which tells the agent when deletion is appropriate, plus an operational prerequisite (confirm the id with the rep first). No explicit when-not guidance or named alternative (e.g. update_expense for a fixable error) is provided, which keeps it out of the top band.

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