Skip to main content
Glama
MariusAure

NeedHuman

list_tasks

Retrieve all past human task requests to review status, results, and details when you lose track of task IDs or need to monitor progress.

Instructions

Use when you have lost track of a task_id or want to review your past human task requests. Returns all tasks you have submitted, newest first: id, status, description, result, and timestamps.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The "list_tasks" tool is registered and implemented directly within the `server.tool` call in `mcp-server.ts`. It fetches tasks from the `/api/v1/tasks` endpoint.
      server.tool(
        "list_tasks",
        `Use when you have lost track of a task_id or want to review your past human task requests.
    Returns all tasks you have submitted, newest first: id, status, description, result, and timestamps.`,
        {},
        async () => {
          try {
            const res = await fetch(`${API_URL}/api/v1/tasks`, {
              headers: apiHeaders(),
            });
    
            if (!res.ok) {
              return {
                content: [
                  {
                    type: "text" as const,
                    text: `Failed to list tasks: ${res.status} ${res.status === 401 ? "Check API key." : "Server error."}`,
                  },
                ],
                isError: true,
              };
            }
    
            const tasks = await res.json();
            return {
              content: [
                {
                  type: "text" as const,
                  text: JSON.stringify(tasks, null, 2),
                },
              ],
            };
          } catch (e) {
            return {
              content: [
                {
                  type: "text" as const,
                  text: `Could not reach API at ${API_URL}. ${e instanceof Error ? e.message : "Unknown error."}`,
                },
              ],
              isError: true,
            };
          }
        }
Behavior4/5

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

With no annotations provided, the description carries full burden and adds valuable behavioral context: it specifies the return order ('newest first'), lists the returned fields (id, status, description, result, timestamps), and implies this is a read-only operation for reviewing past requests. It doesn't mention rate limits or permissions, but covers core behavior adequately.

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

Conciseness5/5

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

Two sentences with zero waste: the first explains when to use, the second details the return format and order. Every phrase adds value, and the structure is front-loaded with usage context followed by behavioral details.

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

Completeness4/5

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

For a 0-parameter tool with no annotations and no output schema, the description provides complete usage guidance, behavioral transparency about ordering and fields returned, and clear purpose. It could mention if there are limits on returned tasks or pagination, but covers the essential context well given the tool's simplicity.

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 tool has 0 parameters with 100% schema coverage, so the baseline is 4. The description appropriately doesn't discuss parameters, focusing instead on usage and output. No parameter-related information is needed or missing.

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

Purpose5/5

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

The description clearly states the tool's purpose with specific verbs ('list', 'returns') and resources ('tasks you have submitted'). It distinguishes from siblings by focusing on retrieving all tasks rather than checking a specific task's status (check_task_status) or requesting human intervention (need_human).

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

Usage Guidelines5/5

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

Explicitly states when to use: 'when you have lost track of a task_id or want to review your past human task requests.' This provides clear context and distinguishes from alternatives like check_task_status for specific tasks. No misleading guidance is present.

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/MariusAure/need-human'

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