Skip to main content
Glama

Holmake

holmake

Run a quiet-output HOL4 build in the specified working directory, optionally selecting a target and configuring parallel jobs, timeout, heap size, and environment variables.

Instructions

Run Holmake --qof in directory.

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": {
      "workdir": "<workdir>"
    },
    "name": "holmake"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNoOptional environment variables (e.g. {"MY_VAR": "/some/path"})
jobsNoMax parallel jobs (-j flag). Default from HOL4_MCP_HOLMAKE_JOBS env var, or 1.
targetNoOptional specific target to build
timeoutNoMax seconds to wait (default 90, max 1800)
workdirYesDirectory containing Holmakefile
heap_sizeNoMax heap size in MB for Poly/ML builds (default 12288)
log_limitNoMax bytes per log file to include on failure (default 1024)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it says nothing about behavior: that the call blocks until the build finishes or times out, that it writes build artifacts to disk, or that logs are captured and truncated on failure (only hinted at by schema parameters). For a potentially long-running, filesystem-mutating build tool, this is a substantial gap.

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?

The single sentence is front-loaded and free of padding, which is good, but it is under-specified rather than genuinely concise. Brevity here costs the agent necessary context about a seven-parameter build operation.

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?

An output schema exists, so return values need not be explained, but the tool still has seven parameters, nested env objects, and long-running blocking semantics that the one-line description never addresses. Given the complexity and the absence of annotations, the definition leaves an agent without enough context to call it confidently or interpret a failure.

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%, with jobs, target, timeout, heap_size, log_limit and env all documented inline, so the baseline of 3 applies. The description adds nothing beyond the schema, not even clarifying that "directory" means the required workdir parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete action and command ("Run Holmake --qof") and a location ("in directory"), so the verb+resource pair is present. However, it assumes HOL4 domain knowledge and never explains that Holmake builds theory/proof artifacts, leaving an unfamiliar agent to infer the purpose from jargon. It also does nothing to distinguish this from session-oriented siblings such as hol_send or hol_start.

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 guidance: nothing says to call this instead of sending a build command through hol_send, nor any prerequisite such as a Holmakefile existing or a session needing to be started first. The only usage constraint, that workdir must contain a Holmakefile, comes from the schema, not the description.

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