Skip to main content
Glama

user_create

Create new users and assign product access in the Pickaxe platform for managing AI agents, knowledge bases, and analytics.

Instructions

Create a new user with optional product access.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
studioNoStudio name to use. Available: STAGING, MAIN, DEV, PRODUCTION. Default: PRODUCTION
emailYesUser's email address (required)
nameNoUser's display name
passwordNoUser's password (optional - they can reset)
productsNoArray of product IDs to grant access to
isEmailVerifiedNoMark email as verified. Default: false

Implementation Reference

  • The handler logic for the 'user_create' tool. It calls the Pickaxe API endpoint '/studio/user/create' via POST with user details (email, name, password, products, isEmailVerified) and returns the JSON response.
    case "user_create": {
      const result = await pickaxeRequest("/studio/user/create", "POST", {
        email: args.email,
        name: args.name,
        password: args.password,
        products: args.products,
        isEmailVerified: args.isEmailVerified ?? false,
      }, studio);
      return JSON.stringify(result, null, 2);
    }
  • src/index.ts:293-324 (registration)
    Registration of the 'user_create' tool in the tools array, including its name, description, and input schema definition.
    {
      name: "user_create",
      description: "Create a new user with optional product access.",
      inputSchema: {
        type: "object",
        properties: {
          studio: studioParam,
          email: {
            type: "string",
            description: "User's email address (required)",
          },
          name: {
            type: "string",
            description: "User's display name",
          },
          password: {
            type: "string",
            description: "User's password (optional - they can reset)",
          },
          products: {
            type: "array",
            items: { type: "string" },
            description: "Array of product IDs to grant access to",
          },
          isEmailVerified: {
            type: "boolean",
            description: "Mark email as verified. Default: false",
          },
        },
        required: ["email"],
      },
    },
  • Input schema for the 'user_create' tool, defining parameters like studio, email (required), name, password, products, and isEmailVerified.
    inputSchema: {
      type: "object",
      properties: {
        studio: studioParam,
        email: {
          type: "string",
          description: "User's email address (required)",
        },
        name: {
          type: "string",
          description: "User's display name",
        },
        password: {
          type: "string",
          description: "User's password (optional - they can reset)",
        },
        products: {
          type: "array",
          items: { type: "string" },
          description: "Array of product IDs to grant access to",
        },
        isEmailVerified: {
          type: "boolean",
          description: "Mark email as verified. Default: false",
        },
      },
      required: ["email"],
    },

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/aplaceforallmystuff/mcp-pickaxe'

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