Skip to main content
Glama

list_tasks

Read-onlyIdempotent

List available named tasks for a repository, including metadata, warnings, and optional shell commands, to identify and run the right task.

Instructions

List available named tasks for a repository, including metadata and warnings.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "repo": "<repo>"
    },
    "name": "list_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesRepository name from list_repositories(), e.g. "pypto", "simpler"
include_commandNoWhen True (default) include the shell command string in each task entry

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds that results carry metadata and 'warnings', which hints at partial/erroneous task definitions, but says nothing about what those warnings mean or how the list is scoped or filtered.

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?

A single front-loaded sentence with no filler: verb, resource, scope, and payload summary. It is efficient, though the phrase 'metadata and warnings' is slightly vague and leaves the reader guessing what those fields are.

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?

With an output schema present, return-value description is not required, and both params are schema-documented, so the basics are covered. For a tool in a crowded list_* family, though, it lacks the disambiguation an agent needs to choose it over list_task_types or run_task.

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

Parameters3/5

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

Schema coverage is 100% and both parameters are documented in the schema, including the repo format hint and the include_command default. The description adds no additional meaning about repo naming or the effect of include_command, so the baseline 3 applies.

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?

States a specific verb+resource: 'List available named tasks for a repository', and adds that entries include metadata and warnings. An agent knows exactly what it retrieves, but the description never distinguishes this from nearby siblings such as list_task_types, explain_task, or route_task.

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

Usage Guidelines3/5

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

Usage is only implied by the 'for a repository' scoping and the word 'available' (a discovery/pre-flight check). There is no statement of when to prefer this over list_task_types or route_task, and no prerequisite other than the required repo parameter.

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