Skip to main content
Glama

read_task

Retrieve task details by ID from the taskqueue-mcp server, including tool and rule recommendations to guide task completion for a specified project.

Instructions

Get details of a specific task by its ID. The task may include toolRecommendations and ruleRecommendations fields that should be used to guide task completion.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesThe ID of the project containing the task (e.g., proj-1).
taskIdYesThe ID of the task to read (e.g., task-1).

Implementation Reference

  • The ToolExecutor for 'read_task' that validates projectId and taskId parameters and retrieves task details via TaskManager.openTaskDetails.
    const readTaskToolExecutor: ToolExecutor = { name: "read_task", async execute(taskManager, args) { // 1. Argument Validation const projectId = validateProjectId(args.projectId); const taskId = validateTaskId(args.taskId); // 2. Core Logic Execution const resultData = await taskManager.openTaskDetails(projectId, taskId); // 3. Return raw success data return resultData; }, };
  • Tool definition including name, description, and input schema for 'read_task'.
    const readTaskTool: Tool = { name: "read_task", description: "Get details of a specific task by its ID. The task may include toolRecommendations and ruleRecommendations fields that should be used to guide task completion.", inputSchema: { type: "object", properties: { projectId: { type: "string", description: "The ID of the project containing the task (e.g., proj-1).", }, taskId: { type: "string", description: "The ID of the task to read (e.g., task-1).", }, }, required: ["projectId", "taskId"], }, };
  • Registers the readTaskToolExecutor in the global toolExecutorMap used by the tool dispatcher.
    toolExecutorMap.set(readTaskToolExecutor.name, readTaskToolExecutor);

Other Tools

Related Tools

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/chriscarrollsmith/taskqueue-mcp'

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