Skip to main content
Glama

kb_update_personal

Update personal details like name, location, languages, and preferences to maintain accurate user context for AI interactions.

Instructions

Update personal information (name, location, languages, etc.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
birthYearNo
birthPlaceNo
currentLocationNo
languagesNo
nationalityNo
timezoneNo
pronounsNo

Implementation Reference

  • MCP tool handler for kb_update_personal: delegates to KnowledgeManager.updatePersonal and returns success message
    case 'kb_update_personal': { await km.updatePersonal(args as any); return { content: [ { type: 'text', text: '✅ Personal information updated successfully' } ] }; }
  • Core implementation of personal information update: merges partial updates into knowledge base, adds history entry, persists to JSON file
    async updatePersonal(updates: Partial<PersonalInfo>): Promise<void> { Object.entries(updates).forEach(([field, value]) => { const oldValue = (this.kb.personal as any)[field]; (this.kb.personal as any)[field] = value; this.addHistory({ action: oldValue === undefined ? 'add' : 'update', category: 'personal', field, oldValue, newValue: value }); }); await this.save(); }
  • Input schema definition for kb_update_personal tool, defining expected parameters for personal info updates
    name: 'kb_update_personal', description: 'Update personal information (name, location, languages, etc.)', inputSchema: { type: 'object', properties: { name: { type: 'string' }, birthYear: { type: 'number' }, birthPlace: { type: 'string' }, currentLocation: { type: 'string' }, languages: { type: 'array', items: { type: 'string' } }, nationality: { type: 'string' }, timezone: { type: 'string' }, pronouns: { type: 'string' } } } },
  • src/index.ts:423-425 (registration)
    Registers all tools including kb_update_personal by returning the tools array in ListToolsRequestSchema handler
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools }; });

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