Skip to main content
Glama

clear_world

Resets the simulation to a fresh empty world, optionally adding a square floor at a chosen height and block type. Use it to discard unsaved builds and start a new circuit test.

Instructions

Start a fresh empty world. Optionally lay a square floor of floor x floor blocks at y=floorY from (0,floorY,0). Unsaved work is lost.

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

Input Schema

NameRequiredDescriptionDefault
floorNo
floorYNo
floorBlockNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does disclose the single most important trait: this is a destructive operation that discards unsaved work. It also explains the optional side effect of creating a floor, though it says nothing about defaults or what is returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the core action, followed by the optional floor geometry and the data-loss warning. Nothing is redundant.

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

Completeness4/5

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

For a destructive world-reset tool with no annotations and no output schema, the description covers the essential risks and the optional geometry. The remaining gap is the undocumented `floorBlock` parameter and its default, which matters for predictable behavior.

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 0%, so the description must compensate. It does explain `floor` (square footprint floor x floor) and `floorY` (placement height with origin at (0,floorY,0)), but `floorBlock` is never mentioned, and the block type used when it is omitted is left unknown.

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 gives a specific verb and resource ('Start a fresh empty world') and then defines the optional floor-laying behavior with concrete geometry. It is clearly distinguishable from siblings like fill, set_blocks, or world_info, which modify or inspect content rather than reset the world.

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?

The reset intent is implied and the destruction warning ('Unsaved work is lost') signals caution, but there is no explicit when-to-use guidance, no mention of when to prefer chunk_control or set_blocks, and no stated prerequisite such as saving first.

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