Skip to main content
Glama
ispyridis

Calibre RAG MCP Server

by ispyridis

get_project_info

Retrieve detailed information about a specific RAG project, including its structure, content, and configuration for effective library management and content retrieval.

Instructions

Get detailed information about a specific RAG project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_nameYesName of the project

Implementation Reference

  • The main handler logic for the 'get_project_info' tool. It validates the project_name parameter, retrieves the project from the in-memory Map, and sends a formatted success response with project details or appropriate errors.
    case 'get_project_info': const infoProjName = args.project_name; if (!infoProjName) { this.sendError(id, -32602, 'Missing required parameter: project_name'); return; } const project = this.projects.get(infoProjName); if (!project) { this.sendError(id, -32603, `Project '${infoProjName}' not found`); return; } this.sendSuccess(id, { content: [{ type: 'text', text: `**Project: ${project.name}**\n\n` + `Description: ${project.description}\n` + `Created: ${project.created_at}\n` + `Books: ${project.books.length}\n` + `Chunks: ${project.chunk_count}\n` + `Vector Dimension: ${project.vector_dimension}\n` + `${project.last_updated ? `Last Updated: ${project.last_updated}` : ''}` }], project: project }); break;
  • server.js:1072-1085 (registration)
    Registration of the 'get_project_info' tool in the tools/list method, defining its name, description, and input schema.
    { name: 'get_project_info', description: 'Get detailed information about a specific RAG project', inputSchema: { type: 'object', properties: { project_name: { type: 'string', description: 'Name of the project' } }, required: ['project_name'] } }

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/ispyridis/calibre-rag-mcp-nodejs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server