Skip to main content
Glama

get_task_details

Retrieve execution details for a specific task by providing its unique ID. View task status, input/output data, and execution information to monitor and troubleshoot workflow performance.

Instructions

Get details of a specific task execution by task ID. Returns task status, input/output, and execution details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskIdYesThe unique task execution ID

Implementation Reference

  • The handler function for the 'get_task_details' tool. It extracts the taskId from the input arguments, makes an API call to the Conductor server to retrieve task details from the `/tasks/{taskId}` endpoint, and returns the response data as a formatted JSON string in the tool response format.
    case "get_task_details": { const { taskId } = args as any; const response = await conductorClient.get(`/tasks/${taskId}`); return { content: [ { type: "text", text: JSON.stringify(response.data, null, 2), }, ], }; }
  • The input schema definition for the 'get_task_details' tool, specifying that it requires a 'taskId' string parameter.
    inputSchema: { type: "object", properties: { taskId: { type: "string", description: "The unique task execution ID", }, }, required: ["taskId"], }, },
  • src/index.ts:452-466 (registration)
    The tool registration object included in the 'tools' array, which is returned by the list_tools handler. This defines the tool's name, description, and input schema for discovery by MCP clients.
    { name: "get_task_details", description: "Get details of a specific task execution by task ID. Returns task status, input/output, and execution details.", inputSchema: { type: "object", properties: { taskId: { type: "string", description: "The unique task execution ID", }, }, required: ["taskId"], }, },

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/opensensor/conductor-mcp'

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