Skip to main content
Glama

assess_edit_task

Modify task details, including name and priority, within the Assess realm using the addTaskManager MCP Server. Streamline task management within the ADD framework by ensuring accurate updates to task records.

Instructions

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

Input Schema

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

Implementation Reference

  • The core handler function that implements the 'assess_edit_task' tool. It validates the task record name, optionally updates the task name and priority, and returns a formatted success message (currently a mock implementation without actual CloudKit calls).
    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 for the 'assess_edit_task' tool, defining the required 'taskRecordName' parameter and optional 'taskName' and 'taskPriority' fields with validation constraints.
    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:270-281 (registration)
    Registration of the 'assess_edit_task' tool in the ListToolsRequestSchema response, including name, description, and input schema.
    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:662-664 (registration)
    Tool dispatch registration in the CallToolRequestSchema switch statement, handling the tool call by validating arguments and invoking the editTask handler.
    case 'assess_edit_task': this.validateArgs(args, ['taskRecordName']); return await this.editTask(args.taskRecordName, args.taskName, args.taskPriority);

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