Skip to main content
Glama

build

Typeset a translated PDF from a work directory to a specified output path, applying layout checks and optional repair when translated text does not fit.

Instructions

Typeset the translated PDF. See guide.

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": {
      "work": "<work>",
      "out": "<out>"
    },
    "name": "build"
  }
}

Input Schema

NameRequiredDescriptionDefault
outYesoutput PDF path
workYeswork directory
forceNobuild despite check problems
budgetNoseconds before a safe stop (default 45)
no_agentNono agent repair loop

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.3

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds nothing beyond that: it never mentions that a repair loop runs by default, that a time budget triggers a 'safe stop,' or what force overrides — all of which are meaningful behavioral traits for this operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the action front-loaded, so there is no padding. However, the second sentence spends the remaining space pointing at another tool rather than delivering information that would let the agent act without a detour.

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

Completeness2/5

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

This is a multi-stage build with a repair loop, a default time budget, and a force override, and there is no output schema to explain results. The description says nothing about what a successful build produces, what happens on check failures, or what a safe stop looks like, which is thin for this complexity.

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%, so all five parameters including force, budget, and no_agent are already documented in the schema. The description adds no extra meaning about how work, out, or the flags interact, which is acceptable at high coverage but not additive.

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?

The description gives a specific verb and resource ('Typeset the translated PDF'), so the agent knows this is the rendering/build step. It does not distinguish the tool from siblings such as check, fix, or prepare, leaving the agent to infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance in the definition itself; it simply redirects to 'See `guide`.' That deferral forces the agent to invoke another tool before it can decide whether build is the right call, and no prerequisites or ordering are stated.

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

Deploy Server

Other Tools