Skip to main content
Glama

overleaf_create_file

Create an empty root-level file in an Overleaf project by providing project ID and file name.

Instructions

Create one empty root-level file. Usually unnecessary because overleaf_upload_file creates a new root-level file when no same-named file exists; use only when an empty file is specifically needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_nameYesSingle file name, for example "introduction.tex" or "references.bib"
project_idYes24-character hexadecimal Overleaf project ID from the project URL
Install Server

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It discloses that the file is empty and root-level, and clarifies the redundancy with upload_file. However, it does not state what happens if a file with the same name already exists, what error conditions may occur, or any permission side effects—leaving moderate gaps for a write operation.

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 sentences with no filler: the first states the core behavior, and the second provides the crucial usage caveat. Every clause earns its place and important information is front-loaded.

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 simple two-parameter tool with a fully documented schema, the description covers tool selection and invocation adequately. It could mention duplicate-file behavior or the response format, but the 'empty file only' guidance and root-level scope make it sufficiently complete for an agent to call it correctly.

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 both file_name and project_id documented in the input schema. The description adds no parameter-level detail beyond what the schema already provides, so the baseline score of 3 applies.

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 opens with a specific verb and precise object: 'Create one empty root-level file.' It also distinguishes itself from the sibling tool overleaf_upload_file by explaining the exact difference, so an agent can immediately tell them apart.

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 gives explicit when-to-use guidance: 'use only when an empty file is specifically needed.' It also explains why it is usually unnecessary by pointing to overleaf_upload_file's behavior when no same-named file exists, making the decision criterion fully explicit.

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