Staff & Operationsmcp:write

configure_interviews

Configure InterviewConfig settings, Question Bank items, and reusable Scoring Rubric Templates with exact tier caps and admin-only write enforcement.

readOnlyHint: falseidempotentHint: truedestructiveHint: falseopenWorldHint: false

Overview

Manages InterviewConfig (verified recording and transcript channels, staff/manager roles, delegated interviewer user IDs, reminder minutes, approval and manual review score thresholds, and recording consent notice), InterviewQuestion bank items, and InterviewTemplate scoring rubrics.

Non-admin delegated interviewers are strictly blocked from modifying settings, questions, or templates. Deleting questions or templates requires mcp:destructive and human browser approval. Live candidate scheduling and approval decisions remain dashboard-only.

Permissions

Required Scopes
mcp:writeConditional: mcp:destructive (required when deleting an interview question or rubric template)
Discord Role Access
Real Discord Admin or active Temp Admin only. Delegated non-admin interviewers are blocked from writing interview configuration.
Server-Side Guard
checkManageGuild + live channel verification + enforceInterviewsPremium
Subscription Tier
Free: max 10 Question Bank items, 0 templates. Pro: max 50 Question Bank items, 10 templates. Enterprise: unlimited questions and templates.

Dashboard-only security boundaries

Live candidate scheduling, active interview scoring, and approval/rejection decisions remain dashboard-only on https://taicket.xyz.

Input Schema

JSON Schema enforced by the server prior to RBAC and tier validation. Unknown properties are rejected strictly.

configure_interviews.inputSchema.jsonjson
{
  "type": "object",
  "properties": {
    "guildId": {
      "type": "string",
      "pattern": "^\\d{17,22}$",
      "description": "Discord server (guild) snowflake ID."
    },
    "mode": {
      "type": "string",
      "enum": [
        "preview",
        "apply"
      ],
      "default": "apply",
      "description": "Execution mode: preview diffs or apply changes."
    },
    "action": {
      "type": "string",
      "enum": [
        "update_config",
        "upsert_question",
        "delete_question",
        "upsert_template",
        "delete_template"
      ],
      "description": "Interview setup operation to perform."
    },
    "config": {
      "type": "object",
      "properties": {
        "staffRoleIds": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^\\d{17,22}$"
          },
          "maxItems": 25
        },
        "managerRoleIds": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^\\d{17,22}$"
          },
          "maxItems": 25
        },
        "interviewerUserIds": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^\\d{17,22}$"
          },
          "maxItems": 50
        },
        "recordingChannelId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "transcriptChannelId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "reminderMinutes": {
          "type": "integer",
          "minimum": 1,
          "maximum": 1440
        },
        "approvalThreshold": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        },
        "manualReviewThreshold": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100
        },
        "recordingNoticeText": {
          "type": "string",
          "minLength": 1,
          "maxLength": 1000
        }
      },
      "additionalProperties": false,
      "description": "Admin-only InterviewConfig fields when action is update_config."
    },
    "question": {
      "type": "object",
      "properties": {
        "questionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 80
        },
        "questionText": {
          "type": "string",
          "minLength": 1,
          "maxLength": 1024
        },
        "category": {
          "type": "string",
          "maxLength": 50,
          "default": "General"
        },
        "modelAnswer": {
          "type": "string",
          "maxLength": 2000,
          "default": ""
        },
        "maxScore": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100,
          "default": 10
        },
        "notes": {
          "type": "string",
          "maxLength": 1024,
          "default": ""
        },
        "order": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000,
          "default": 0
        },
        "isActive": {
          "type": "boolean",
          "default": true
        }
      },
      "required": [
        "questionText"
      ],
      "additionalProperties": false,
      "description": "InterviewQuestion payload when action is upsert_question."
    },
    "template": {
      "type": "object",
      "properties": {
        "templateId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "roleName": {
          "type": "string",
          "maxLength": 100,
          "default": ""
        },
        "department": {
          "type": "string",
          "maxLength": 100,
          "default": ""
        },
        "description": {
          "type": "string",
          "maxLength": 1000,
          "default": ""
        },
        "isEnabled": {
          "type": "boolean",
          "default": true
        },
        "questions": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "questionText": {
                "type": "string",
                "minLength": 1,
                "maxLength": 1024
              },
              "category": {
                "type": "string",
                "maxLength": 100,
                "default": "General"
              },
              "scoringCriteria": {
                "type": "string",
                "maxLength": 1000,
                "default": ""
              },
              "modelAnswer": {
                "type": "string",
                "maxLength": 2048,
                "default": ""
              },
              "maxScore": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 10
              }
            },
            "required": [
              "questionText"
            ],
            "additionalProperties": false
          },
          "minItems": 1,
          "maxItems": 25
        }
      },
      "required": [
        "title",
        "questions"
      ],
      "additionalProperties": false,
      "description": "InterviewTemplate rubric payload when action is upsert_template (Pro and Enterprise only)."
    },
    "targetId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80,
      "description": "Target questionId or templateId when deleting a question or template."
    },
    "planId": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128,
      "description": "Approved preview plan ID for destructive deletion actions."
    },
    "confirmationToken": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128,
      "description": "Server-issued confirmation token returned by preview mode for destructive deletion."
    }
  },
  "required": [
    "guildId",
    "action"
  ],
  "additionalProperties": false
}

