Skip to main content
Glama

craftos_network_update

Update a running network by moving computers, toggling wired modem connections, or unloading/loading chunks to test how programs handle disconnections and reloads.

Instructions

Change a network from craftos_network_create while it runs: move a computer, right-click a wired modem to switch its computer on or off the network, or unload/load a computer's chunk. The changes given are applied in that order; the other computers keep running. Use it to test how programs cope with a computer moving away, dropping off the cable or reloading.

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": {
      "network": "<network>",
      "computer": "<computer>"
    },
    "name": "craftos_network_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
onNoWith modem: true connects the computer to the cable network, false disconnects it.
modemNoWired modem's peripheral name, used with on.
loadedNofalse unloads the computer's chunk (it stops; on 2.2.36 linked computers get peripheral_detach for its peripherals), true loads it again (it boots afresh).
networkYesId from craftos_network_create.
computerYesThe computer's name.
positionNoNew block position; only the fields given change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.7.1
    • changedInput schema / properties / modem / description
      Previous value: -"Wired modem's peripheral name."New value: +"Wired modem's peripheral name, used with on."
    • addedInput schema / properties / on / description
      Added value: +"With modem: true connects the computer to the cable network, false disconnects it."
    • addedInput schema / properties / position / description
      Added value: +"New block position; only the fields given change."
  2. First observedv0.7.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (openWorldHint=false, destructiveHint=false), it discloses genuinely non-obvious behavior: changes are applied in a fixed order, other computers keep running, unloading stops the computer and (on 2.2.36) emits peripheral_detach for its peripherals, and reloading boots it afresh. That is exactly the kind of side-effect and version-specific detail structured fields cannot carry.

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?

Two sentences, both front-loaded: the operation list comes first, the ordering/parallel-execution caveat second, and the use case last. No filler, and every clause carries distinct information.

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 six-parameter mutation tool with a nested position object and no output schema, the description covers side effects, execution order, and version-specific detach behavior well. It does not say what happens on error (e.g., an unknown computer name or a computer not on the network), which is the main remaining gap.

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 100%, so on/modem/loaded/position semantics are already documented in the schema. The description reinforces which parameters map to which operation and hints that modem pairs with on, but adds little parameter meaning beyond the schema; the ordering note is behavioral rather than parameter-level.

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+resource ('Change a network from craftos_network_create while it runs') and enumerates the three concrete operations it can perform: moving a computer, toggling a modem on/off the cable, and unloading/loading a chunk. This clearly differentiates it from the sibling create tool and lets an agent recognize the action without opening the schema.

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 gives an explicit motivating scenario ('test how programs cope with a computer moving away, dropping off the cable or reloading') and frames the tool as operating on an already-created network, which implicitly rules out creation. It stops short of naming alternatives or stating when not to use it, so it falls short of a 5.

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