Skip to main content
Glama

rename_entity

Destructive

Rename a file or document within an Overleaf project by specifying its current path and new basename, with user confirmation required before writing.

Instructions

Rename a file or document within an Overleaf project. Asks the user to confirm in the MCP client before writing.

Input Schema

NameRequiredDescriptionDefault
new_nameYesNew filename (basename only, not a full path)
project_idYesThe Overleaf project ID
remote_pathYesCurrent path of the file/document within the project

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

The description significantly elevates transparency by disclosing that the tool 'Asks the user to confirm in the MCP client before writing.' This provides essential information about the operational flow that is not covered by the destructiveHint annotation.

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 definition is extremely concise. Each sentence is necessary, direct, and immediately addresses the function and safety mechanism, allowing for rapid ingestion by the AI agent.

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?

The definition is highly complete. It covers the 'what' (renaming entity), the 'where' (Overleaf project), and the 'how' (requiring MCP confirmation), which manages the main risk inherent in this mutation tool.

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?

Since schema description coverage is 100%, the input schema already provides clear descriptions for all parameters. The description does not add value beyond explaining the 'why' of the action.

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 purpose is stated clearly: to rename a file or document within an Overleaf project. This distinguishes it from other sibling tools like `rename_project` which focuses on the project name itself.

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?

While it doesn't explicitly name alternatives like `move_file`, it provides a critical operational guideline by stating that user confirmation is required, setting clear expectations for high-risk mutation operations.

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