Skip to main content
Glama
brotato-controller

brotato-controller

by dzhen1515

inspect_game

Read-only

Retrieves Brotato scene tree or singleton data with bounded depth, node count, and size limits for safe game-state inspection.

Instructions

Inspect scene tree or singletons (bounded: max_depth<=6, max_nodes<=500, <=64KB).

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

Input Schema

NameRequiredDescriptionDefault
pathNo/root
targetNoscene
max_depthNo
max_nodesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.5

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already establish readOnly and non-destructive, so the description is not obligated to restate safety, and it does not. Instead it adds genuinely new behavioral context: hard caps on traversal depth (6), node count (500), and payload size (64KB), which tells the agent results may be truncated and must be requested incrementally.

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?

A single front-loaded sentence with the resource named first and limits compacted into a parenthetical; there is no filler. The compact '<=64KB' leaves mild ambiguity about whether the cap applies to output size or input, but nothing is wasted.

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

Completeness2/5

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

With four parameters at 0% schema coverage and no output schema, the description should explain what 'path' addresses, what values 'target' accepts, and roughly what a node record looks like. It covers only the budget constraints, so an agent knows the limits but not the addressable surface or result shape.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry all parameter meaning. It partially does by implying max_depth and max_nodes caps and hinting that 'target' selects scene tree versus singletons, but 'path' (default /root) is never mentioned and no accepted values for 'target' are given, leaving the two most decision-relevant parameters undocumented.

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?

The description names a specific verb ('Inspect') and two concrete resources ('scene tree or singletons'), which is enough for an agent to know it returns game structure rather than state, strategy, or session data. It does not explicitly contrast itself with get_game_state, but the resource is distinct enough to be actionable.

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

Usage Guidelines2/5

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

There is no statement of when to reach for this tool versus get_game_state or get_strategy, and no prerequisites or exclusions. The 'scene tree or singletons' phrasing hints at a choice of target, but the agent must infer that this is a debugging/structure-inspection tool rather than a state query.

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