Skip to main content
Glama

AppScreenDesign 3D Screenshot Studio

delete_asset

DestructiveIdempotent

Delete an unused uploaded image asset by key from a project.

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

Input Schema

NameRequiredDescriptionDefault
keyYes
projectIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered by structured data. The description adds one piece of context beyond that: the asset is expected to be "unused", which hints at a usage guard. It does not say whether the deletion is permanent, what happens if the asset is in use, or what errors are returned, so it is a modest add-on rather than rich disclosure.

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?

A single front-loaded sentence with no filler. The only inefficiency is that "unused" is introduced without elaboration, leaving a term hanging that the rest of the definition never resolves.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Destructive behavior and idempotency are covered by annotations, and no output schema exists to explain, so the description only needs to cover preconditions and failure modes. It gestures at the precondition ("unused") but leaves the crucial question — what happens when the asset is not unused — unanswered for a permanent-delete operation.

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?

With schema description coverage at 0%, the description carries the burden of explaining the two parameters, and it only loosely does so: "key" identifies the asset and "from a project" scopes projectId. It never states the key's format, length constraints, or where a valid key is obtained, which is the main ambiguity for a destructive call.

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?

"Delete an unused uploaded image asset by key from a project" gives a specific verb (delete), a specific resource (uploaded image asset), and the lookup key, so an agent can distinguish it from delete_project and upload_asset. It stops short of naming a sibling to defer to, so it lands at 4 rather than 5.

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 word "unused" implies a precondition for when this tool is appropriate, and "by key" implies the caller must already have the asset identifier (presumably from list_assets). But there is no explicit instruction to enumerate assets first, nor any stated exclusion for assets currently in use.

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