Skip to main content
Glama

kb_update_projects

Update project context including current projects, technologies, goals, challenges, team size, and methodology to maintain accurate organizational knowledge.

Instructions

Update project context (current projects, technologies, goals)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
challengesNo
currentProjectsNo
goalsNo
methodologyNo
teamSizeNo
technologiesNo

Implementation Reference

  • Tool handler that receives the tool call, invokes KnowledgeManager.updateProjects with the input arguments, and returns a success confirmation message.
    case 'kb_update_projects': { await km.updateProjects(args as any); return { content: [ { type: 'text', text: '✅ Project context updated successfully' } ] }; }
  • Core implementation that merges the provided project updates into the knowledge base's projects section, records the changes in history, and persists the updated knowledge base to disk.
    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(); }
  • Tool schema definition including name, description, and input schema for validating the parameters used to update project context.
    { 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' } } } },
  • TypeScript interface defining the ProjectContext type that matches the tool's input schema for type safety and validation.
    export interface ProjectContext { currentProjects?: string[]; technologies?: string[]; goals?: string[]; challenges?: string[]; teamSize?: number; methodology?: 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