Skip to main content
Glama

craftos_settle

Waits until the program blocks for input and the screen stays unchanged for a quiet interval, then returns state; use it instead of fixed sleeps after typing, events, or network changes.

Instructions

Wait until the program is blocked waiting for input and nothing on screen has changed for quietMs, then return its state. Use it instead of fixed sleeps after craftos_type, craftos_key, craftos_send_event or a network change; craftos_act already settles by itself.

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_settle"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId returned by craftos_session_create.
quietMsNoHow long the screen must stay unchanged.
timeoutMsNoGive up after this long (the result says it timed out).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.7.1
    • addedInput schema / properties / quietMs / description
      Added value: +"How long the screen must stay unchanged."
    • addedInput schema / properties / timeoutMs / description
      Added value: +"Give up after this long (the result says it timed out)."
  2. First observedv0.7.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare openWorldHint=false and destructiveHint=false, both negative signals, so the description carries the real weight and does it well: it discloses the blocking condition, the fact that timeoutMs can elapse, and that the result reports a timeout. It falls short of saying what the returned state actually contains, leaving the payload shape unspecified in the absence of an output schema.

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 earning their place: the first defines the wait condition and the second handles tool selection. The blocking criterion is front-loaded before the routing advice, and there is no redundant restatement of the name or schema.

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?

With no output schema, the description should hint at return values, and it only says 'return its state,' which is under-specified for a polling tool whose whole purpose is to hand back a snapshot. Otherwise it is complete: the quiet threshold, the timeout behavior, and the sibling routing are all covered for a three-parameter tool.

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 the minimum bar is a 3. The description reinforces quietMs as a screen-unchanged duration and adds one genuinely new fact, that a timeout is surfaced in the result, but supplies no additional syntax, units, or tuning guidance beyond the schema defaults.

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?

States a precise verb and two-part condition: waits until the program is blocked on input AND the screen has been unchanged for quietMs, then returns state. This is distinguishable from craftos_wait_for_text, craftos_expect, and craftos_read_terminal by the quiet-screen criterion alone.

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

Usage Guidelines5/5

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

Explicitly says to use it instead of fixed sleeps after craftos_type, craftos_key, craftos_send_event, or a network change, and names the exclusion: craftos_act already settles by itself. That is both a when-to-use and a when-not-to-use statement with named alternatives.

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