Skip to main content
Glama

kb_onboard

Collect initial user information through interactive questions to establish personalized context for AI agents, supporting categories like professional details and preferences.

Instructions

Start interactive onboarding to collect initial information. Returns questions for the specified category.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoCategory of questions to askall

Implementation Reference

  • Tool schema definition for kb_onboard, specifying name, description, and input schema with category parameter.
    { name: 'kb_onboard', description: 'Start interactive onboarding to collect initial information. Returns questions for the specified category.', inputSchema: { type: 'object', properties: { category: { type: 'string', enum: ['initial', 'professional', 'preferences', 'projects', 'all'], description: 'Category of questions to ask', default: 'all' } } } },
  • Handler implementation for kb_onboard tool: retrieves onboarding questions based on the specified category and returns structured JSON response with questions list.
    case 'kb_onboard': { const category = (args as any).category || 'all'; let questions: any[] = []; if (category === 'all') { questions = [ ...onboardingForms.initial, ...onboardingForms.professional, ...onboardingForms.preferences, ...onboardingForms.projects ]; } else if (onboardingForms[category as keyof typeof onboardingForms]) { questions = onboardingForms[category as keyof typeof onboardingForms]; } return { content: [ { type: 'text', text: JSON.stringify({ category, totalQuestions: questions.length, questions: questions.map(q => ({ id: q.id, question: q.question, type: q.type, field: q.field, required: q.required, options: q.options })) }, null, 2) } ] }; }

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/hlsitechio/mcp-instruct'

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