Skip to main content
Glama

kb_get_projects

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

Instructions

Get project context

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler for the kb_get_projects tool. Executes by calling km.getProjects() and returning the result as JSON text content.
    case 'kb_get_projects': { return { content: [ { type: 'text', text: JSON.stringify(km.getProjects(), null, 2) } ] }; }
  • Helper method in KnowledgeManager that returns a shallow copy of the projects section from the internal knowledge base object.
    getProjects(): ProjectContext { return { ...this.kb.projects }; }
  • src/index.ts:231-238 (registration)
    Tool registration entry defining the name, description, and input schema (empty object) for kb_get_projects. Used by the MCP server to list available tools.
    { name: 'kb_get_projects', description: 'Get project context', inputSchema: { type: 'object', properties: {} } },
  • Input schema for kb_get_projects tool: accepts an empty object (no parameters).
    inputSchema: { type: 'object', properties: {} }

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