Skip to main content
Glama

get_task_result

Retrieve the status and results of a task created through the MCP-A2A-Gateway server using its unique task identifier.

Instructions

Retrieves the result or status of a previously created task.

Using the task_id returned by send_message, this tool fetches the current state and any results from the corresponding A2A agent.

Args: task_id (str): The unique identifier of the task to retrieve. ctx (Context): The MCP context for logging.

Returns: Dict[str, Any]: A dictionary containing the task's current status, result message, and any associated data or an error if the task ID is not found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYes

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/yw0nam/mcp_a2a_gateway'

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