Skip to main content
Glama
pebblehost-mcp
by numycode

Read console output

read_console
Read-only

Retrieve the most recent console output from a running Minecraft server, including lines printed while listening, to monitor activity and diagnose issues in real time.

Instructions

Returns the most recent console lines of a running server (the node keeps about the last 150), plus anything printed while listening. For older output or an offline server, read_file logs/latest.log with tail_lines.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "read_console"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesNoMaximum number of lines to return, newest last.
serverNoServer identifier or UUID. Omit to use the configured server (PEBBLEHOST_SERVER_ID); other servers are refused unless PEBBLEHOST_ALLOW_ALL_SERVERS is set.
wait_secondsNoSeconds to listen for history and new output before returning.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare the read-only, open-world nature, so the description's extra value is the retention limit (~150 lines) and that the call blocks briefly to listen for new output. It does not describe error behavior when the server is stopped or whether the read is destructive in any way, but for a read-only tool this is substantive added context.

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, both earning their place: the first defines the capability and its buffer limit, the second handles the fallback case. The core purpose is front-loaded 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?

With no output schema, the description carries the burden of explaining what comes back and does so (recent lines plus output captured during the listen window), and it names a fallback for unsupported cases. Minor gaps remain around ordering and failure behavior for a stopped server, though the schema covers ordering.

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 schema already documents lines, server, and wait_seconds with defaults and bounds. The description only loosely reinforces the listening behavior that wait_seconds controls; no new syntax or format detail is added beyond the 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?

States a specific verb and resource (returns recent console lines of a running server) along with the concrete scope limit (roughly the last 150 lines buffered by the node) and the fact that it also captures output printed while listening. This is clearly distinguishable from read_file and the other sibling tools.

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?

Explicitly routes the agent to an alternative for the cases this tool does not cover: older output or an offline server should go to read_file logs/latest.log with tail_lines. The 'running server' qualifier plus the named fallback makes the when-to-use boundary unambiguous.

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