Parameters

NameTypeRequiredDescription
guildIdstringRequired

Discord server (guild) snowflake ID.

modestringOptional (apply)

Execution mode: preview diffs or apply changes.

Allowed: preview | apply

actionstringRequired

Interview setup operation to perform.

Allowed: update_config | upsert_question | delete_question | upsert_template | delete_template

configobjectOptional

Admin-only InterviewConfig fields when action is update_config.

questionobjectOptional

InterviewQuestion payload when action is upsert_question.

templateobjectOptional

InterviewTemplate rubric payload when action is upsert_template (Pro and Enterprise only).

targetIdstringOptional

Target questionId or templateId when deleting a question or template.

planIdstringOptional

Approved preview plan ID for destructive deletion actions.

confirmationTokenstringOptional

Server-issued confirmation token returned by preview mode for destructive deletion.

Example

Preview adding a new moderator evaluation question to the Question Bank.

POST https://mcp.taicket.xyz/mcpjson
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "configure_interviews",
    "arguments": {
      "guildId": "1100000000000000001",
      "mode": "preview",
      "action": "upsert_question",
      "question": {
        "questionText": "How would you handle a heated dispute between two active members in general chat?",
        "category": "De-escalation",
        "maxScore": 10
      }
    }
  }
}

Response

Validated preview diff or saved interview configuration/question/template.

Structured Tool Resultjson
{
  "mode": "preview",
  "action": "upsert_question",
  "valid": true,
  "requiresHumanApproval": false,
  "changes": [
    {
      "tool": "configure_interviews",
      "module": "interviews",
      "field": "questionText",
      "before": null,
      "after": "How would you handle a heated dispute between two active members in general chat?"
    }
  ]
}

Errors

Error CodeConditionResolution
UNAUTHORIZEDMissing, expired, or revoked Bearer access token or scoped Personal Access Token.Re-authenticate through OAuth 2.1 or create a fresh token in https://mcp.taicket.xyz/account.
FORBIDDENToken lacks the required OAuth scope, the guild is outside allowedGuildIds, or caller lacks live Discord RBAC permissions.Grant the required scope during consent or confirm your Discord server role permissions.
RATE_LIMITEDCaller exceeded the per-user sliding-window request limit.Wait for the Retry-After window before issuing another request.
VALIDATION_ERRORInput arguments failed Zod schema validation or contained invalid Discord snowflakes.Inspect the parameter schema and supply valid Discord snowflake IDs and field types.
CROSS_GUILD_RESOURCEA referenced channel, category, or role does not belong to the specified guildId.Call get_server_topology for the target server and reference only resources returned for that guild.
TIER_UPGRADE_REQUIREDThe requested module, quota, or option requires a Pro or Enterprise subscription.Review current plan limits with get_server_configuration or upgrade at https://taicket.xyz/dashboard/{guildId}/premium.
HUMAN_APPROVAL_REQUIREDDestructive deletion or structural Discord setup requires browser-verified human approval before execution.Run with mode="preview" (or preview_setup), open the returned approvalUrl in a browser signed into Discord, approve the summary, then apply the plan with confirmationToken.
CONFIRMATION_REQUIREDconfirmed was false or missing, confirmationToken was invalid, or planId has expired past its 15-minute TTL.Confirm the plan with the server manager or generate a fresh preview via preview_setup.
DASHBOARD_ONLYThe requested privilege delegation, emergency lockdown, backup restore, live member action, or billing mutation is blocked over MCP.Complete this operation directly on https://taicket.xyz using your Discord browser session.
DISCORD_API_ERRORDiscord REST API returned an error or the Taicket bot is not in the target server.Confirm Taicket is installed in the server via get_discord_servers and retry.
NOT_FOUNDThe requested panel, item, command, or setup plan was not found for this server.Inspect current resources with get_server_configuration and supply a valid ID.

Behavior

  • Strictly enforces checkManageGuild so delegated interviewers cannot modify InterviewConfig, Question Bank items, or templates.
  • Verifies recordingChannelId and transcriptChannelId against live guild channels and enforces manualReviewThreshold <= approvalThreshold.
  • Deleting a question or template always requires mcp:destructive and browser-verified approval at /oauth/approve-action.