Skip to main content
Glama
kazuph

@kazuph/mcp-taskmanager

by kazuph

open_task_details

Retrieve detailed information about a specific task using its taskId for inspection and management within the MCP task management system.

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 method in TaskManagerServer class that implements the logic for retrieving detailed information about a specific task by its ID across all requests.
    public async openTaskDetails(taskId: string) {
      await this.loadTasks();
      for (const req of this.data.requests) {
        const target = req.tasks.find((t) => t.id === taskId);
        if (target) {
          return {
            status: "task_details",
            requestId: req.requestId,
            originalRequest: req.originalRequest,
            splitDetails: req.splitDetails,
            completed: req.completed,
            task: {
              id: target.id,
              title: target.title,
              description: target.description,
              done: target.done,
              approved: target.approved,
              completedDetails: target.completedDetails,
            },
          };
        }
      }
      return { status: "task_not_found", message: "No such task found" };
    }
  • The dispatch handler in the CallToolRequestSchema handler that parses the arguments using the schema and calls the openTaskDetails method on the server instance.
    case "open_task_details": {
      const parsed = OpenTaskDetailsSchema.safeParse(args);
      if (!parsed.success) {
        throw new Error(`Invalid arguments: ${parsed.error}`);
      }
      const { taskId } = parsed.data;
      const result = await taskManagerServer.openTaskDetails(taskId);
      return {
        content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
      };
    }
  • Zod schema defining the input validation for the open_task_details tool, requiring a 'taskId' string.
    const OpenTaskDetailsSchema = z.object({
      taskId: z.string(),
    });
  • index.ts:202-213 (registration)
    Tool registration object defining the name, description, and input schema for the open_task_details tool, used in listTools response.
    const OPEN_TASK_DETAILS_TOOL: Tool = {
      name: "open_task_details",
      description:
        "Get details of a specific task by 'taskId'. This is for inspecting task information at any point.",
      inputSchema: {
        type: "object",
        properties: {
          taskId: { type: "string" },
        },
        required: ["taskId"],
      },
    };
  • index.ts:683-696 (registration)
    Registration of all tools including OPEN_TASK_DETAILS_TOOL in the listTools request handler.
    server.setRequestHandler(ListToolsRequestSchema, async () => ({
      tools: [
        REQUEST_PLANNING_TOOL,
        GET_NEXT_TASK_TOOL,
        MARK_TASK_DONE_TOOL,
        APPROVE_TASK_COMPLETION_TOOL,
        APPROVE_REQUEST_COMPLETION_TOOL,
        OPEN_TASK_DETAILS_TOOL,
        LIST_REQUESTS_TOOL,
        ADD_TASKS_TO_REQUEST_TOOL,
        UPDATE_TASK_TOOL,
        DELETE_TASK_TOOL,
      ],
    }));
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It states this is for 'inspecting' information, which implies a read-only operation, but doesn't explicitly confirm this or address other behavioral aspects like authentication requirements, rate limits, error conditions, or what specific details are returned. The phrase 'at any point' suggests availability but doesn't clarify constraints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is efficiently structured in two concise sentences. The first sentence directly states the action and required parameter, while the second provides usage context. Every word earns its place with no redundancy or fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has no annotations, no output schema, and 0% schema description coverage, the description is insufficiently complete. It adequately states the basic purpose but lacks crucial information about what details are returned, behavioral constraints, parameter semantics, and differentiation from sibling tools. For a read operation tool in a workflow system, more context is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, so the description must fully compensate. It mentions the 'taskId' parameter and that details are retrieved by it, but provides no additional semantic context about what a taskId is, its format, where to obtain it, or validation rules. This leaves significant gaps in parameter understanding beyond the basic schema type.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Get details') and resource ('specific task'), making the purpose evident. It specifies retrieving information by 'taskId' for inspection purposes. However, it doesn't explicitly differentiate from potential sibling tools like 'get_next_task' or 'list_requests' that might also provide task information.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context with 'for inspecting task information at any point', suggesting this tool is for detailed examination rather than listing or workflow progression. However, it doesn't provide explicit guidance on when to use this versus alternatives like 'get_next_task' (which might return limited details) or 'list_requests' (which might provide summary information). No exclusions or clear alternatives are named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

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

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