Skip to main content
Glama

Create a project

create_project

Create a new LaTeX project, blank or from a template, and return its ID, content version, and seeded files so write tools can edit it.

Instructions

Create a new project, blank or from a template, and return its id for the write tools, with contentVersion (pass it as base_version to the first write) and the files the template seeded. Needs a token with access to all projects — a project-scoped token cannot create; if refused, relay that to the user (they can mint an unscoped token in Settings → Agent access).

Input Schema

NameRequiredDescriptionDefault
nameYesProject name shown in the workspace.
templateNoTemplate id from the workspace gallery: a folder template ("article", "beamer", "report", "iac-paper") or a venue kit ("venue:neurips", "venue:elsarticle", …; the publisher's class files are downloaded when they are not installed). An unknown id is refused with the full list. "blank" creates a project with no files and no main document — the first .tex written becomes it. Omit for a starter main.tex + references.bib.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the auth requirement and the specific failure mode for project-scoped tokens, how to surface that failure to the user, and the returned contentVersion contract ('pass it as base_version to the first write') that prevents a downstream write error. That is exactly the kind of context annotations (readOnly=false, idempotent=false) cannot convey.

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?

Return values and the blank/template distinction are front-loaded, then auth caveats follow. It's a single dense, em-dash-heavy sentence that takes close reading, but every clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description supplies the return contract (id, contentVersion, seeded files) and the follow-on usage of contentVersion. Auth prerequisites and error handling round it out; nothing an agent needs to call and chain from this tool is missing.

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% and the 'template' property already documents folders, venue kits, 'blank', and the omit-default in detail. The description's mention of 'blank or from a template' and 'files the template seeded' restates rather than extends that. Baseline 3 applies since the schema does the heavy lifting.

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 verb and resource ('Create a new project'), names both modes (blank or from a template), and enumerates what it returns (id, contentVersion, seeded files). This is clearly distinguishable from siblings like list_projects or trash_project without opening the schema.

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?

Gives a concrete precondition (a token with access to all projects; a project-scoped token cannot create) and an escalation path (relay the refusal; the user can mint an unscoped token in Settings → Agent access). It doesn't contrast against any sibling tool, but for a create operation the usage context is otherwise fully covered.

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