Skip to main content
Glama

kb_update_professional

Update professional details including occupation, experience, skills, and education to maintain accurate personal knowledge for AI context.

Instructions

Update professional information (job, skills, experience, etc.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
certificationsNo
currentCompanyNo
educationNo
industryNo
occupationNo
roleNo
skillsNo
specializationsNo
yearsOfExperienceNo

Implementation Reference

  • Handler for kb_update_professional tool call: invokes KnowledgeManager.updateProfessional with input arguments and returns success confirmation.
    case 'kb_update_professional': { await km.updateProfessional(args as any); return { content: [ { type: 'text', text: '✅ Professional information updated successfully' } ] }; }
  • Tool registration and input schema definition for kb_update_professional in the tools list returned by ListToolsRequestHandler.
    { name: 'kb_update_professional', description: 'Update professional information (job, skills, experience, etc.)', inputSchema: { type: 'object', properties: { occupation: { type: 'string' }, yearsOfExperience: { type: 'number' }, industry: { type: 'string' }, specializations: { type: 'array', items: { type: 'string' } }, currentCompany: { type: 'string' }, role: { type: 'string' }, skills: { type: 'array', items: { type: 'string' } }, certifications: { type: 'array', items: { type: 'string' } }, education: { type: 'array', items: { type: 'string' } } } } },
  • Core implementation in KnowledgeManager: merges partial updates into professional section of knowledge base, logs change history, and persists to JSON file.
    async updateProfessional(updates: Partial<ProfessionalInfo>): Promise<void> { Object.entries(updates).forEach(([field, value]) => { const oldValue = (this.kb.professional as any)[field]; (this.kb.professional as any)[field] = value; this.addHistory({ action: oldValue === undefined ? 'add' : 'update', category: 'professional', field, oldValue, newValue: value }); }); await this.save(); }
  • TypeScript interface ProfessionalInfo defining the structure of professional information, matching the tool's inputSchema.
    export interface ProfessionalInfo { occupation?: string; yearsOfExperience?: number; industry?: string; specializations?: string[]; currentCompany?: string; role?: string; skills?: string[]; certifications?: string[]; education?: string[]; }

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