Skip to main content
Glama

List tasks

list_tasks
Read-only

List tasks (nodes) in a project as structured JSON (id, text, completed, parentId). Get project ids from list_projects. Supports after/before cursors (task ids). Set fields to read custom field values by field name, filter to keep matching rows, and taskIds to read named rows. A reply to a call with any of these three keys also has hasNextPage and nextCursor.

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": {
      "projectId": "<projectId>"
    },
    "name": "list_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoCursor: return tasks after this task id (not with before)
limitNoMax tasks to return (default 100)
beforeNoCursor: return tasks before this task id (not with after)
fieldsNotrue = each task carries `fields`, its custom field values keyed by field name (a Select gives its label). Password, Assign and Media fields are left out, and a filter on them is refused. The reply adds `fieldIds` (field name to field id).
filterNoRows to keep, keyed by field name or `text`: { "Value": { "$gte": 5000 } }. Operators: $eq $ne $gt $gte $lt $lte $exists, $regex (a plain case-insensitive substring, not a pattern), $and, $or. Text fields take $eq $ne $regex, number fields all six comparisons, date fields $gt $gte $lt $lte with a day such as "2026-11-13" (no time), every field $exists. At most 20 conditions and 3 levels of $and / $or. An empty filter {} lists every task, as no filter does.
taskIdsNoReturn only these tasks (at most 100 ids)
completedNofalse = only open tasks, true = only completed tasks, omit = both. Cursors apply to the filtered list.
projectIdYesProject ID from `list_projects`

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / fields
      Added value: +{
      +  "description": "true = each task carries `fields`, its custom field values keyed by field name (a Select gives its label). Password, Assign and Media fields are left out, and a filter on them is refused. The reply adds `fieldIds` (field name to field id).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / filter
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Rows to keep, keyed by field name or `text`: { \"Value\": { \"$gte\": 5000 } }. Operators: $eq $ne $gt $gte $lt $lte $exists, $regex (a plain case-insensitive substring, not a pattern), $and, $or. Text fields take $eq $ne $regex, number fields all six comparisons, date fields $gt $gte $lt $lte with a day such as \"2026-11-13\" (no time), every field $exists. At most 20 conditions and 3 levels of $and / $or. An empty filter {} lists every task, as no filter does.",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / taskIds
      Added value: +{
      +  "description": "Return only these tasks (at most 100 ids)",
      +  "items": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 100,
      +  "minItems": 1,
      +  "type": "array"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare a safe read (readOnlyHint=true, destructiveHint=false), but the description adds behavior the annotations cannot convey: Password/Assign/Media fields are omitted from `fields` and filtering on them is refused, and such a call returns `hasNextPage`/`nextCursor`. It also discloses cursor directionality (after vs before, task ids) and the conditional pagination envelope, which materially affects how an agent must loop.

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?

Front-loaded with purpose and return shape before optional behavior, and most sentences earn their place. The final sentence about `hasNextPage`/`nextCursor` is placed after parameter discussion and reads slightly disjointed, but it is short and informative rather than padding.

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?

With 8 parameters, a nested filter object, and no output schema, the description does the work of describing the reply shape and pagination envelope, plus the prerequisite for `projectId`. It leaves default page sizing and the full operator/limit rules to the schema, which is reasonable, but a one-line note on the default page size would round it out.

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% and every parameter already carries a detailed description, including filter operators and limits, so the schema carries the parameter burden. The description mostly restates which optional keys exist (`fields`, `filter`, `taskIds`) and adds the cross-cutting note that those three trigger `hasNextPage`/`nextCursor`, which is return behavior rather than parameter meaning. Baseline 3 applies.

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?

Opens with a specific verb+resource ("List tasks (nodes) in a project") and immediately states the return shape (id, text, completed, parentId), so an agent knows exactly what comes back. It also names `list_projects` as the source of the required `projectId`, which is the only prerequisite for calling it.

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

Usage Guidelines4/5

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

Gives clear invocation context: get ids from `list_projects`, and use `fields`/`filter`/`taskIds` when custom values, row filtering, or named rows are needed. It does not state any when-not conditions or name an alternative tool (e.g. for single-task reads such as `get_task`-style siblings), so it stops short of full alternatives guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.