Skip to main content
Glama

craftos_clock

Control the shared emulator clock for every computer: pause, resume, step ticks, set speed, jump ahead, or set time of day, then return paused status, speed, and world time.

Instructions

The clock of every computer at once (the same controls as the browser app's bar): pause (every computer stops at its next yield, then the clock stands still; no 'too long without yielding'), resume (timers go on where they were, nothing fires in a burst), step (pause and run ticks ticks of 1/20 s), speed (1-1000 times faster, or "max": skip idle time to the next timer), jump (amount ahead, e.g. "90s", "5m", "2h", "1d" = a Minecraft day; the timers on the way fire one at a time, in order, and the programs run between them, so a sleep loop runs every round that fits), time (set the time of day, "18:00"), status. Returns paused, speed and the world's time of day. For one computer's own jump use craftos_advance.

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": {
      "action": "<action>"
    },
    "name": "craftos_clock"
  }
}

Input Schema

NameRequiredDescriptionDefault
speedNo
ticksNo
actionYes
amountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say destructiveHint=false and openWorldHint=false, so the description carries the real load and does so: pause stops at the next yield and suppresses 'too long without yielding', resume fires nothing in a burst, jump fires timers one at a time in order with programs running between them so sleep loops run each round that fits. It also discloses the return payload (paused, speed, world time of day), which is valuable given no output schema exists.

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?

Scope is front-loaded in the first clause and every sentence adds operational detail rather than filler. The trade-off is a single long run-on paragraph with heavy parenthetical nesting, which makes the per-action semantics harder to scan than a short bulleted form would be.

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 no output schema, the description supplies the return values; with zero schema description coverage, it supplies the semantics of every action and most parameters; with minimal annotations, it supplies safety-adjacent behavior (no yield errors, no burst firing). Nothing an agent needs to invoke clock control correctly on a multi-computer simulation is missing.

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 define all four parameters, and it largely does: speed ('1-1000 times faster, or "max"'), ticks ('run `ticks` ticks of 1/20 s'), amount (examples '90s', '5m', '2h', '1d' = a Minecraft day), and time ('18:00'). The gap is that it never binds parameter names to actions explicitly — notably whether the 'time' action consumes `amount` or a separate field — leaving mapping work to the agent.

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 names a specific resource and scope — 'the clock of every computer at once' — and enumerates the exact action set (pause, resume, step, speed, jump, time, status). The closing line 'For one computer's own jump use craftos_advance' explicitly separates it from the nearest sibling, so an agent can pick correctly without opening a 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?

Each action carries its condition of use: pause for halting at a yield boundary, resume for continuing, step for tick-by-tick advance, speed 'max' for skipping idle time, jump for advancing timers. It also routes the single-computer case to craftos_advance. It stops short of stating exclusions for the non-jump actions (e.g., when to prefer craftos_settle or craftos_sim_command), so it is clear but not fully disambiguating.

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