Skip to main content
Glama
deepghs

overleaf-mcp

by deepghs

create_file

Create an empty text document in Overleaf to initialize new files for collaborative LaTeX editing. Pair with edit_file to insert tracked content.

Instructions

Create an empty text document. Use edit_file for tracked content insertion.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.6

TDQS

A4.1/5.0
Behavior3/5

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

With destructiveHint false, the annotations already communicate that this is a non-destructive operation. The description adds the 'empty text document' nuance, but it does not disclose behavior such as what happens if the path already exists, whether content is overwritten, or whether an error is returned. A 3 is appropriate because the safety profile is already annotated but some behavioral context is still missing.

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 two concise sentences with no filler. The core action is front-loaded, and the sibling-tool routing is stated efficiently in the second sentence.

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?

This is a low-complexity tool with one required parameter, no output schema, and a safety annotation. The description explains what the tool does and routes to edit_file when content insertion is needed. The main omission is a note about overwrite or existing-file behavior, but the tool is simple enough that the description is nearly complete.

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

Parameters2/5

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

The schema has 0% description coverage for the only parameter, 'path', and the description does not explain the parameter's meaning, format, or constraints beyond the schema's type and minLength. For low schema coverage, the description should compensate, but it does not provide any parameter-specific guidance.

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 uses a specific verb and resource: 'Create an empty text document.' It also distinguishes the tool from the sibling edit_file by noting the intended difference ('Use edit_file for tracked content insertion'), so an agent can tell them apart without inspecting schemas.

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

Usage Guidelines5/5

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

The description explicitly names an alternative tool and the condition under which that alternative should be used: 'Use edit_file for tracked content insertion.' This gives clear, direct when-to-use versus when-not-to-use guidance.

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