Skip to main content
Glama

move_file

Rename or move a file within the attached Overleaf project to a new path. Note that TeX input and graphics references are not updated.

Instructions

Rename or move a file within the attached project. Does not update \input or \includegraphics references.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>",
      "new_path": "<new_path>"
    },
    "name": "move_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesExisting file, relative to the project root.
messageNoCommit message shown in Overleaf's history.
new_pathYesNew location, relative to the project root.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, open-world mutation, so the safety profile is covered. The description adds a genuinely useful caveat that \input and \includegraphics references are not rewritten, but stays silent on behavior the annotations don't cover: what happens if new_path already exists, whether the move is committed to history (the message param hints at it), and whether it can be undone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences, front-loaded with the core action and scope, followed by the single most important caveat. Nothing is redundant, though the caveat could be phrased more concretely about what the agent should do instead.

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 three-parameter rename/move tool with no output schema, the description covers the essential scope and the notable side effect on LaTeX references. The remaining gap is collision/overwrite behavior and confirmation of the commit-history semantics implied by the message parameter.

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 coverage is 100%, so path, new_path, and message are all documented in the schema, including the project-root-relative convention. The description adds no format, constraint, or interaction details for any parameter, 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?

The description names a specific action pair (rename or move) on a specific resource (a file) and bounds it to the attached project. That wording implicitly separates it from edit_file/write_file/upload_file, though it never names a sibling explicitly.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the file must already exist and the project must be attached, and the tool is for relocating/renaming rather than editing content. There is no explicit when-to-use versus delete_file, upload_file, or write_file, and no stated preconditions beyond the reference caveat.

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