Skip to main content
Glama

Hol Log

hol_log

Read the build log for a specific theory after Holmake to inspect warnings or errors in detail, with an optional byte limit.

Instructions

Read build log for a specific theory.

Use after holmake to inspect warnings or errors in detail.

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>",
      "theory": "<theory>"
    },
    "name": "hol_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax bytes to return (default 1024, 0 for unlimited)
theoryYesTheory name (e.g., "fooTheory")
workdirYesDirectory containing .hol/logs/

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden, and it does establish that this is a read of an existing log file rather than a build trigger. It says nothing about what happens if no log exists for the theory, whether a session must be running, or how the limit truncation manifests.

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 sentences, no filler, with the operation stated first and the usage condition second. Every sentence earns its place.

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

Completeness3/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, and all three parameters are documented. What is missing is the precondition story: whether holmake must have already run in that workdir and what the agent sees when the log is absent.

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 workdir, theory, and limit are already documented in the schema. The description reinforces that the log is scoped to a single theory but adds no detail on the limit semantics or expected theory naming.

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 names a specific verb and resource: read the build log for a specific theory. That is concrete enough to distinguish it from the plural sibling hol_logs, but it never explicitly states the distinction, so the agent must infer it from the names.

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?

"Use after holmake to inspect warnings or errors in detail" gives clear timing and intent, which is exactly the context an agent needs to sequence this call. It stops short of exclusions or naming alternatives (e.g., when to prefer hol_logs or hol_file_status).

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