Skip to main content
Glama

read_test_log

Read-onlyIdempotent

Reads and filters plugin test/debug logs from Minecraft servers using configurable prefixes and incremental reading to monitor testing events.

Instructions

Read plugin test/debug logs filtered by a configurable prefix.

Only lines containing the configured LOG_PREFIX (default ``[TEST]``) are
returned.  Supports incremental reading: pass the ``position`` value from a
previous call as ``since_position`` to only get new entries.

Args:
    since_position: Byte offset to start reading from (0 = beginning).
    event_filter: Optional event type filter (e.g. ``PASS``, ``FAIL``,
        ``SUMMARY``).  Only lines matching ``{prefix} {event_filter}`` are
        returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
since_positionNo
event_filterNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already provide readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=false, covering safety and idempotency. The description adds valuable behavioral context beyond annotations: it explains the filtering logic (only lines with LOG_PREFIX), default prefix '[TEST]', incremental reading mechanism, and event filtering syntax, which are not captured in annotations.

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 and front-loaded: the first sentence states the core purpose, followed by key behavioral details, and ends with a structured 'Args' section. Every sentence adds value without redundancy, making it efficient and well-organized.

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?

Given the tool's complexity (filtered, incremental reading), annotations cover safety aspects, and an output schema exists (so return values need not be explained), the description is complete. It adequately explains purpose, usage, behavior, and parameters, leaving no significant gaps for the agent to operate correctly.

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?

Schema description coverage is 0%, so the description carries full burden. It effectively compensates by detailing both parameters: 'since_position' is explained as a byte offset for incremental reading with default 0, and 'event_filter' is described with examples (e.g., 'PASS', 'FAIL') and matching syntax, adding clear meaning beyond the basic schema.

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 the verb 'Read' and resource 'plugin test/debug logs', specifying they are 'filtered by a configurable prefix'. It distinguishes from sibling tools like 'read_server_log' by focusing on test/debug logs with a specific prefix mechanism, not general server logs.

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?

The description provides clear context for when to use this tool: for reading filtered test logs with incremental reading capability. It implies usage for monitoring test events but does not explicitly state when not to use it or name alternatives among siblings, such as 'read_server_log' for non-test logs.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MinecraftCodeFoundary/Minecraft-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server