Skip to main content
Glama
roborock-mcp

roborock-mcp

get_rooms

Maps room names to segment IDs using Roborock home data and vacuum room mapping, so you can identify rooms for targeted cleaning.

Instructions

Map room names to segment ids using home data and the vacuum's room mapping.

device_id is optional when the account has exactly one vacuum.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_rooms"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/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 one genuinely useful behavior: device_id may be omitted when the account has exactly one vacuum. However, it never states that this is a read-only operation, nor what happens when multiple vacuums exist and device_id is omitted, nor how name collisions or unmapped rooms are handled.

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 short sentences, front-loaded with the purpose and followed immediately by the one non-obvious parameter rule. Nothing is redundant or padded.

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?

An output schema exists, so return values need no explanation, and the tool is a simple one-optional-parameter read. The description covers the purpose and the only real footgun (omitting device_id on a multi-vacuum account) at a level appropriate to this complexity.

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% for the single parameter, so the description must compensate and it largely does, explaining that device_id is optional only under the single-vacuum condition. It does not specify accepted id formats or how to obtain a valid device_id, but the conditional-default rule is the key semantic an agent needs.

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?

"Map room names to segment ids" is a specific verb-plus-resource statement, and it explains the data source (home data plus the vacuum's room mapping). It is clear on its own, but it never mentions the closest alternative (clean_rooms), so an agent must infer the read-vs-act distinction from the names alone.

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 is only implied: an agent can deduce this is a lookup step to resolve room names into segment ids before acting on specific rooms. There is no explicit when-to-use, no when-not-to-use, and no named alternative for agents that already have segment ids.

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