Skip to main content
Glama

get_task_list

Retrieve and filter tasks managed by the MCP-A2A-Gateway server. View tasks by status, sort by update time, and control the number returned for monitoring and management.

Instructions

Retrieves a list of tasks being managed by the server.

Args: status (Literal["all", "completed", "running", "error", "pending", "streaming", "cancelled"]): Filters tasks by their status. Defaults to "all". sort (Literal["Descending", "Ascending"]): Sorts tasks by their last update time. Defaults to "Descending". number (int): The maximum number of tasks to return. Defaults to 10. ctx (Context): The MCP context for logging.

Returns: List[Dict[str, Any]]: A list of tasks, each represented as a dictionary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNoall
sortNoDescending
numberNo

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