Skip to main content
Glama
dragosroua

addTaskManager MCP Server

by dragosroua

assess_edit_task

Edit task content in the Assess realm, including updating task names and priority levels from 1 to 5.

Instructions

Edit task content in Assess realm (taskName, priority).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskRecordNameYesRecord name of the task to edit
taskNameNoUpdated task name/description
taskPriorityNoUpdated task priority (1-5)

Implementation Reference

  • The main handler function for the 'assess_edit_task' tool. It constructs a success message indicating updates to task name and/or priority. Currently implemented as a mock without actual CloudKit database operations.
    private async editTask(taskRecordName: string, taskName?: string, taskPriority?: number) {
      // Mock fetch & check realm (should be REALM_ASSESS_ID)
      // Mock update: console.log('Mock CloudKit: Editing Task', taskRecordName, { taskName, taskPriority });
      let updateMsg = `Task ${taskRecordName} updated.`;
      if (taskName) updateMsg += ` Name set to "${taskName}".`;
      if (taskPriority) updateMsg += ` Priority set to ${taskPriority}.`;
      return { content: [{ type: 'text', text: updateMsg }] };
    }
  • Input schema definition for the 'assess_edit_task' tool, specifying parameters: taskRecordName (required), taskName, and taskPriority (1-5). Part of the tool registration in ListToolsRequestSchema.
      name: 'assess_edit_task',
      description: 'Edit task content in Assess realm (taskName, priority).',
      inputSchema: {
        type: 'object',
        properties: {
          taskRecordName: { type: 'string', description: 'Record name of the task to edit' },
          taskName: { type: 'string', description: 'Updated task name/description' },
          taskPriority: { type: 'integer', minimum: 1, maximum: 5, description: 'Updated task priority (1-5)'},
        },
        required: ['taskRecordName']
      }
    },
  • src/index.ts:663-665 (registration)
    Tool dispatch/registration in the CallToolRequestSchema switch statement. Validates required args and calls the editTask handler.
      this.validateArgs(args, ['taskRecordName']);
      return await this.editTask(args.taskRecordName, args.taskName, args.taskPriority);
    case 'assess_create_project':

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