Skip to main content
Glama
roborock-mcp

roborock-mcp

roborock_request_login_code

Sends a login code to the specified Roborock account email for authentication; in mock mode, returns the mock code instead of sending an email.

Instructions

Send a Roborock email login code.

Roborock has no OAuth. Pass the account email. In mock mode (ROBOROCK_MOCK=1) no email is sent; the result tells you the mock code.

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": {
      "email": "<email>"
    },
    "name": "roborock_request_login_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYes

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?

With no annotations, the description carries the full burden, and it does add genuinely useful behavior: that Roborock has no OAuth and that in mock mode no email is sent and the mock code is returned. It omits other behavioral facts an agent needs — code expiry, whether repeated calls resend emails or rate limits, and what the result indicates in non-mock mode.

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?

Three short sentences, front-loaded with the action, then prerequisites and the mock-mode caveat. The line breaks are slightly fragmented but nothing is wasteful or buried.

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?

An output schema exists, so return values need not be explained, and the description still notes the mock code is surfaced in the result. For a single-parameter auth entry point, what remains missing (expiry, rate limits, error cases) is moderate rather than disqualifying.

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 coverage is 0%, so the description should compensate; it does minimally by clarifying the email is the account email rather than an arbitrary recipient. That is the only semantic added, and format or validation expectations (domains, case) remain undocumented.

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?

The description states a specific verb and resource: send a login code to the account email for Roborock. It implicitly separates itself from the completion step (roborock_complete_login) by framing this as the code-request stage, but it never names the alternative explicitly.

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?

'Roborock has no OAuth' implies this is the entry point of the email-based auth flow, and 'Pass the account email' implies what to supply. However, it never says when to call this vs roborock_complete_login or roborock_auth_status, and gives no exclusion such as not calling it when already authenticated.

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