Skip to main content
Glama

execution_journal_log

Log structured progress, errors, or decisions to a running execution journal by supplying a message and optional event details. Records step outcomes and artifacts for later audit and validation.

Instructions

Append a structured entry to an execution journal.

Args: journal_path: Path returned by execution_journal_start message: Short progress, validation, or failure note event_type: progress, tool_call, verification, decision, error, etc. tool_name: Optional MCP tool or Unreal command name success: Whether this step succeeded severity: debug, info, warning, error, or critical inputs: Optional summarized inputs for the step outputs: Optional summarized outputs or evidence artifacts: Optional file or asset paths produced/observed risk_level: Optional low/medium/high/critical risk label metadata: Optional additional data for later audit

Returns: JSON string with StructuredResult and updated journal stats.

KB: see knowledge_base/32_AGENT_PLAYABLE_SLICE_RECIPE.md#overview Example: execution_journal_log(journal_path="/Game/MCP_Test/Example", message="Example")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsNo
messageYes
outputsNo
successNo
metadataNo
severityNoinfo
artifactsNo
tool_nameNo
event_typeNoprogress
risk_levelNo
journal_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It clearly states the side effect (append), the prerequisite (active journal path from execution_journal_start), and the return format (JSON string with StructuredResult and updated stats). This is more transparent than typical MCP descriptions, though it does not mention failure modes or idempotency.

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?

The description is appropriately sized for a tool with 11 parameters: a one-sentence purpose, a compact argument list, a returns line, a KB pointer, and one example. Information is front-loaded and every component contributes to usability.

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?

The description covers all parameters, the return type, an example invocation, and a KB reference for deeper detail. It lacks explicit preconditions (beyond the journal_path dependency) and error-handling notes, but given the output schema exists and the KB reference, it is nearly complete for calling the tool successfully.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Every parameter in the schema is repeated in the description with a semantic explanation, fully compensating for the 0% schema description coverage. The relationship between journal_path and execution_journal_start is clarified, and optional fields are labeled. This exceeds the baseline because the description adds meaning beyond the raw type definitions.

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?

The description opens with a specific verb and resource: 'Append a structured entry to an execution journal.' This clearly distinguishes it from journal lifecycle tools like execution_journal_start/finish and from other unrelated tools. The agent knows exactly what the tool does without inspecting 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 Guidelines3/5

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

The description implies usage by stating that journal_path must be a value returned by execution_journal_start, which establishes a dependency and a sequence. However, it does not explicitly say when to use this tool versus execution_journal_finish, nor does it note any exclusions or alternatives. The KB link hints at context, but the guidance remains implicit rather than explicit.

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