Skip to main content
Glama

add_message_log_entry

Write a diagnostic message to a named Unreal Engine editor Message Log listing at Info, Warning, or Error severity for Window > Message Log review; entries persist only for the editor session.

Instructions

Add one message to a named editor Message Log listing (for example "PIE", "MapCheck" or a new name, created on demand) at Info, Warning or Error severity; an unrecognised severity becomes Info, and a missing log_name or message is an error. Entries stay in memory for the editor session and are never saved. Use it for diagnostics meant for Window > Message Log; print_to_output_log writes to the Output Log instead. message_count is the listing's message count after the add. Read entries back with get_message_log_entries, show the window with open_message_log, empty the listing with clear_message_log.

Returns: { added: bool, log_name: string, message: string, severity: string, message_count: int }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesThe message text to add.
log_nameYesThe message log listing name (e.g. "PIE", "MapCheck", or a custom name).
severityNoEMessageSeverity token: "Info" (default), "Warning", "Error".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: entries are in-memory for the editor session and never saved, an unrecognised severity silently degrades to Info, and a missing log_name or message is an error. These are non-obvious behaviors an agent must know and are not derivable from readOnlyHint/destructiveHint.

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?

Front-loaded with the verb and tightly packed, with zero filler. It is a single very long semicolon-chained sentence plus a Returns line, which is dense to parse, but every clause carries information an agent needs.

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

Completeness5/5

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

No output schema exists, yet the description supplies the full return shape and explains message_count ('the listing's message count after the add'). Combined with lifetime, severity fallback, error behavior, and sibling routing, nothing needed to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: the severity coercion rule and the error condition for the two required params. The log_name example values ('PIE', 'MapCheck') and the on-demand creation of new listings also clarify semantics beyond the schema text.

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 ('Add one message to a named editor Message Log listing') and immediately names the sibling it is not ('print_to_output_log writes to the Output Log instead'). An agent can distinguish this from the other log tools without opening any schema.

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

Usage Guidelines5/5

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

Gives explicit routing: 'Use it for diagnostics meant for Window > Message Log; print_to_output_log writes to the Output Log instead.' It also names the full companion set (get_message_log_entries to read back, open_message_log to show, clear_message_log to empty), so the agent knows the whole workflow, not just this call.

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