Skip to main content
Glama

Delete an asset

delete_asset
Destructive

Remove an asset from Clipwright so it disappears from the list immediately and cannot be used in new generations; the file is deleted after 7 days, while existing runs remain unchanged.

Instructions

Delete an asset: it leaves the list at once and no new generation can use it; its file goes after 7 days. Runs made with it stay. Free.

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

Input Schema

NameRequiredDescriptionDefault
asset_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.39.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Addedv0.33.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, and the description goes well past that: it discloses the immediate list removal, that no new generation can reference the asset, the 7-day delay before the file is actually purged, that prior runs are preserved, and that the call costs nothing. That is exactly the context an agent needs before a destructive call.

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?

Four short clauses with zero filler, and the most important fact (the asset leaves the list at once) is front-loaded. The semicolon-separated structure keeps distinct behaviors separable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 output schema and annotation coverage of the safety profile, the description covers nearly everything behavioral: timing of removal, file purge window, impact on existing runs, and cost. The only real gap is provenance/format guidance for asset_id.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter asset_id is documented only by a regex pattern. The description never says where an asset_id comes from (e.g. list_assets or create_asset) or that it must be the ast_ form, so it does not compensate for the missing schema descriptions.

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?

Opens with a specific verb and resource ('Delete an asset') and immediately scopes the meaning of deletion, distinguishing it from update_asset, get_asset and list_assets in the sibling set. The clause about existing runs staying clarifies which artifacts are unaffected.

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 consequences described (immediate removal, blocked from new generations, 7-day file retention) implicitly tell the agent when deletion is the right move, but there is no explicit when/when-not guidance and no pointer to alternatives such as update_asset when the user only wants to modify an asset.

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