Skip to main content
Glama

List tasks

list_tasks
Read-onlyIdempotent

List tasks, newest first, with filters. Times (dueBefore, dueAfter, startAfter, updatedSince) are epoch ms or ISO 8601; due filters leave out tasks without a due date. To poll for changes, pass assigneeId "me" and updatedSince set to the newest updatedAt you have seen minus 5 seconds, skip repeats, then follow nextCursor until it is null. A custom sort, tagIds, q, and ids read a window of up to 500 tasks; truncated marks a longer result. Subtasks are left out unless includeSubtasks or parentTaskId is set. Rows leave out descriptions unless response_format is detailed; get_task returns one task's description.

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
qNoOnly tasks whose title contains these words.
idsNoIDs or identifiers; unreadable ones come back in missing.
sortNoWhat to sort by. Tasks come newest first when omitted. A sort reads a window of up to 500 tasks.
limitNoHow many tasks to return in one page. 50 when omitted, and at most 25 with include.
orderNoSort direction. created and updated sort newest first when omitted, and the other sorts ascend.
cursorNonextCursor from the previous page, with the same filters. Leave it out for the first page.
offsetNoTasks to skip from the start. Page with cursor where you can; the two cannot be combined.
statusNoOnly tasks in these statuses, comma-separated: backlog, todo, in_progress, perpetual, in_review, done or cancelled.
tagIdsNoOnly tasks with any of these tags. Tag IDs come from list_tags.
viewIdNoSaved view; your filters win.
deletedNoList deleted tasks.
includeNoEmbed up to 20 rows per task; 25 tasks per page.
dueAfterNoOnly tasks due after this time. Epoch milliseconds or an ISO 8601 time.
priorityNoOnly tasks with these priorities, comma-separated: none, low, medium, high or urgent.
creatorIdNoOnly tasks this person created: a user ID from list_members, or "me" for yourself.
dueBeforeNoOnly tasks due before this time. Epoch milliseconds or an ISO 8601 time.
projectIdNoOnly tasks in this project: its ID or slug, from list_projects.
assigneeIdNoA user ID, or "me" for the caller. Matches tasks where that user is any of the assignees. Without updatedSince, the most recently updated come first.
externalIdNoOnly the task with this ID at the provider. Needs externalSource.
startAfterNoOnly tasks that start after this time. Epoch milliseconds or an ISO 8601 time.
parentTaskIdNoList the subtasks of this task: its ID or identifier such as PRO-42.
updatedSinceNoEpoch milliseconds or an ISO 8601 time. Returns tasks updated after it, oldest update first. New comments do not change a task's updatedAt. To poll, start 5s before the newest updatedAt and skip repeats.
externalSourceNoOnly tasks synced from this provider, such as github.
includeRemovedNoWith assigneeId and updatedSince: also return removed tasks (unassigned or trashed): id, updatedAt, deletedAt.
includeSubtasksNotrue also lists subtasks. Only top-level tasks are listed when omitted.
response_formatNoHow much to return. concise applies when omitted; detailed adds every field and the full text.

Output Schema

NameRequiredDescriptionDefault
hintNoA tip on reading cut text in full or on a faster way to do this. Sent only when one applies.
tasksYesThis page of results.
totalNoSent only with offset: how many tasks were read for this page.
hasMoreNotrue when another page exists.
missingNoWith ids: the IDs and identifiers that could not be read.
removedNoWith includeRemoved: tasks that left your list, each with id, updatedAt and deletedAt.
truncatedNotrue when a custom sort, tagIds, q or ids matched more than the 500 tasks read.
nextCursorNoPass as cursor for the next page. Null or absent on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover the read-only, idempotent, non-destructive profile, and the description adds substantive behavior the annotations cannot: due filters omit tasks lacking a due date, custom sort/tagIds/q/ids read a 500-task window flagged by truncated, and subtasks and descriptions are excluded by default. These are exactly the silent truncation and filtering semantics an agent must know to interpret results.

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?

Five dense sentences, each carrying distinct operational information with the default ordering stated first and the polling recipe clustered together. No filler or restatement of the tool name.

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

Completeness5/5

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

For a 26-parameter list tool, the description covers the high-risk gaps: pagination mechanics, truncation signaling, default exclusions, and response verbosity. With an output schema and full annotation coverage present, nothing material an agent needs to call it correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3; the description earns more by adding cross-parameter semantics the schema lacks, notably that due filters drop tasks without a due date and that the 500-task window applies to certain filter combinations. It stops short of explaining every param, relying on the schema for the rest.

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 and resource ("List tasks, newest first, with filters") and explicitly separates itself from get_task by noting get_task returns a single task's description. The scope of what is and isn't returned (subtasks excluded, descriptions omitted) further pins down the identity.

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?

Gives an explicit polling recipe (assigneeId "me", updatedSince set to newest updatedAt minus 5 seconds, skip repeats, follow nextCursor until null) and routes the agent to get_task when a single description is needed. It also states the conditions that select optional behaviors, such as includeSubtasks or parentTaskId for subtasks.

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.

Resources