Skip to main content
Glama

get_compile_log

Retrieve the most recent LaTeX compilation log for a CSTCloud project, including raw output and parsed errors/warnings with file and line details; run compile_project first.

Instructions

Get the compilation log from the most recent LaTeX build of a CSTCloud project. Returns both the raw log text and parsed error/warning entries with file and line information. Call compile_project first to trigger a compilation.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>"
    },
    "name": "get_compile_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNoIf true, return the full raw log. If false (default), return only parsed errors/warnings.
project_idYesThe project ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It does well on return shape (raw log plus parsed errors/warnings with file and line) and the build dependency, but says nothing about behavior when no compilation exists, whether the log is truncated, or access requirements for a read of project build output.

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?

Three short sentences, front-loaded with what is retrieved, then what is returned, then the prerequisite. Every sentence carries information; only the return-value sentence introduces a small ambiguity against the schema.

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?

No output schema exists, and the description compensates by describing the return payload and its error/warning structure with file/line data. The main remaining gap is the no-build-yet case for a tool whose entire value depends on a prior compilation.

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 both parameters are already documented, making 3 the baseline. The description slightly muddies rather than clarifies the `raw` flag: it says the tool "Returns both the raw log text and parsed error/warning entries," while the schema says raw=true returns the full raw log and raw=false returns only parsed entries.

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 ("Get the compilation log") scoped precisely to "the most recent LaTeX build of a CSTCloud project," which separates it cleanly from compile_project and the file-oriented siblings. An agent can tell exactly what it retrieves 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 an explicit prerequisite ordering ("Call compile_project first to trigger a compilation"), which is the key usage decision for this tool. It doesn't state what happens if no build has ever run, and offers no explicit when-not guidance, so it falls short of a full 5.

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