Skip to main content
Glama

get_user_info

Retrieve user account details from Withings to access health data and enable personalized health tracking through the Withings Health API.

Instructions

Get user information from Withings account

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler function for the get_user_info tool. It makes an authenticated API request to the Withings /v2/user endpoint with action=getdevice to retrieve user information.
    async def _get_user_info(self) -> dict: """Get user information.""" return await self._make_request("/v2/user", {"action": "getdevice"})
  • Tool schema definition including name, description, and inputSchema (empty object since no parameters are required). This is returned by list_tools().
    Tool( name="get_user_info", description="Get user information from Withings account", inputSchema={ "type": "object", "properties": {}, }, ),
  • Dispatch/registration logic in the main @server.call_tool() handler that maps the tool name to its implementation method.
    if name == "get_user_info": result = await self._get_user_info()

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/schimmmi/withings-mcp-server'

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