Skip to main content
Glama

get_task_details

Retrieve execution details for a specific task by its ID, including status, input/output data, and execution information to monitor and troubleshoot workflow progress.

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 implementation for the 'get_task_details' tool. It extracts the taskId from arguments, makes an API call to the Conductor server to fetch task details, and returns the response as formatted JSON text.
    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 a 'taskId' string is required.
    inputSchema: { type: "object", properties: { taskId: { type: "string", description: "The unique task execution ID", }, }, required: ["taskId"], },
  • src/index.ts:291-305 (registration)
    The tool registration in the tools array, defining name, description, and input schema for 'get_task_details' which is returned by ListToolsRequestHandler.
    { 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