Skip to main content
Glama

interact

Operate redstone blocks like a player between simulation ticks: flip levers, press buttons, open doors, tune note blocks, cycle repeaters, set barrel signals, or replace container items.

Instructions

Act on a block like a player between ticks. action "use" (default): flip lever, press button, open/close a wooden door or trapdoor, tune a note block (and play it), cycle repeater delay, toggle comparator mode, toggle dust dot/cross. action "set_signal": set a barrel's comparator output to value (0-15). action "set_items": replace a container's contents with items [{slot, id, count}] (ids without "minecraft:"; stacks are capped at the item's stack size).

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": {
      "x": "<x>",
      "y": "<y>",
      "z": "<z>"
    },
    "name": "interact"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
zYes
itemsNo
valueNo
actionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses concrete per-action effects (flip lever, cycle repeater delay) and the stack-size cap, which is useful. However, it does not state what the tool returns, whether set_items is destructive to existing contents beyond the implied 'replace', or any permission/error behavior.

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 description is front-loaded with the core concept before enumerating actions, and each parenthetical list is dense but purposeful. It is long but the length is largely earned by the multi-action surface, with little outright waste.

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 six-parameter, three-action mutation tool with no annotations and no output schema, the definition covers much of the action semantics but leaves return values, coordinate meaning, and error/edge behavior unaddressed. It is adequate but not fully complete for the tool's complexity.

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 0%, so the description must compensate, and it does for the important params: it explains 'action' modes, that 'value' is a 0-15 comparator output, and that 'items' are [{slot, id, count}] with ids lacking the 'minecraft:' prefix and stacks capped. The x/y/z coordinates are left implicit, which is a minor gap.

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: 'Act on a block like a player between ticks,' and then enumerates the exact block behaviors for each action. The purpose is unambiguous, though it does not explicitly distinguish itself from siblings like set_blocks or fill.

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

Usage Guidelines4/5

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

It clearly maps each action to its use case: 'use' (default) for player-like interactions, 'set_signal' for setting a barrel's comparator output, and 'set_items' for replacing container contents. It lacks explicit when-not-to-use guidance or alternatives, but the action-level routing is strong.

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