Skip to main content
Glama

Compile project

compile_project

Compile one of the user's letX projects. Use when the user wants a PDF of a project or wants to check that it builds. Returns a PDF link, and the LaTeX errors from the log when there are any.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesthe project's id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"project id from list_projects"New value: +"the project's id"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and idempotentHint=false, and the description adds real value on top: it discloses that compilation returns a PDF link and, on failure, surfaces LaTeX errors from the log rather than a bare error. It does not say where the PDF is stored, whether results are cached, or what permissions are needed, so it falls short of a 5.

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?

Three short sentences, front-loaded with the action, then usage, then return behavior. No filler and nothing important buried.

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?

With no output schema, the description correctly compensates by explaining the return value (PDF link plus LaTeX errors) and the usage trigger. The remaining gap is the missing differentiation from compile_latex and the absence of any note on permissions or artifact location.

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?

There is only one parameter and schema description coverage is 100%, so the schema already fully documents project_id. The description adds no format, scoping, or sourcing detail beyond it, which is the expected baseline when the schema does the work.

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 and resource ("Compile one of the user's letX projects"), so the action is unambiguous. However, it never distinguishes itself from the very close sibling compile_latex, leaving the agent to guess which compile tool applies to a project versus raw LaTeX.

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 two concrete triggering situations: the user wants a PDF, or wants to verify the project builds. That is clear context for when to use it, but there are no exclusions or explicit routing to the sibling compile_latex.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources