Skip to main content
Glama

get_task_details

Retrieve detailed information about a specific task by its ID using the MCP Orchestrator Server, enabling efficient task tracking and management.

Instructions

Get details of a specific task

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYesID of the task to get details for

Implementation Reference

  • The core handler logic for the 'get_task_details' tool. It extracts the task_id from arguments, retrieves the task from the in-memory tasks object, throws an error if not found, and returns the task details as JSON text content.
    case "get_task_details": { const { task_id } = request.params.arguments as { task_id: string }; debug(`Getting details for task ${task_id}`); const task = tasks[task_id]; if (!task) { throw new McpError(ErrorCode.InvalidRequest, `Task ${task_id} not found`); } return { content: [{ type: "text", text: JSON.stringify(task, null, 2) }] }; }
  • src/index.ts:447-460 (registration)
    Tool registration in the ListTools response, defining the name, description, and input schema (requiring 'task_id' string). This advertises the tool's availability and expected inputs to MCP clients.
    { name: "get_task_details", description: "Get details of a specific task", inputSchema: { type: "object", properties: { task_id: { type: "string", description: "ID of the task to get details for" } }, required: ["task_id"] } }
  • Input schema definition for the 'get_task_details' tool, specifying an object with a required 'task_id' string property.
    inputSchema: { type: "object", properties: { task_id: { type: "string", description: "ID of the task to get details for" } }, required: ["task_id"] }

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/mokafari/orchestrator-server'

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