Skip to main content
Glama
beckettlab

Beckett — MCP for Godot

by beckettlab

logs_read

Read-only

Reads recent lines from Godot's log file to inspect editor and played game output. Filters by error/warning level or substring, and returns the last 200 lines (configurable).

Instructions

Tail Godot's log FILE (the editor session and any played game log here). For the RUNNING game's errors/stack traces/prints in REAL TIME, prefer game_logs (runtime channel, no file needed) — this file reader is a fallback and needs file logging enabled (off by default; the result tells you how). Optional: level='error'|'warning', 'filter' substring, 'lines' (default 200), 'path' to override.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNooverride log path (default the project's log_path)
levelNoerror | warning — keep only matching lines
linesNotail this many lines (default 200)
filterNokeep only lines containing this substring

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.14.0
    • changedInput schema / properties / level / description
      Previous value: -"error | warning — keep only matching lines"New value: +"error | warning — keep only matching lines"
  2. Addedv1.12.1
  3. Removedv1.10.0
  4. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already mark the tool as read-only and non-destructive. The description adds useful operational context: file logging is off by default, the result will indicate how to enable it, and this reads the editor/played game log file. It does not contradict the annotations, though it could clarify the success return format.

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 compact and front-loaded: the core action and scope come first, followed by explicit sibling guidance and a terse parameter list. Every sentence contributes meaningful information with no filler.

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?

For a simple read-only tail tool with optional parameters, the description covers the non-obvious pieces: the fallback role, the file-logging prerequisite, and the distinction from game_logs. Since there is no output schema, a bit more detail about the successful return shape would make it fully complete, but 'tail' strongly implies returned log lines.

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 coverage is 100%, and the description mostly repeats what the schema already says: level, filter, lines, and path override. It adds no significant new parameter semantics beyond the schema, so the baseline of 3 applies.

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 clearly states a specific verb ('Tail') and resource (Godot's log FILE), and explicitly contrasts it with game_logs as the runtime channel. This differentiates it from siblings like read_file and game_logs without needing to inspect schemas.

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?

It explicitly says to prefer game_logs for real-time runtime errors, describes this tool as a fallback, and warns that file logging must be enabled. This gives concrete when-to-use and when-not-to-use guidance.

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