Skip to main content
Glama
playcanvas

PlayCanvas Editor MCP Server

Official
by playcanvas

read_runtime_logs

Read-only

Read console output, uncaught exceptions, and unhandled rejections from a running PlayCanvas Launch instance to debug runtime errors. Filter by severity or keyword; requires launch_start.

Instructions

Read console output (log/info/warn/error), uncaught exceptions and unhandled rejections from the RUNNING Launch instance — the first-line signal for runtime bugs. Requires launch_start first. Returns the most recent entries first, paginated (meta has total/count/hasMore/nextCursor). Exceptions and rejections are serialised as "name: message" plus their stack, so a thrown Error is readable without opening devtools. Defaults to warnings + errors; set level="all" (or debug/info/warn/error as a minimum severity) to widen, and keyword to filter. An empty result is success, not an error. When NOT to use: to read edit-time editor logs (this is the launched app only).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelNoMinimum severity to include (default: warn)
limitNoMax entries to return (default 100)
offsetNoEntries to skip from the newest (use nextCursor)
keywordNoOnly include entries whose text contains this (case-insensitive)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint=false, so the description carries real additional burden and delivers: default level=warn, reverse-chronological ordering, pagination meta fields, exception serialization format, and the important 'empty result is success, not an error' note. It stops short of describing rate limits or log-source coverage boundaries, so not a full 5.

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 core purpose and signal value, then ordering/pagination, then defaults, then the exclusion. Dense but every sentence contributes; slightly long for a read tool.

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 explains the return shape (paginated entries, meta total/count/hasMore/nextCursor, exception serialization) plus the launch_start precondition. An agent has everything needed to call and interpret it correctly.

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 genuine meaning: it clarifies that level is a minimum-severity filter (not an exact match), states the default, and explains that keyword does case-insensitive text filtering. This exceeds what the schema alone conveys.

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+resource ('Read console output ... from the RUNNING Launch instance') and enumerates the exact content types (log/info/warn/error, uncaught exceptions, unhandled rejections). It explicitly distinguishes itself from the sibling read_editor_logs by scoping to the launched app only.

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 prerequisites ('Requires launch_start first') and an explicit 'When NOT to use' clause routing the agent to editor logs instead. The default severity and the level='all' widening behavior are also spelled out, leaving nothing to inference.

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