Skip to main content
Glama

assess_archive_task_to_collection

Moves a task to a specified collection within the addTaskManager MCP Server, ensuring organized task management under the ADD framework. Requires task and collection record names.

Instructions

Archive a task to a collection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collectionRecordNameYesRecord name of the collection
taskRecordNameYesRecord name of the task

Implementation Reference

  • src/index.ts:402-412 (registration)
    Registration of the tool in the ListToolsRequestSchema handler, including name, description, and input schema.
    name: 'assess_archive_task_to_collection', description: 'Archive a task to a collection.', inputSchema: { type: 'object', properties: { taskRecordName: { type: 'string', description: 'Record name of the task' }, collectionRecordName: { type: 'string', description: 'Record name of the collection' } }, required: ['taskRecordName', 'collectionRecordName'] } },
  • The main handler function that implements the tool logic. Currently a mock that returns a success message; in production would interact with CloudKitService.
    private async archiveTaskToCollection(taskRecordName: string, collectionRecordName: string) { // Mock archiving task to collection via CloudKit return { content: [{ type: 'text', text: `Task ${taskRecordName} archived to collection ${collectionRecordName}` }] }; }
  • src/index.ts:695-697 (registration)
    Dispatch/registration in the CallToolRequestSchema switch statement that routes to the handler function.
    case 'assess_archive_task_to_collection': this.validateArgs(args, ['taskRecordName', 'collectionRecordName']); return await this.archiveTaskToCollection(args.taskRecordName, args.collectionRecordName);

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