Skip to main content
Glama

kb_get_projects

Retrieve project context from personal knowledge storage to provide AI agents with structured information about ongoing work and organizational data.

Instructions

Get project context

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Tool schema definition for 'kb_get_projects', including name, description, and empty input schema.
    { name: 'kb_get_projects', description: 'Get project context', inputSchema: { type: 'object', properties: {} } },
  • Main handler for executing 'kb_get_projects' tool. Calls KnowledgeManager.getProjects() and returns JSON string.
    case 'kb_get_projects': { return { content: [ { type: 'text', text: JSON.stringify(km.getProjects(), null, 2) } ] }; }
  • Helper method in KnowledgeManager that retrieves and returns the projects section of the knowledge base.
    getProjects(): ProjectContext { return { ...this.kb.projects }; }

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