Skip to main content
Glama

get_user_by_first_name

Retrieve user details by first name using AYX-MCP-Wrapper. Quickly access user information to manage workflows, collections, and schedules on Alteryx Servers.

Instructions

Get a user by their first name

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
first_nameYes

Implementation Reference

  • Core handler function that executes the tool logic by calling the Alteryx users API with first_name filter and pretty-prints the response or handles errors.
    def get_user_by_first_name(self, first_name: str): """Get a user by their first name""" try: api_response = self.users_api.users_get_users(first_name=first_name) return pprint.pformat(api_response) except ApiException as e: return f"Error: {e}"
  • MCP tool registration using @app.tool() decorator, which defines the tool name, input schema from type hints and docstring, and delegates execution to the tools instance method.
    @self.app.tool() def get_user_by_first_name(first_name: str): """Get a user by their first name""" return self.tools.get_user_by_first_name(first_name)

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