Skip to main content
Glama

Delete asset

delete_asset
Destructive

Deletes an asset by file name or the upload path returned by asset_upload_url, removing unwanted source media from a Levea project.

Instructions

Delete an asset by file name (the path returned by asset_upload_url).

Input Schema

NameRequiredDescriptionDefault
fileNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, so the unsafe mutation profile is covered. The description adds practical context about where the fileName comes from but does not explain irreversibility, confirmation expectations, or post-deletion effects.

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?

The description is a single, front-loaded sentence with no wasted language. It puts the core action first and the identifier clarification second.

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 annotations covering the safety profile and no output schema, the description is nearly complete. It only lacks explicit mention of permanence or any confirmation requirement.

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 description coverage is 0%, so the description must compensate for the single undocumented parameter. It does this reasonably well by identifying fileName as an asset file name and tying it to the path returned by asset_upload_url, though it does not provide format examples.

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?

The description states a specific verb and resource ("Delete an asset") and immediately clarifies the identifier needed via the parenthetical about the file name. An agent can distinguish this from sibling asset tools such as list_assets or asset_upload_url.

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 description gives useful context by noting the file name is the path returned by asset_upload_url, but it does not explicitly state when to use this tool versus alternatives or outline any preconditions beyond the identifier source. The usage is implied by the destructive action and parameter requirement.

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