Skip to main content
Glama

get_user_by_id

Retrieve user details from Alteryx Servers by specifying a user ID. Facilitates user management within the AYX-MCP-Wrapper interface.

Instructions

Get a user by their ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYes

Implementation Reference

  • Core handler function that retrieves a specific user from the Alteryx server API using the provided user_id, formats the response with pprint, and handles ApiException errors.
    def get_user_by_id(self, user_id: str): """Get a user by their ID""" try: api_response = self.users_api.users_get_user(user_id) return pprint.pformat(api_response) except ApiException as e: return f"Error: {e}"
  • MCP tool registration decorator (@self.app.tool()) that defines the tool entrypoint and delegates execution to the underlying tools instance method.
    @self.app.tool() def get_user_by_id(user_id: str): """Get a user by their ID""" return self.tools.get_user_by_id(user_id)

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/jupiterbak/AYX-MCP-Wrapper'

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