{
  "name": "create-insights-user",
  "version": "1.0.0",
  "description": "Create Insights users with artist-level permissions via the Altafonte user creation step function. Supports bulk user creation.",
  "author": "The Orchard Engineering",
  "parameters": [
    {
      "name": "users",
      "type": "string",
      "description": "JSON array of user objects. Each object must have: first_name, last_name, email. Example: [{\"first_name\": \"Dylan\", \"last_name\": \"Bourne\", \"email\": \"dylan@example.com\"}]",
      "required": true
    },
    {
      "name": "artist_urls",
      "type": "string",
      "description": "Insights artist page URL(s) or GlobalParticipant ID(s). Can be comma-separated for multiple artists. All users will be granted access to all specified artists.",
      "required": true
    },
    {
      "name": "output_name",
      "type": "string",
      "description": "Base name for output CSV files. If not provided, will auto-generate based on first user's name and date (e.g., 'Insights-Dylan-Bourne-2026-04-16'). For bulk requests, use a descriptive name like 'Insights-Insanity-Records-2026-04-16'.",
      "required": false
    },
    {
      "name": "skip_email",
      "type": "boolean",
      "description": "If true, only create the users without sending email invites",
      "required": false,
      "default": false
    }
  ],
  "mcp_servers": [
    "neo4j-prod",
    "github"
  ],
  "environment": {
    "AWS_PROFILE": "prod"
  }
}
