Skip to main content
Glama

delete_asset

DestructiveIdempotent

Delete (tombstone) a workspace-owned input asset key, immediately blocking new admissions while preserving pins for any already-accepted generation. Destructive (requires generate scope).

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

Input Schema

NameRequiredDescriptionDefault
keyYesWorkspace-owned input asset key (e.g. "inputs/<workspace>/<uuid>.png").

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint and idempotentHint, so the description correctly does not waste space restating them wholesale. It adds genuinely new behavior: the delete is a tombstone, it immediately blocks new admissions, and it preserves pins for already-accepted generations — context an agent could not derive from the schema. It stops short of covering failure behavior, such as what happens when the key does not exist.

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?

Two dense sentences with no filler: the tombstone semantics and downstream effects come first, followed by the destructive/scope caveat. Every clause carries information the agent needs.

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 mutation tool with full schema coverage and annotations carrying safety hints, the description covers the critical semantics — soft delete, admission blocking, pin preservation, auth scope. Only edge-case behavior (nonexistent key, repeated invocation outcome) is left unstated.

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 single 'key' parameter is already documented with format examples in the schema. The description's phrase 'workspace-owned input asset key' echoes the schema rather than adding new meaning, so the baseline 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?

States a specific verb and resource — 'Delete (tombstone) a workspace-owned input asset key' — with the scope qualifier 'workspace-owned' and the parenthetical 'tombstone' clarifying that this is a soft delete rather than physical removal. This is far more specific than the bare tool name and is distinguishable from siblings like assets_list or upload_asset.

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?

Implies usage through the destructive warning and the 'requires generate scope' prerequisite, but never says when to choose this over an alternative such as purge_job_outputs, nor what to do if the key is not workspace-owned. Guidance is present but inferential rather than explicit.

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