Skip to main content
Glama

overleaf_delete_file

Delete one file from an Overleaf project after previewing it. Use confirm:false to inspect the exact path, then confirm:true to remove it permanently only after explicit approval.

Instructions

Delete exactly one project file. First call with confirm omitted/false to inspect it; call again with confirm: true only after the user explicitly approves that exact path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoMust be true to perform the deletion. Defaults to false.
file_pathYesFile path to delete, for example "figures/unused.png"
project_idYes24-character hexadecimal Overleaf project ID from the project URL
Install Server

TDQS

A4.2/5.0
Behavior4/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 exposing destructive behavior. It clearly warns that deletion is gated by confirm:true and explains the inspect-then-confirm flow. It could add irreversibility or return-format details, but the core behavioral risk is well disclosed.

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 tight sentences with no filler. The main purpose is front-loaded, followed by the essential confirmation workflow, and every clause earns its place.

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 destructive single-file deletion operation, the description covers the critical invocation pattern and safety condition. It lacks an explicit note about the return value or irreversibility, but the schema plus confirmation guidance is sufficient for correct invocation.

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%, with each parameter already explained including an example and a regex pattern for project_id. The description reinforces the confirm workflow but does not add significant new parameter-level meaning beyond the schema.

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?

States a specific action ('Delete exactly one project file') with a clear resource and scope ('exactly one'), making its purpose unmistakable. This clearly differentiates it from sibling file operations like create, rename, and upload.

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?

Provides an explicit two-step safety workflow: call with confirm omitted/false to inspect, then call with confirm:true only after user approval. It does not explicitly name alternatives or exclusion criteria, but the destructive nature makes the confirmation protocol the most relevant guidance.

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

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/jcswhldbb/overleaf-paper-mcp'

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