Skip to main content
Glama

list_tasks

Read-only

Retrieve and filter Vikunja tasks by project, label, completion status, due date, or search text; open tasks are returned by default, sorted by priority and due date.

Instructions

List tasks, open ones by default, sorted by priority then due date. Filters: project, label, done, due_before, search; limit up to 100.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
doneNoDone tasks instead of open ones. Default false (open tasks).
labelNoOnly tasks with this label (title).
limitNoMost tasks to return, 1 to 100 (default 50).
searchNoText to search for in titles and descriptions.
projectNoOnly tasks in this project (title or id).
due_beforeNoOnly tasks due before this date (YYYY-MM-DD or ISO-8601).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changed
    • removedInput schema / $defs
      Removed value: -{
      -  "ProjectRef": {
      -    "anyOf": [
      -      {
      -        "description": "Project id.",
      -        "format": "int64",
      -        "type": "integer"
      -      },
      -      {
      -        "description": "Project title (case-insensitive), or an id written as text.",
      -        "type": "string"
      -      }
      -    ],
      -    "description": "A project by numeric id or by title."
      -  }
      -}
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / done / default
      Removed value: -null
    • changedInput schema / properties / done / type
      Previous value: -[
      -  "boolean",
      -  "null"
      -]New value: +"boolean"
    • removedInput schema / properties / due_before / default
      Removed value: -null
    • changedInput schema / properties / due_before / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • removedInput schema / properties / label / default
      Removed value: -null
    • changedInput schema / properties / label / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • removedInput schema / properties / limit / default
      Removed value: -null
    • removedInput schema / properties / limit / format
      Removed value: -"uint"
    • removedInput schema / properties / limit / minimum
      Removed value: -0
    • changedInput schema / properties / limit / type
      Previous value: -[
      -  "integer",
      -  "null"
      -]New value: +"integer"
    • changedInput schema / properties / project / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/$defs/ProjectRef"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Project id.",
      +    "type": "integer"
      +  },
      +  {
      +    "description": "Project title (case-insensitive), or an id written as text.",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / search / default
      Removed value: -null
    • changedInput schema / properties / search / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
  2. First observedv0.2.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; beyond that the description adds genuinely useful behavior: default filtering to open tasks and the sort order (priority, then due date). It stops short of describing the pagination/truncation story beyond the 100 cap or what happens when results exceed the limit.

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?

Two compact sentences with the scope and ordering front-loaded and no filler. The closing "limit up to 100" restates what the limit parameter's schema description already says, making it the one mildly redundant phrase.

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?

All six optional parameters are covered by the schema, there is no output schema, and the description supplies the two behavioral facts the schema lacks (default open-only and sort order). Missing only whether results are capped/truncated silently when more than the limit match.

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 description coverage is 100%, including the project title-or-id duality and the date formats, so the schema carries the parameter burden. The description only enumerates filter names and the limit ceiling, adding no syntax or interaction detail (e.g. how search combines with project or done).

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 and resource ("List tasks") plus the default scope (open tasks only) and ordering (priority then due date), so an agent knows exactly what it returns. It does not name the sibling get_task, so the single-vs-many distinction is only implied by the verb.

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?

The word "List" combined with the default-open behavior implies the browsing use case, but there is no explicit when-to-use guidance and no routing to alternatives such as get_task for a single task. Usage is inferable rather than stated.

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

Deploy Server

Other Tools