Skip to main content
Glama
openl-tablets

OpenL MCP Server

Official

Delete Project File

openl_delete_project_file
Destructive

Delete a file or folder from a project by its project-relative path. Staged deletion in working copy requires commit with openl_save_project.

Instructions

Delete a file or folder from a project by its project-relative path. Maps to DELETE /projects/{projectId}/files/{path}. The backend auto-cleans dangling references to the deleted resource from the project configuration. Like writes, the deletion is staged in the working copy — commit it with openl_save_project. Use 'branch' to pin the project's branch (omit for local/non-branch repositories). Use this to remove legacy assets or deprecate docs. This is a destructive operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesProject-relative path to the resource (e.g. 'rules/Model.xlsx'). Do NOT include the project name itself; paths are relative to the project root. A trailing slash denotes a folder.
branchNoBranch the project must be on for this operation. Ignored when blank. Fails if the repository has no branches or the project is on another branch. Omit for repository 'local' and non-branch repositories.
projectIdYesProject ID returned by backend. Use the exact 'projectId' value from openl_list_projects() response without modification or reformatting.
response_formatNoResponse format: 'json' for structured data, 'markdown' for human-readable (default), 'markdown_concise' for brief summary (1-2 paragraphs), 'markdown_detailed' for full details with contextmarkdown
Behavior5/5

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

Annotations (destructiveHint: true, openWorldHint: true) are supplemented with rich context: auto-cleans dangling references, deletion is staged, and requires a separate commit. This goes well beyond the simple 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?

Five sentences, each earning its place: action, API mapping, side effect, usage scenario, and warning. Front-loaded with the core verb and resource.

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 key aspects for a delete tool: what it does, parameter nuances, side effects, and commit requirement. No output schema is expected for a delete; however, error conditions (e.g., nonexistent path) are not mentioned. Reasonably complete given the tool's simplicity.

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?

With 100% schema coverage, the description still adds value: clarifies that paths are project-relative and must not include the project name, explains the trailing slash convention for folders, and instructs to use the exact projectId from openl_list_projects(). The branch and response_format parameters are sufficiently explained.

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 clearly states the tool deletes a file or folder by project-relative path, maps to a specific API endpoint, and distinguishes its use case ('remove legacy assets or deprecate docs') from sibling tools like openl_move_project_file or openl_write_project_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?

Explicitly states when to use ('remove legacy assets or deprecate docs') and explains the staging/commit workflow ('Like writes, the deletion is staged in the working copy — commit it with openl_save_project'). Mentions branch pinning but does not explicitly contrast with alternatives like openl_write_project_file for replacing content.

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/openl-tablets/openl-mcp'

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