Skip to main content
Glama
appleton
by appleton

robovac_get_battery

Retrieve the current battery level of your Eufy RoboVac vacuum cleaner using this tool. Monitor power status to plan cleaning sessions effectively.

Instructions

Get the battery level of the robovac

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/server.ts:376-383 (registration)
    Registration of the 'robovac_get_battery' tool in the ListTools response, including name, description, and empty input schema.
    { name: "robovac_get_battery", description: "Get the battery level of the robovac", inputSchema: { type: "object", properties: {}, }, },
  • Handler implementation for 'robovac_get_battery': ensures RoboVac is initialized, fetches battery level using robovac.getBatteyLevel(), and returns the percentage as text content.
    case "robovac_get_battery": this.ensureRoboVacInitialized(); const battery = await this.robovac!.getBatteyLevel(); return { content: [ { type: "text", text: `Battery Level: ${battery}%`, }, ], };

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