atlas-mcp-server

by cyanheads
Verified

update_task

Update task properties and status.

Status Transitions:

  • PENDING → IN_PROGRESS, BLOCKED, CANCELLED
  • IN_PROGRESS → COMPLETED, CANCELLED, BLOCKED
  • COMPLETED → No transitions allowed
  • CANCELLED → PENDING (for retry)
  • BLOCKED → PENDING, IN_PROGRESS

Automatic Behaviors:

  • Auto-transition to BLOCKED if dependencies block
  • Parent completion requires all children complete
  • Cancelled parent cancels non-completed children
  • Blocked siblings prevent task completion
  • Failed siblings prevent task start

Validation Rules:

  • Same constraints as create_task
  • Dependencies checked before status changes
  • Parent-child status rules enforced
  • Metadata schema validated
  • Notes length and count limits applied

Best Practices:

  • Document status change reasoning
  • Update progress indicators
  • Track technical implementation details
  • Record blockers and resolutions
  • Maintain dependency accuracy

Example: { "path": "project/backend/auth", "updates": { "status": "IN_PROGRESS", "progressNotes": [ "Database schema updated", "JWT library integrated", "Basic token generation implemented" ], "metadata": { "reasoning": "Moving to IN_PROGRESS as database dependencies are completed and core JWT implementation has begun. Token refresh mechanism still pending.", "technical_notes": [ "Using jsonwebtoken library for JWT operations", "Token expiry set to 1 hour with refresh window" ] } } }

Input Schema

NameRequiredDescriptionDefault
pathYesPath of task to update
updatesYesChanges to apply to the task. Field constraints: - title: Task name (max 200 chars) - description: Task details (max 2000 chars) - type: TASK/MILESTONE classification - status: Task state with validation rules - parentPath: Parent task path (max 1000 chars, 10 levels) - dependencies: Required tasks (max 50) - metadata: Task tracking fields: - priority: low/medium/high - tags: max 100 tags, each max 100 chars - reasoning: max 2000 chars - tools_used: max 100 entries - resources_accessed: max 100 entries - context_used: max 100 entries, each max 1000 chars - technical_requirements: implementation details - acceptance_criteria: validation points - status_tracking: timestamps, block reasons - version_control: version numbers, states - notes: Each category max 100 notes, each note max 1000 chars - planningNotes: Planning and preparation - progressNotes: Implementation progress - completionNotes: Completion details - troubleshootingNotes: Issue resolution Status changes trigger: - Automatic dependency validation - Status propagation to parent tasks - Dependent task blocking - Child task status updates - Validation of all constraints

Input Schema (JSON Schema)

