Skip to main content
Glama

delete_asset

Destructive

Remove a reusable asset and its previews; requests are refused while a composition still shows it, and example marks can be removed too.

Instructions

Delete a reusable asset and its previews. Refused while a composition still shows it (the error names them). Marks judged on it keep their clip and snapshot and list as gone, unless examples="delete" removes them too.

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

Input Schema

NameRequiredDescriptionDefault
nameYesAsset name (file in assets/ without .json)
basisNoWhat you read and followed to make this change, as refs from search or lookup: rule:<lint or taste rule>, taste, feedback:<id> (earlier feedback this follows; what it answers goes in feedback), commit:<id> (an earlier change it builds on), asset:, template:, skill:… The person sees them under the change, so they know why it is this way. Name only what shaped it.
messageNoOne line saying why, kept with the change in the history
examplesNokeep
feedbackNoIds of the feedback this change answers (notes and marks from list_notes, list_examples or the conversation). When the person keeps the change it joins the record of that feedback, and when they then mark the feedback resolved it is the fix; when they take it back, the feedback opens again.
confidenceNoHow sure you are this change is what the person wants. high: they asked for exactly this, or you measured it against a reference. medium: you inferred it from the taste, a rule or earlier feedback. low: you are guessing, or it changes something they did not ask about. The person's threshold decides which changes stand by themselves and which wait for them to keep; say it honestly on every change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.2
    • addedInput schema / properties / confidence
      Added value: +{
      +  "description": "How sure you are this change is what the person wants. high: they asked for exactly this, or you measured it against a reference. medium: you inferred it from the taste, a rule or earlier feedback. low: you are guessing, or it changes something they did not ask about. The person's threshold decides which changes stand by themselves and which wait for them to keep; say it honestly on every change.",
      +  "enum": [
      +    "high",
      +    "medium",
      +    "low"
      +  ]
      +}
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, and the description adds substantial behavior beyond them: the call is blocked while a composition references the asset and the error names those compositions, marks retaining their clip and snapshot while listing as gone, and the examples="delete" override that additionally removes them. That is exactly the cascade and refusal detail an agent needs before invoking a destructive tool.

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?

Three sentences, no filler, with the destructive action front-loaded before the refusal condition and the cascade exception. The middle clause about marks is dense and slightly jargon-heavy ('list as gone'), costing a little readability.

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, non-idempotent mutation with no output schema and six parameters, the description covers the risky parts: what gets destroyed, the precondition that blocks deletion, and the parameter that widens the blast radius. Return format is not explained, but the description states the error names blocking compositions, which is the failure information an agent needs.

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

Parameters4/5

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

Schema coverage is 83%, so the baseline is 3, but the description adds real meaning for the undocumented `examples` enum by explaining that keep (the default) preserves example marks while "delete" removes them too. It does not touch `basis`, `feedback`, `message`, or `confidence`, which the schema already covers.

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 uses a specific verb and resource ('Delete a reusable asset and its previews') and discloses the cascading scope (previews). It does not explicitly differentiate itself from siblings like delete_composition or delete_reference, so an agent must infer the boundary from the asset naming convention.

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?

Usage context is implied rather than stated: the tool applies to reusable assets, and the refusal condition ('Refused while a composition still shows it') tells the agent when the call will fail. There is no explicit 'use this instead of delete_composition when…' routing, so guidance remains partial.

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

Deploy Server

Other Tools