Skip to main content
Glama

get_console_logs

Retrieve recent Unity console output—logs, warnings, and errors—to debug asset imports and graph runs. Filter by level, message text, or stack trace to isolate issues.

Instructions

Get recent Unity console output. Returns logs, warnings, and errors.

Useful for debugging after importing assets or running graphs.

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": "get_console_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoFilter by log level (default: all)
limitNoMaximum number of entries to return (default: 50)
regexNoCase-insensitive regular expression applied to message and stack trace
containsNoCase-insensitive message substring filter
stackContainsNoCase-insensitive stack-trace substring filter
sinceTimestampNoOnly return entries at or after this Unix timestamp in milliseconds
maxResponseBytesNoMaximum UTF-8 bytes of the complete result text. Omitted entries are reported; narrow filters or explicitly raise the budget for more detail.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.7.7

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden; the verb "Get" and the returned categories imply a passive read, and the debugging framing adds context. However, it never states that the operation is read-only/side-effect free, nor does it describe ordering (recency), or that results may be truncated by the response byte budget — an important behavioral trait for an agent filtering logs.

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?

Three short lines with the resource and return shape front-loaded, and no filler. The second line partly restates the first, so it is tight but not maximally economical.

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

Completeness3/5

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

This is a 7-parameter, zero-required tool with no output schema and no annotations, so the description is the only place to explain return behavior and filter interaction — neither of which it covers. The rich schema compensates for parameter detail, but the description remains thin for a tool whose result text can be silently truncated.

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 description coverage is 100%, so every parameter (level, limit, regex, contains, stackContains, sinceTimestamp, maxResponseBytes) is already documented in the schema, including defaults and bounds. The description adds no filter syntax, combination, or precedence guidance beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Get recent Unity console output") and clarifies the payload composition ("logs, warnings, and errors"), which is enough for an agent to know what it retrieves. It does not differentiate itself from plausible siblings like get_unity_command_status, so it falls short of a 5.

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

Usage Guidelines3/5

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

"Useful for debugging after importing assets or running graphs" gives concrete usage scenarios, which is more than nothing, but it is framed as a hint rather than an explicit when-to-use rule. There is no when-not guidance and no named alternative for retrieving editor or command status.

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