Skip to main content
Glama
jupiterbak

AYX-MCP-Wrapper

by jupiterbak

get_all_user_assets

Retrieve all assets associated with a specific user from the Alteryx server, including workflows, collections, and other resources.

Instructions

Get all the assets for a user

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYes

Implementation Reference

  • The core handler function that implements the tool logic by calling the Alteryx server API to retrieve all assets for a given user ID and formatting the response.
    def get_all_user_assets(self, user_id: str):
        """Get all the assets for a user"""
        try:
            api_response = self.users_api.users_get_users_assets(user_id)
            return pprint.pformat(api_response)
        except ApiException as e:
            return f"Error: {e}"
  • The MCP tool registration decorator and wrapper function that registers the tool and delegates execution to the underlying tools instance.
    @self.app.tool()
    def get_all_user_assets(user_id: str):
        """Get all the assets for a user"""
        return self.tools.get_all_user_assets(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