Skip to main content
Glama

Delete an app file

file_delete
DestructiveIdempotent

Permanently delete a specific file stored by an app. Provide the app and path to remove the file, with a command ID for idempotent requests.

Instructions

Permanently delete one file an app has stored.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appYes
pathYes
actorNo
command_idYesidempotency key (uuid)
request_stateNo
expected_versionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
appYes
noteNo
pathYes
reasonNo
deletedNo
previewNo
expires_atNo
files_versionNo
request_stateNo
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false. Description adds 'permanently' which indicates irreversibility, and specifies scope to files an app has stored. However, no details on error behavior or version considerations.

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?

One sentence, front-loaded, no waste. Directly communicates action and scope.

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?

Tool has 6 parameters and output schema, but description is extremely minimal. It doesn't address idempotency implications or concurrency controls (expected_version). However, given annotations and output schema, it's moderately complete for a simple delete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 17% (command_id), and description provides no parameter explanations. Parameter names are self-evident, but description does not clarify semantics for expected_version, actor, or request_state.

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?

Description uses specific verb 'Permanently delete' and resource 'one file an app has stored,' clearly distinguishing from delete_app and file_write tools. Scope is precise.

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?

No explicit guidance on when to use vs alternatives like file_write or delete_app. Context implies deletion of app-stored files, but no direct exclusions.

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/2nd1st/open-mcp-apps'

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