Skip to main content
Glama

Tasks List Tasklists

tasks_list_tasklists
Read-onlyIdempotent

List Google Tasks task lists or look up one by ID to retrieve the tasklist_id needed by other tasks tools, with pagination and default-list selection.

Instructions

List the user's Google Tasks task lists, or look up one list by tasklist_id. Call it to get the tasklist_id the other tasks tools take ('@default' also selects the default list); for the tasks in a list use tasks_list_tasks. Returns tasklists (id, title, updated_at in local time), count, next_page_token when more lists remain, and account_timezone.

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": "tasks_list_tasklists"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_tokenNoThe next_page_token from the previous response of this same call; omit for the first page.
max_resultsNoMaximum task lists per page, 1 to 100.
tasklist_idNoTask list ID (or '@default') to return only that list, as a one-item tasklists; max_results and page_token are ignored when it is given.

Output Schema

NameRequiredDescriptionDefault
countNoNumber of items in this response.
has_moreNoWhether another page is available.
tasklistsNo
fetched_atNoRFC3339 time when this response was fetched.
next_page_tokenNoOpaque token for the next page, or null.
account_timezoneNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile needs no restating. The description goes beyond them by disclosing pagination behavior ('next_page_token when more lists remain') and that updated_at is in local time, plus the account_timezone field — genuinely useful operational context.

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?

Three tight sentences: purpose first, disambiguation and the id-fetching rationale second, return shape last. No filler, and the most decision-relevant information is front-loaded.

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?

An output schema exists, yet the description still earns its mention of the return envelope because it adds local-time and timezone semantics. For a three-optional-param read tool with full schema coverage and annotations, nothing an agent needs 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, but the description adds a parameter interaction the schema does not state: that max_results and page_token are effectively moot in single-list lookup mode, and that tasklist_id can be '@default'. That is meaningful semantic value beyond the field docs.

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?

States a specific verb and resource ('List the user's Google Tasks task lists') plus a second mode ('look up one list by tasklist_id'), and explicitly distinguishes itself from tasks_list_tasks ('for the tasks in a list use...'). An agent can route correctly without opening either schema.

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 a concrete why-to-call ('get the tasklist_id the other tasks tools take'), names the alternative for the adjacent need (tasks_list_tasks), and explains the '@default' shortcut. When-to-use and when-not-to-use are both present.

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