Skip to main content
Glama

assess_create_collection

Create a new collection in the Assess realm for organizing tasks and projects within the addTaskManager MCP Server, supporting structured task management through the ADD framework.

Instructions

Create a new collection in Assess realm.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collectionNameYesCollection name

Implementation Reference

  • The handler function that implements the assess_create_collection tool. It generates a unique recordName using uuidv4() and returns a mock success response indicating the collection was created.
    private async createCollection(collectionName: string) { const recordName = `collection_${uuidv4()}`; // Mock collection creation via CloudKit return { content: [{ type: 'text', text: `Collection "${collectionName}" created with recordName: ${recordName}` }] }; }
  • src/index.ts:677-679 (registration)
    Registration of the tool handler in the CallToolRequestSchema switch statement, which validates arguments and calls the createCollection method.
    case 'assess_create_collection': this.validateArgs(args, ['collectionName']); return await this.createCollection(args.collectionName);
  • Tool schema definition including input validation schema for collectionName, registered in ListToolsRequestSchema response.
    name: 'assess_create_collection', description: 'Create a new collection in Assess realm.', inputSchema: { type: 'object', properties: { collectionName: { type: 'string', description: 'Collection name' } }, required: ['collectionName'] } },
  • TypeScript interface defining the structure of a Collections record for CloudKit operations, relevant to the tool's data model.
    interface ZenTaskticCollection { recordName?: string; recordType: 'Collections'; fields: { collectionName: { value: string }; // Collection name uniqueId: { value: string }; // UUID, max 58 chars creationDate?: { value: number }; // Timestamp lastModified: { value: number }; // Timestamp // References (relationships in Core Data) ideas?: { value: CKReference[] }; // List of references to Ideas records projects?: { value: CKReference[] }; // List of references to Projects records tasks?: { value: CKReference[] }; // List of references to Task records }; }

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/dragosroua/addtaskmanager-mcp-server'

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