Skip to main content
Glama

open_task_details

Retrieve detailed information about a specific task using its unique taskId in the MCP TaskManager server. Use this tool to inspect task status, progress, and other relevant details during its lifecycle.

Instructions

Get details of a specific task by 'taskId'. This is for inspecting task information at any point.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskIdYes

Implementation Reference

  • The main handler function that executes the tool logic: searches for the task by ID across all requests and returns its details including ID, title, description, status, and completion details if available.
    public async openTaskDetails(taskId: string) { for (const request of this.data.requests) { const task = request.tasks.find((t) => t.id === taskId); if (task) { return { message: `Task Details: ID: ${task.id} Title: ${task.title} Description: ${task.description} Status: ${task.approved ? "Approved" : task.done ? "Done" : "Pending"} ${ task.completedDetails ? `Completion Details: ${task.completedDetails}` : "" }`, }; } } throw new Error("Task not found"); }
  • Zod input schema for the open_task_details tool, validating a required 'taskId' string parameter.
    const OpenTaskDetailsSchema = z.object({ taskId: z.string(), });
  • index.ts:170-174 (registration)
    Tool registration in the listTools() method, defining the tool's name, description, and input schema.
    { name: "open_task_details", description: "Get details of a specific task.", inputSchema: OpenTaskDetailsSchema, },
  • Dispatch handler in callTool() switch statement: validates input parameters using the schema and invokes the specific openTaskDetails method.
    case "open_task_details": { const parsed = OpenTaskDetailsSchema.safeParse(parameters); if (!parsed.success) { throw new Error(`Invalid parameters: ${parsed.error}`); } return this.openTaskDetails(parsed.data.taskId); }

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

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