Skip to main content
Glama

unity_asset_delete

Delete Unity assets from the project. Moves to OS trash by default; enable permanent deletion or recursive folder deletion as needed.

Instructions

Delete an asset — to the OS trash by default (NOT undoable via unity_undo_last). Deleting a FOLDER is recursive and refuses without recursive:true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAsset path relative to project root (e.g. 'Assets/Scripts/MyScript.cs')
portNoUnity instance port (from unity_select_instance). Always include it when multiple instances run.
permanentNoHard-delete instead of OS trash. Default false.
recursiveNoRequired to delete a FOLDER and its contents. Default false refuses, reporting the asset count.
Behavior4/5

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

With no annotations, the description carries full burden and effectively discloses key behaviors: default to OS trash, undo implications, and folder deletion requiring recursive=true.

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 sentences, front-loaded with the core action and a critical caveat, no unnecessary or redundant content.

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?

Covers main operation and edge cases, but missing mention of return values or success feedback. Still adequate given the simplicity of delete operations.

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 100%, but the description adds context for permanent (trash vs hard delete) and recursive (folder behavior), going beyond the schema's descriptions.

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 clearly states the tool deletes an asset, defaults to OS trash, and is not undoable via unity_undo_last. It also clarifies folder deletion behavior. However, it does not explicitly distinguish this from sibling delete tools like unity_gameobject_delete.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool over alternatives, no prerequisites mentioned, and no examples of when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AnkleBreaker-Studio/unity-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server