Skip to main content
Glama

ticktick_get_tasks_from_project

Retrieve all open tasks from a TickTick project by ID or name, choosing compact detail for browsing or full detail for editing.

Instructions

Return every open task in a project.

Args: project_id (str): The project's ID or name. Accepts the project's name as well as its ID (case-insensitive, trimmed; "Inbox" resolves to the inbox). Two projects sharing a name is an error, not a guess. List them with ticktick_get_all(search="projects"). detail (str, optional): "compact" (default) or "full". Compact drops the heavy content/desc/checklist items blobs and bulky sync metadata, keeping id, projectId, title, dueDate, startDate, priority, status, isAllDay, timeZone, tags plus a contentPreview (first ~200 chars of content) so keyword search still works. Full returns the raw task objects unchanged.

Returns: Compact (default): JSON list of compact task objects. If the compact payload would still exceed the size budget, the soonest-due tasks are returned and a final _truncation_note element reports how many were omitted -- nothing is dropped silently. Full: JSON list of raw task objects (empty list if none). On failure: {"error": "...", "status": "error"}.

Limitations: - Completed tasks are NOT included. - Compact output is for browsing only. To edit a task, call ticktick_update_task with its id and only the fields to change. Get the full content of a single task with ticktick_get_by_id, or pass detail="full".

Freshness: Local state is synced from the server at most once per throttle window (default 15s, TICKTICK_MCP_SYNC_TTL_SECONDS); an edit made elsewhere within that window may not be visible yet. Call ticktick_sync to force an immediate refresh.

Example: ticktick_get_tasks_from_project( project_id="" )

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": {
      "project_id": "<project_id>"
    },
    "name": "ticktick_get_tasks_from_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNocompact
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.7.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "ticktick_get_tasks_from_projectOutput",
      -  "type": "object"
      -}New value: +null
  2. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does so: it discloses the silent-truncation policy with a _truncation_note sentinel, the error envelope shape, the exclusion of completed tasks, and the 15s sync throttle with the env var that controls it. The compact-vs-full field lists and the warning that compact output is browse-only (not for editing) are behavioral facts an agent could not infer from the schema.

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?

The purpose sentence is front-loaded and the Args/Returns/Limitations/Freshness sections are easy to scan. A few lines are redundant, such as restating the empty-list case for full detail and a placeholder example that adds nothing beyond the Args block, but nothing is verbose enough to obscure the key facts.

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 two-parameter read tool with no annotations and no output schema, the definition covers return shape, truncation, error format, freshness, and downstream editing workflow. An agent has everything needed to call it correctly and to interpret the response without further probing.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate entirely and it does. project_id is documented as accepting name or ID, case-insensitive and trimmed, with 'Inbox' as a special resolution and an explicit ambiguity-is-an-error rule. detail is documented with its two enum values, the default, the exact retained field set for compact, and the presence of contentPreview with its approximate length.

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 plus a scope constraint: 'Return every open task in a project.' The word 'open' and the project scoping immediately separate it from ticktick_filter_tasks (cross-cutting filtering), ticktick_get_by_id (single task) and ticktick_get_all (enumerating projects/lists).

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?

Names concrete alternatives and the conditions that select them: ticktick_get_all(search="projects") to resolve a project id, ticktick_get_by_id or detail="full" for a single task's full content, ticktick_update_task for edits, and ticktick_sync when stale data is suspected. The Limitations block also states the negative case (completed tasks excluded), so the agent knows when not to reach for this tool.

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