Skip to main content
Glama

Simulate and test a design

simulate
Read-onlyIdempotent

Run a redstone design with its own test (inputs and expectations) and return which expectations hold and which fail (with what the block was instead, and when), what visibly changed (lamps, pistons, doors, dispensers) and when, dispenser shots, and notes on what broke. Without a test it just runs the machine and reports what changed. Use it on every candidate before showing it. Do not use it to display a design to the user: use show.

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": {
      "design": "<design>"
    },
    "name": "simulate"
  }
}

Input Schema

NameRequiredDescriptionDefault
designYesA machine: a list of blocks plus what it is for. See the server instructions for block types and rules.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / design / properties / test / properties / inputs / description
      Previous value: -"What a player does: {tick, do, at: [x,y,z]}. do: pull (lever), press (button), use (wooden door, wooden trapdoor, fence gate, note block, bell, redstone ore, item frame, cake or jukebox; optional look), stand (step onto a pressure plate, string or redstone ore), leave (step off), throw (a snowball at a target), strike (lightning strikes a lightning rod), turn_page (lectern), open and close (chest or trapped chest; for stand, leave, open and close an optional player 1-4, default 1), toggle (daylight detector), start (place a block against the observer marked \"start\": true; no at), place_cart (put a minecart on a rail)"New value: +"What a player does: {tick, do, at: [x,y,z]}. do: pull (lever), press (button), use (wooden door, wooden trapdoor, fence gate, note block, bell, redstone ore, item frame, cake or jukebox; optional look), stand (step onto a pressure plate, string or redstone ore), leave (step off), throw (a snowball at a target), strike (lightning strikes a lightning rod), turn_page (lectern), open and close (chest or trapped chest; for stand, leave, open and close an optional player 1-4, default 1), toggle (daylight detector), start (place a block against the observer marked \"start\": true; no at), place_cart (put a plain minecart on a rail; a hopper minecart goes in the design: \"minecart\": \"hopper\" on the rail)"
  2. Changed1 schema field changed
    • changedInput schema / properties / design / properties / test / properties / inputs / description
      Previous value: -"What a player does: {tick, do, at: [x,y,z]}. do: pull (lever), press (button), use (wooden door, wooden trapdoor, fence gate, note block, bell, redstone ore, item frame, cake or jukebox; optional look), stand (step onto a pressure plate, string or redstone ore), leave (step off), throw (a snowball at a target), strike (lightning strikes a lightning rod), turn_page (lectern), open and close (chest or trapped chest), toggle (daylight detector), start (place a block against the observer marked \"start\": true; no at), place_cart (put a minecart on a rail)"New value: +"What a player does: {tick, do, at: [x,y,z]}. do: pull (lever), press (button), use (wooden door, wooden trapdoor, fence gate, note block, bell, redstone ore, item frame, cake or jukebox; optional look), stand (step onto a pressure plate, string or redstone ore), leave (step off), throw (a snowball at a target), strike (lightning strikes a lightning rod), turn_page (lectern), open and close (chest or trapped chest; for stand, leave, open and close an optional player 1-4, default 1), toggle (daylight detector), start (place a block against the observer marked \"start\": true; no at), place_cart (put a minecart on a rail)"
  3. Changed1 schema field changed
    • changedInput schema / properties / design / properties / test / properties / inputs / description
      Previous value: -"What a player does: {tick, do, at: [x,y,z]}. do: pull (lever), press (button), use (wooden door, wooden trapdoor, fence gate, note block, bell, redstone ore, item frame, cake or jukebox; optional look), stand (step onto a pressure plate, string or redstone ore), leave (step off), throw (a snowball at a target), turn_page (lectern), open and close (chest or trapped chest), toggle (daylight detector), start (place a block against the observer marked \"start\": true; no at), place_cart (put a minecart on a rail)"New value: +"What a player does: {tick, do, at: [x,y,z]}. do: pull (lever), press (button), use (wooden door, wooden trapdoor, fence gate, note block, bell, redstone ore, item frame, cake or jukebox; optional look), stand (step onto a pressure plate, string or redstone ore), leave (step off), throw (a snowball at a target), strike (lightning strikes a lightning rod), turn_page (lectern), open and close (chest or trapped chest), toggle (daylight detector), start (place a block against the observer marked \"start\": true; no at), place_cart (put a minecart on a rail)"
  4. Changed1 schema field changed
    • changedInput schema / properties / design / properties / test / properties / inputs / description
      Previous value: -"What a player does: {tick, do, at: [x,y,z]}. do: pull (lever), press (button), use (wooden door, wooden trapdoor, fence gate, note block, bell, redstone ore, item frame or cake; optional look), stand (step onto a pressure plate, string or redstone ore), leave (step off), throw (a snowball at a target), turn_page (lectern), open and close (chest or trapped chest), toggle (daylight detector), start (place a block against the observer marked \"start\": true; no at), place_cart (put a minecart on a rail)"New value: +"What a player does: {tick, do, at: [x,y,z]}. do: pull (lever), press (button), use (wooden door, wooden trapdoor, fence gate, note block, bell, redstone ore, item frame, cake or jukebox; optional look), stand (step onto a pressure plate, string or redstone ore), leave (step off), throw (a snowball at a target), turn_page (lectern), open and close (chest or trapped chest), toggle (daylight detector), start (place a block against the observer marked \"start\": true; no at), place_cart (put a minecart on a rail)"
  5. Changed1 schema field changed
    • changedInput schema / properties / design / properties / test / properties / inputs / description
      Previous value: -"What a player does: {tick, do, at: [x,y,z]}. do: pull (lever), press (button), use (wooden door, wooden trapdoor or fence gate; optional look), stand (step onto a pressure plate or string), leave (step off), throw (a snowball at a target), turn_page (lectern), toggle (daylight detector), start (place a block against the observer marked \"start\": true; no at), place_cart (put a minecart on a rail)"New value: +"What a player does: {tick, do, at: [x,y,z]}. do: pull (lever), press (button), use (wooden door, wooden trapdoor, fence gate, note block, bell, redstone ore, item frame or cake; optional look), stand (step onto a pressure plate, string or redstone ore), leave (step off), throw (a snowball at a target), turn_page (lectern), open and close (chest or trapped chest), toggle (daylight detector), start (place a block against the observer marked \"start\": true; no at), place_cart (put a minecart on a rail)"
  6. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already establish the safe, read-only, idempotent nature, and the description goes further by detailing the return content (expectation outcomes, the block that was there instead, timing, visible component changes, dispenser shots, breakage notes). It does not discuss cost, runtime limits, or the 6000-tick ceiling, which the schema carries instead.

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 sentences, front-loaded with the primary action and output, followed by the no-test case and the sibling exclusion. The parenthetical list of observable components is slightly list-heavy but each item is informative rather than filler.

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?

With a single nested parameter, no output schema, and rich annotations, the description covers everything an agent needs: what the tool does, what it returns, what happens without a test, and when not to call it.

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 schema does the heavy lifting on the nested design/test/view/parts fields. The description still adds meaning by clarifying that the design's test is optional and describing how the run behaves in each case, which is not obvious from the schema alone.

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?

The description opens with a specific verb and resource ("Run a redstone design with its own test") and then enumerates exactly what comes back: which expectations hold, what failed with the observed block and tick, visible changes, dispenser shots, and breakage notes. It also explicitly separates itself from the display sibling ("Do not use it to display a design to the user: use show").

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?

It gives a positive directive ("Use it on every candidate before showing it") and a negative one with the named alternative ("Do not use it to display a design… use show"). The no-test fallback behavior is also stated, so an agent knows what happens if the test object is omitted.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources