Skip to main content
Glama
shanmukhdatta

workspace-mcp

delete_file

Permanently delete a file from the workspace using a path relative to the root. Requires explicit confirmation to prevent accidental data loss.

Instructions

Permanently delete a file inside the workspace.

Args: path: Path relative to the workspace root. confirm: Must be explicitly True; this is irreversible.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
confirmNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly states the operation is permanent and irreversible, and that the 'confirm' parameter must be explicitly True, warning the user about the destructive nature. This adds significant value beyond the schema.

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 concise and well-structured: a one-sentence summary followed by a clear Args list. Every sentence adds value, and there is no redundant information.

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

Completeness5/5

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

For a simple tool with two parameters and an output schema, the description covers all critical aspects: what the tool does, the workspace context, the irreversibility, and the confirmation requirement. No additional behavioral context seems necessary.

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

Parameters5/5

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

The input schema has no descriptions for the parameters (0% coverage). The description compensates fully by explaining 'path: Path relative to the workspace root' and 'confirm: Must be explicitly True; this is irreversible', adding essential meaning for both parameters.

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 explicitly states the tool's function: 'Permanently delete a file inside the workspace.' This uses a specific verb and resource, clearly distinguishing it from sibling tools like delete_directory and create_file.

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

Usage Guidelines4/5

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

The description clearly indicates the tool is for deleting files within the workspace, providing context for when to use it. However, it does not explicitly mention exclusions or alternatives (e.g., 'use delete_directory for directories'), stopping short of a full 5.

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/shanmukhdatta/workspace-mcp'

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