Skip to main content
Glama
roborock-mcp

roborock-mcp

clean_rooms

Initiates cleaning of selected rooms by name or segment ID, optionally repeating up to three passes, and asks for confirmation before starting.

Instructions

Clean one or more rooms by name or segment id. Confirm with the user first.

repeat is 1, 2, or 3. device_id is optional when the account has exactly one vacuum.

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": {
      "rooms": "<rooms>"
    },
    "name": "clean_rooms"
  }
}

Input Schema

NameRequiredDescriptionDefault
roomsYes
repeatNo
device_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the important human-confirmation requirement and that device_id is only optional in a single-vacuum account, but it says nothing about what happens if the vacuum is busy, if a room name is ambiguous or unknown, or whether the call blocks until cleaning completes.

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?

Short and front-loaded: purpose and the safety caveat come first, parameter clarifications second. The stray line breaks and the sentence fragment "repeat is 1, 2, or 3" make it slightly ragged, but nothing is padded.

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?

An output schema exists, so return values need not be described, and the key parameters are covered. For a physical-device mutation with zero annotation coverage, though, the definition leaves error conditions and side effects (interrupting a current clean, behavior when the robot is docked or busy) unexplained.

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 description coverage is 0%, so the description must compensate, and it largely does: it constrains repeat to 1, 2, or 3 (the schema only says integer, default 1) and clarifies the conditional optionality of device_id. The rooms parameter's anyOf string/integer union is explained as name vs. segment id, though no example or format detail for either identifier is given.

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?

States a specific verb and resource ("Clean one or more rooms") plus the accepted identifiers ("by name or segment id"), which is far more precise than the bare name. It does not explicitly contrast itself with start_clean or other siblings, keeping it just short of a 5.

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?

The instruction "Confirm with the user first" gives a real precondition for invocation, which is useful guidance. However, it never says when to prefer this over sibling actions such as start_clean or when room-scoped cleaning is inappropriate, so the when-to-use logic is only implied.

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