Skip to main content
Glama

kb_update_projects

Update project context including current projects, technologies used, goals, challenges, team size, and methodology for AI memory storage.

Instructions

Update project context (current projects, technologies, goals)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currentProjectsNo
technologiesNo
goalsNo
challengesNo
teamSizeNo
methodologyNo

Implementation Reference

  • MCP tool handler case that calls KnowledgeManager.updateProjects with input arguments and returns success response.
    case 'kb_update_projects': { await km.updateProjects(args as any); return { content: [ { type: 'text', text: '✅ Project context updated successfully' } ] }; }
  • Core implementation that merges partial ProjectContext updates into the knowledge base projects section, logs history, and persists to file.
    async updateProjects(updates: Partial<ProjectContext>): Promise<void> { Object.entries(updates).forEach(([field, value]) => { const oldValue = (this.kb.projects as any)[field]; (this.kb.projects as any)[field] = value; this.addHistory({ action: oldValue === undefined ? 'add' : 'update', category: 'projects', field, oldValue, newValue: value }); }); await this.save(); }
  • Input schema definition and tool registration in the tools list returned by ListToolsRequestHandler.
    { name: 'kb_update_projects', description: 'Update project context (current projects, technologies, goals)', inputSchema: { type: 'object', properties: { currentProjects: { type: 'array', items: { type: 'string' } }, technologies: { type: 'array', items: { type: 'string' } }, goals: { type: 'array', items: { type: 'string' } }, challenges: { type: 'array', items: { type: 'string' } }, teamSize: { type: 'number' }, methodology: { type: '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