Skip to main content
Glama

craftos_sim_state

Read-only

Read a session's simulated world state—chat, redstone, inventory, peripherals, turtle/world, and addon balances—or return only changes since the last call with delta:true.

Instructions

Read the simulated world state of a session: chat messages, the computer's own redstone (redstone.outputs per side, inputs, bundledOutputs), virtual inventory contents, peripheral state (speakers, detectors, ME/RS bridges, QIO), the turtle and its block world; with the vhcctweaks addon also token balances, the transaction ledger, the host and who is authenticated. delta:true returns only what changed since the previous sim call (changed values as {from,to}, new chat and ledger entries as appended), which is usually a few lines.

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": {
      "id": "<id>"
    },
    "name": "craftos_sim_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId returned by craftos_session_create.
deltaNoReturn only what changed since the previous call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, but the description adds real behavioral detail: the full contents of the state payload, and that delta:true returns changed values shaped as {from,to} with new chat/ledger entries under `appended`. It does not discuss size limits, error cases for a stale/invalid id, or whether the delta baseline is consumed by the call.

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?

Front-loaded with the verb and resource, then a dense enumeration of included domains, with the delta behavior separated out at the end. The long serialized list of fields is heavy but each item is informative; no filler sentences.

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 single-parameter read tool with no output schema, the description covers the returned domains and the delta variant well, which is the main thing an agent needs. Minor gaps: no guidance on payload size, id staleness/errors, or whether chat history is truncated.

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 baseline is 3, and the description earns above that by explaining what delta actually means ('only what changed since the previous sim call') and the shape of the changed data. It adds no further detail on `id` beyond the schema's 'Id returned by craftos_session_create.'

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?

Names a specific verb+resource ('Read the simulated world state of a session') and then enumerates the exact domains covered: chat, redstone outputs/inputs/bundledOutputs, inventory, peripherals, turtle/block world, and addon token/ledger/auth data. An agent knows precisely what this returns. It does not name a sibling it differs from (e.g., craftos_world_snapshot or craftos_read_terminal), so the differentiation is by scope enumeration rather than explicit contrast.

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?

Usage guidance is implied rather than stated: delta:true 'returns only what changed since the previous sim call... which is usually a few lines', which hints at cheap incremental polling versus a full read. There is no explicit when-to-use/when-not, and no comparison to overlapping siblings such as craftos_world_snapshot or craftos_read_terminal.

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