Skip to main content
Glama

Delete an asset or a debt

delete_asset
Destructive

Deletes one of the customer's own assets or debts. Take the id and the module_state from list_assets. Confirm the delete with the customer before you call this tool: the asset cannot be restored. When module_state is edit_restarts_alignment, also tell the customer that the delete restarts the alignment of the couple and can email the partner, and get a yes. After an asset, family, or allocation write, tell the customer that the alignment restarted when alignment_restarted is true. Tell the customer that the partner got an email when partner_emailed is true. When a value is false, say nothing about it. When the customer asks about these values, answer from the results of all the writes in this conversation. Send the module_state that you read as expected_module_state, also when it is open.

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": {
      "id": "<id>"
    },
    "name": "delete_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe id from the list tool. Only an own row of the customer.
expected_module_stateNoThe module_state that you read from the list or describe tool of this module, also when it is open. When the state is now different, the tool saves nothing and gives the new state.

Output Schema

NameRequiredDescriptionDefault
idYes
statusYes
app_urlYes
partner_emailedYesTrue when the partner got an email that the alignment restarted.
alignment_restartedYesTrue when the write restarted the alignment of the couple.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the destructive/non-idempotent annotations: irreversible ('cannot be restored'), the edit_restarts_alignment side effect on the couple's alignment, the partner email, and the expected_module_state concurrency guard that aborts the write. It also tells the agent how to report alignment_restarted and partner_emailed and to stay silent on false values.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and confirmation requirement are front-loaded, but the description sprawls into post-write reporting rules that span other tools ('after an asset, family, or allocation write...', 'answer from the results of all the writes in this conversation'). Those sentences are functional but make a delete tool's description carry cross-tool conversation policy, diluting focus.

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 destructive two-parameter tool with an output schema, the description covers prerequisites, irreversibility, side effects, the concurrency guard, and how to interpret the returned flags. An agent has everything needed to call it safely and report results 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 documents both id and expected_module_state, including the stale-state abort behavior. The description mostly restates that ('Send the module_state that you read as expected_module_state, also when it is open') and adds only the minor detail that the id comes from list_assets, so the baseline of 3 applies.

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?

States a specific verb and resource ('Deletes one of the customer's own assets or debts') and scopes it to the customer's own rows, which separates it from delete_family_member and the update/add asset siblings. The mention of where the id comes from (list_assets) reinforces the distinction.

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?

Gives a concrete precondition (take id and module_state from list_assets) and a mandatory confirmation step before calling. It doesn't explicitly say when not to use it (e.g., family members vs assets), but the ownership constraint and source-of-id guidance cover the main selection risk.

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