Skip to main content
Glama

decide_move_task_to_assess_from_decide

Transfer tasks from the Decide realm to the Assess realm for re-evaluation, ensuring proper task management within the ADD framework. Input the task record name to initiate the process.

Instructions

Move task to Assess realm from Decide realm.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskRecordNameYesTask record name

Implementation Reference

  • src/index.ts:488-498 (registration)
    Tool registration: defines name, description, and input schema (requires taskRecordName).
    { name: 'decide_move_task_to_assess_from_decide', description: 'Move task to Assess realm from Decide realm.', inputSchema: { type: 'object', properties: { taskRecordName: { type: 'string', description: 'Task record name' } }, required: ['taskRecordName'] } },
  • Handler dispatch in CallToolRequest switch: validates args and calls moveTaskToRealm with target 'assess'.
    this.validateArgs(args, ['taskRecordName']); return await this.moveTaskToRealm(args.taskRecordName, 'assess'); case 'decide_move_project_to_do':
  • Core handler function: validates ADD framework realm transition rules then moves task to target realm.
    private async moveTaskToRealm(taskRecordName: string, targetRealm: string) { // Add validation before moving const validationResult = await this.validateRealmTransition(taskRecordName, 'Task', targetRealm as RealmString); if (!validationResult.valid) { throw new McpError(ErrorCode.InvalidParams, validationResult.reason); } return this.moveItemToRealm(taskRecordName, 'Task', targetRealm as RealmString); }
  • Input schema: object requiring taskRecordName (string).
    inputSchema: { type: 'object', properties: { taskRecordName: { type: 'string', description: 'Task record name' } }, required: ['taskRecordName'] }
  • Helper: performs realmId update and realm-specific field cleanup (e.g. clears context/dates for Assess).
    private async moveItemToRealm(itemRecordName: string, itemType: 'Task' | 'Project', targetRealmStr: RealmString) { const targetRealmId = realmStringToId(targetRealmStr); // Mock update realmId and clean up fields based on realm rules let updateMessage = `${itemType} ${itemRecordName} moved to ${targetRealmStr} realm (ID: ${targetRealmId})`; // Apply realm-specific cleanup rules if (targetRealmId === REALM_ASSESS_ID) { updateMessage += '. Context and due date cleared for fresh evaluation'; } else if (targetRealmId === REALM_DECIDE_ID && targetRealmStr !== 'decide') { updateMessage += '. Ready for context assignment and due date setting'; } return { content: [{ type: 'text', text: updateMessage }] }; }

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