Skip to main content
Glama

assess_archive_task_to_collection

Archive a task to a collection in the addTaskManager app to organize completed or inactive items within the Assess phase of the ADD framework.

Instructions

Archive a task to a collection.

Input Schema

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

Implementation Reference

  • src/index.ts:695-697 (registration)
    Tool registration in the CallToolRequestSchema switch statement, dispatching to the handler method.
    case 'assess_archive_task_to_collection': this.validateArgs(args, ['taskRecordName', 'collectionRecordName']); return await this.archiveTaskToCollection(args.taskRecordName, args.collectionRecordName);
  • src/index.ts:402-412 (registration)
    Tool registration in ListToolsRequestSchema 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 implementing 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}` }] }; }
  • Input schema definition for the tool, specifying required parameters and types.
    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']

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