Skip to main content
Glama

Run MCBE Command

mcbe_run_command

Execute Minecraft Bedrock commands without a leading slash and return raw in-game output for validation, automation, or debugging.

Instructions

Execute any Minecraft command and return raw output as seen in-game. For setblock/fill use JSON states, e.g. 'setblock ~ ~ ~ minecraft:oak_stairs {"weirdo_direction":0,"upside_down_bit":true}'. Common: facing_direction(0-5=down/up/north/south/west/east), weirdo_direction(0-3), upside_down_bit(true/false), open_bit(true/false), pillar_axis(x/y/z), direction(0-3).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "command": "<command>"
    },
    "name": "mcbe_run_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandYesMinecraft command without leading slash

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations exist, so the description must state behavior on its own. It covers the return value ('raw output as seen in-game'), but says nothing about required operator/permission level, whether commands mutate the world, error behavior, or what happens on invalid syntax. For a tool that can run any command, including destructive ones like fill or kill, that is a significant disclosure gap.

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?

The purpose sentence and the alternative-format guidance come first, and every sentence adds information. The dense inline block-state list is slightly hard to read, because the fields are packed into one sentence without separators, but nothing is wasted.

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?

For a one-parameter tool with no output schema, the description covers purpose, return type, and value format well. It is still silent on prerequisites, safety implications, and failure modes, which matter a great deal when the tool executes arbitrary in-game commands.

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?

There is only one parameter and its schema coverage is 100%, setting a baseline of 3, but the description adds useful semantics: the argument is raw command text, and block placement commands need JSON state objects with named bit fields. The list of common block-state keys gives an agent a concrete convention the schema does not supply.

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 opens with a specific verb and resource: 'Execute any Minecraft command and return raw output as seen in-game.' That clearly identifies the tool's function and its return shape. It does not differentiate itself from the sibling mcbe_run_script, so it stops 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?

Guidance is limited to formatting hints: use JSON states for setblock/fill plus a list of common block-state keys. There is no explicit statement about when to reach for this tool instead of mcbe_run_script, nor any note on limits such as command length or permission level.

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