Skip to main content
Glama
appleton
by appleton

robovac_get_play_pause

Retrieve the current play or pause state of your Eufy RoboVac to monitor its cleaning status. Optionally force a refresh to ensure up-to-date information.

Instructions

Get the current play/pause state of the robovac

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoForce refresh of cached data

Implementation Reference

  • Handler implementation for the robovac_get_play_pause MCP tool. Ensures RoboVac initialization and retrieves the play/pause state using the underlying robovac library.
    case "robovac_get_play_pause": this.ensureRoboVacInitialized(); const playPause = await this.robovac!.getPlayPause( args?.force as boolean ); return { content: [ { type: "text", text: `Play/Pause State: ${playPause}`, }, ], };
  • src/server.ts:235-248 (registration)
    Tool registration in the MCP server's tools list, defining name, description, and input schema for parameter validation.
    { name: "robovac_get_play_pause", description: "Get the current play/pause state of the robovac", inputSchema: { type: "object", properties: { force: { type: "boolean", description: "Force refresh of cached data", default: false, }, }, }, },
  • Input schema definition for the robovac_get_play_pause tool, specifying the optional 'force' boolean parameter.
    inputSchema: { type: "object", properties: { force: { type: "boolean", description: "Force refresh of cached data", default: false, }, }, },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/appleton/sam'

If you have feedback or need assistance with the MCP directory API, please join our Discord server