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
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It states it 'retrieves' tasks, implying a read-only operation, but doesn't specify whether this requires authentication, has rate limits, or affects server state. The description mentions the return format but lacks details about pagination, error handling, or what happens when no tasks match. For a tool with zero annotation coverage, this is insufficient behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections (purpose, Args, Returns) and uses bullet-like formatting for parameters. The opening sentence efficiently states the core purpose. While the parameter documentation is thorough, it's appropriately detailed given the 0% schema coverage. Some minor verbosity exists in the Returns section, but overall it's front-loaded and efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (3 parameters, no annotations, no output schema), the description is partially complete. It thoroughly documents parameters but lacks behavioral context about authentication, rate limits, or error conditions. The return format is described but without schema details. For a read operation with filtering/sorting capabilities, more context about constraints and behavior would be needed for full completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description provides detailed parameter documentation in the Args section, explaining each parameter's purpose and default values. Since schema description coverage is 0%, this documentation fully compensates by adding meaning beyond the bare schema. It clarifies that 'status' filters tasks, 'sort' orders by last update time, and 'number' limits results. However, it doesn't explain the 'ctx' parameter's purpose, keeping it from a perfect score.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('retrieves') and resource ('list of tasks being managed by the server'), making the purpose immediately understandable. It distinguishes itself from siblings like 'get_task_result' (which retrieves specific task results) and 'list_agents' (which deals with agents rather than tasks). However, it doesn't explicitly contrast with all siblings, so it doesn't reach the highest score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention when to prefer this over 'get_task_result' for task details, or how it relates to other task management operations. The only implicit usage is for listing tasks, but there's no explicit context about prerequisites, timing, or alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

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

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