Skip to main content
Glama

Compile project

compile

Build an Overleaf LaTeX project and report errors and warnings with file and line numbers for debugging.

Instructions

Compile the project on Overleaf and report errors and warnings with file and line numbers. Web mode only (opt-in, see README).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
draftNoFast draft compile (no images).
projectNoProject ID or Overleaf project URL (or project name in web mode). Defaults to OVERLEAF_PROJECT_ID.
raw_log_linesNoAlso return the last N lines of the raw log.
include_badboxesNoList overfull/underfull box warnings (default false).
include_warningsNoList warnings (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the output shape (errors and warnings with file and line numbers) and a mode restriction, but says nothing about permissions, whether a PDF artifact is produced, compile time/timeout behavior, or whether a failed compile still returns a result.

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 tight sentences with the action and output front-loaded and the mode constraint placed after. Every clause earns its place with no filler.

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 five-parameter tool with a fully documented schema and no output schema, the prose result description (errors/warnings with file and line numbers) plus the mode note is close to sufficient. Minor gaps remain around prerequisites and failure behavior.

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 all five parameters (draft, project, raw_log_lines, include_badboxes, include_warnings) are already fully documented in the schema. The description adds no parameter-level meaning beyond that, so the baseline of 3 is appropriate.

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?

States a specific verb (compile) and resource (the Overleaf project) and describes the result: errors and warnings with file and line numbers. No sibling tool performs compilation, so the purpose is unambiguous, though there is no explicit differentiation text against siblings like download_pdf.

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?

The description adds a genuine precondition ("Web mode only (opt-in, see README)"), which tells the agent when the tool is available. However, it gives no guidance on when to compile versus other actions, no mention of prerequisites like the project needing to be synced, and it defers detail to an external README the agent cannot read.

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