Skip to main content
Glama

MCP TaskManager

get_next_task

Retrieve the next pending task by providing a 'requestId' to track progress, displaying a status table. Wait for user approval via 'approve_task_completion' if no new task is returned after marking one as done.

Instructions

Given a 'requestId', return the next pending task (not done yet). If all tasks are completed, it will indicate that no more tasks are left and that you must wait for the request completion approval.

A progress table showing the current status of all tasks will be displayed with each response.

If the same task is returned again or if no new task is provided after a task was marked as done but not yet approved, you MUST NOT proceed. In such a scenario, you must prompt the user for approval via 'approve_task_completion' before calling 'get_next_task' again. Do not skip the user's approval step. In other words:

  • After calling 'mark_task_done', do not call 'get_next_task' again until 'approve_task_completion' is called by the user.
  • If 'get_next_task' returns 'all_tasks_done', it means all tasks have been completed. At this point, you must not start a new request or do anything else until the user decides to 'approve_request_completion' or possibly add more tasks via 'request_planning'.

Input Schema

NameRequiredDescriptionDefault
requestIdYes

Input Schema (JSON Schema)

{ "properties": { "requestId": { "type": "string" } }, "required": [ "requestId" ], "type": "object" }

You must be authenticated.

Other Tools from MCP TaskManager

Related Tools

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/Rudra-ravi/mcp-taskmanager'

If you have feedback or need assistance with the MCP directory API, please join our Discord server