Skip to main content
Glama

Delete a workspace file

delete_file
DestructiveIdempotent

Remove a file, or a folder with its contents, from the workspace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesRelative to the workspace.
privateKeyYesThe editor key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false, and openWorldHint=false, covering the safety profile. The description adds value beyond that by disclosing the scope of destruction: deleting a folder also removes its contents, which is not inferable from a generic destructive hint.

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?

A single tight sentence with the resource and the recursive-folder behavior front-loaded. No filler, nothing to trim.

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 two-parameter destructive mutation with rich annotations and no output schema, the description adequately covers what is deleted and that folder contents go with it. It could mention irreversibility or what the privateKey authorization implies, but nothing essential to calling the tool 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% and both parameters (path, privateKey) are documented in the schema. The description only echoes the workspace scoping already stated in the path schema, adding no new syntactic or format detail, so the baseline of 3 applies.

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?

States a specific verb (remove) and resource (file or folder with contents) scoped to the workspace, so an agent immediately knows what the tool does and that folder deletion is recursive. It doesn't explicitly name or contrast with siblings (list_files, upload_file), but the operation is unambiguous.

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?

There is no when-to-use / when-not-to-use guidance, no prerequisites, and no warning that the operation is irreversible. Sibling names are not referenced, so the agent gets no routing help beyond the verb itself.

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.