Skip to main content
Glama

Sigmora

Delete a Library file

assets_delete
DestructiveIdempotent

Delete a Library asset nothing still uses and clear what was made from it (transcript proxy, editor media, and the stored file when it is your own upload). Refused with conflict while a composition, a saved version or another project still uses it; the error says where. Needs edit access to the asset. Not undoable. 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": {
      "assetId": "<assetId>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "assets_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetIdYesThe asset id (`id` from assets_list).
workspaceNoWorkspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored.
idempotencyKeyYesRequired for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description goes well beyond them: it enumerates exactly what is erased (transcript proxy, editor media, stored file only when it is your own upload), states it is not undoable, states the conflict behavior and that the error locates the blocker, and notes it is free (no charge). That is materially useful context an agent cannot get from annotations alone.

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?

Compact and front-loaded: the destructive action and its cascade come first, followed by refusal conditions, permissions, reversibility, and cost. Every sentence carries distinct information with no filler.

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 single-asset delete with an output schema already covering the response, the description covers the remaining burden: what is destroyed, when the call is refused, access requirements, irreversibility, and cost. Nothing an agent needs before invoking it is missing.

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 description coverage is 100%, so assetId, workspace, and idempotencyKey are already fully documented, including the retry semantics of the idempotency key. The description adds no format or identifier-source detail beyond the schema's own `id` from assets_list guidance, 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 ('Delete a Library asset') and scopes it precisely with 'nothing still uses', plus lists the derived artifacts that also get cleared. An agent can distinguish this teardown from sibling operations like `projects_assets_unlink` or `assets_rename` without opening a schema.

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 explicit preconditions and refusal conditions: it is refused with `conflict` while a composition, saved version, or another project still references the asset, and it requires edit access. Clear context for when the call will fail, though it does not name an alternative tool for removing an asset from a project without deleting it.

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