Skip to main content
Glama

getStatus

Retrieve real-time status of Gaggiuino espresso machines to monitor and analyze operational data via a simple HTTP API.

Instructions

Get espresso machine status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the getStatus tool, registered via @mcp.tool(). Fetches the espresso machine status from the API, handles fetch errors, formats the status using a helper function, and returns a human-readable string.
    @mcp.tool()
    async def getStatus() -> str:
        """Get espresso machine status.
        """
        url = f"{API_BASE}/api/system/status"
        data = await make_gg_request(url)
    
        if not data:
            return "Unable to fetch your espresso machine status."
    
        status = format_status(data[0])
        return status 
Install Server

Other Tools

Related Tools

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/AndrewKlement/gaggiuino-mcp'

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