{ "properties": { "path": { "description": "Path of task to update", "type": "string" }, "updates": { "description": "Changes to apply to the task. Field constraints:\n- title: Task name (max 200 chars)\n- description: Task details (max 2000 chars)\n- type: TASK/MILESTONE classification\n- status: Task state with validation rules\n- parentPath: Parent task path (max 1000 chars, 10 levels)\n- dependencies: Required tasks (max 50)\n- metadata: Task tracking fields:\n - priority: low/medium/high\n - tags: max 100 tags, each max 100 chars\n - reasoning: max 2000 chars\n - tools_used: max 100 entries\n - resources_accessed: max 100 entries\n - context_used: max 100 entries, each max 1000 chars\n - technical_requirements: implementation details\n - acceptance_criteria: validation points\n - status_tracking: timestamps, block reasons\n - version_control: version numbers, states\n- notes: Each category max 100 notes, each note max 1000 chars\n - planningNotes: Planning and preparation\n - progressNotes: Implementation progress\n - completionNotes: Completion details\n - troubleshootingNotes: Issue resolution\n\nStatus changes trigger:\n- Automatic dependency validation\n- Status propagation to parent tasks\n- Dependent task blocking\n- Child task status updates\n- Validation of all constraints", "properties": { "completionNotes": { "description": "Task completion notes", "items": { "type": "string" }, "type": "array" }, "dependencies": { "description": "Updated list of required tasks", "items": { "type": "string" }, "type": "array" }, "description": { "description": "Updated task details including progress and findings", "type": "string" }, "metadata": { "description": "Task metadata with structured validation:\nCore Fields:\n- priority: Task urgency (low/medium/high)\n- tags: Keywords for categorization (max 100 tags, each max 100 chars)\n- reasoning: Document decision rationale (max 2000 chars)\n\nTechnical Details:\n- technicalRequirements: {\n language: Programming language\n framework: Framework used\n dependencies: Array of dependencies (max 50)\n environment: Environment details\n performance: {\n memory: Memory requirements\n cpu: CPU requirements\n storage: Storage requirements\n }\n }\n\nValidation & Progress:\n- acceptanceCriteria: {\n criteria: Array of criteria (max 20, each max 500 chars)\n testCases: Optional test cases (max 20)\n reviewers: Optional reviewer list (max 10)\n }\n- progress: {\n percentage: Progress percentage (0-100)\n milestones: Array of milestone names (max 20)\n lastUpdated: Timestamp\n estimatedCompletion: Timestamp\n }\n\nResource Tracking:\n- resources: {\n toolsUsed: Array of tools (max 100)\n resourcesAccessed: Array of resources (max 100)\n contextUsed: Array of context items (max 100)\n }\n\nStatus Information:\n- blockInfo: {\n blockedBy: Task causing block\n blockReason: Reason for block (max 500 chars)\n blockTimestamp: When blocked\n unblockTimestamp: When unblocked\n resolution: Block resolution (max 500 chars)\n }\n\nVersion Control:\n- versionControl: {\n version: Version number\n branch: Branch name\n commit: Commit hash\n previousVersions: Array of previous versions (max 10)\n }\n\nCustom Fields:\n- customFields: Record of additional string fields", "properties": { "acceptanceCriteria": { "properties": { "criteria": { "items": { "maxLength": 500, "type": "string" }, "maxItems": 20, "type": "array" }, "reviewers": { "items": { "type": "string" }, "maxItems": 10, "type": "array" }, "testCases": { "items": { "maxLength": 500, "type": "string" }, "maxItems": 20, "type": "array" } }, "type": "object" }, "blockInfo": { "properties": { "blockReason": { "maxLength": 500, "type": "string" }, "blockTimestamp": { "type": "number" }, "blockedBy": { "type": "string" }, "resolution": { "maxLength": 500, "type": "string" }, "unblockTimestamp": { "type": "number" } }, "type": "object" }, "customFields": { "additionalProperties": { "type": "string" }, "type": "object" }, "priority": { "enum": [ "low", "medium", "high" ], "type": "string" }, "progress": { "properties": { "estimatedCompletion": { "type": "number" }, "lastUpdated": { "type": "number" }, "milestones": { "items": { "type": "string" }, "maxItems": 20, "type": "array" }, "percentage": { "maximum": 100, "minimum": 0, "type": "number" } }, "type": "object" }, "reasoning": { "maxLength": 2000, "type": "string" }, "resources": { "properties": { "contextUsed": { "items": { "maxLength": 1000, "type": "string" }, "maxItems": 100, "type": "array" }, "resourcesAccessed": { "items": { "type": "string" }, "maxItems": 100, "type": "array" }, "toolsUsed": { "items": { "type": "string" }, "maxItems": 100, "type": "array" } }, "type": "object" }, "tags": { "items": { "maxLength": 100, "type": "string" }, "maxItems": 100, "type": "array" }, "technicalRequirements": { "properties": { "dependencies": { "items": { "type": "string" }, "maxItems": 50, "type": "array" }, "environment": { "type": "string" }, "framework": { "type": "string" }, "language": { "type": "string" }, "performance": { "properties": { "cpu": { "type": "string" }, "memory": { "type": "string" }, "storage": { "type": "string" } }, "type": "object" } }, "type": "object" }, "versionControl": { "properties": { "branch": { "type": "string" }, "commit": { "type": "string" }, "previousVersions": { "items": { "type": "number" }, "maxItems": 10, "type": "array" }, "version": { "type": "number" } }, "type": "object" } }, "type": "object" }, "parentPath": { "description": "New parent task for hierarchy changes", "type": "string" }, "planningNotes": { "description": "Planning and preparation notes", "items": { "type": "string" }, "type": "array" }, "progressNotes": { "description": "Implementation progress notes", "items": { "type": "string" }, "type": "array" }, "status": { "description": "Task execution state:\n- PENDING: Not started\n- IN_PROGRESS: Actively being worked on\n- COMPLETED: Successfully finished\n- BLOCKED: Waiting on dependencies\n- CANCELLED: No longer needed", "enum": [ "PENDING", "IN_PROGRESS", "COMPLETED", "BLOCKED", "CANCELLED" ], "type": "string" }, "title": { "description": "New task title reflecting current focus", "type": "string" }, "troubleshootingNotes": { "description": "Issue resolution notes", "items": { "type": "string" }, "type": "array" }, "type": { "description": "Task classification (TASK/MILESTONE)", "enum": [ "TASK", "MILESTONE" ], "type": "string" } }, "type": "object" } }, "required": [ "path", "updates" ], "type": "object" }