Skip to main content
Glama

ticktick_complete_task

Marks a TickTick task as completed and records it as processed, so it no longer appears in the unprocessed completions queue.

Instructions

Mark a task as completed.

Completing a task here also records it as processed, so it does not come back from ticktick_get_unprocessed_completions. That queue is for completions made elsewhere, where a note may be waiting to be read. There is no need to call ticktick_mark_completion_processed afterwards.

Args: task_id (str): The task's full ID.

Returns: After a completion call, a JSON object carrying outcome. completed: the task is no longer open. It has usually left the active list, so no task object comes back; one that can still be read is returned at status=2. completed_recurring: the next occurrence, at status=0, with next_occurrence_id. uncertain: a non-recurring task is still open, with _verification_warnings saying so. completion_recorded reports whether the local record was written. Present only when a non-recurring task completed; absent wherever nothing was recorded, which is every recurring completion and outcome: "uncertain". The task is complete either way. Missing task: {"status": "not_found", "error": "..."}. Other failures: {"error": "...", "status": "error"}.

Limitations: - Once completed, the content field becomes immutable. Update content with resolution notes BEFORE calling this tool. - A recurring task's completion is never recorded, whatever the outcome: completing one files the completed instance under an id this tool never sees. That instance reaches the unprocessed queue. Do not mark the series id processed by hand instead; it is not the id the queue is showing.

Example: ticktick_complete_task(task_id="60ca9dbc8f08516d9dd56324")

Input Schema

NameRequiredDescriptionDefault
task_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and mostly delivers: it discloses that the local record is written as a side effect, that content becomes immutable afterwards, that recurring completions are never locally recorded and land in the unprocessed queue under a different id, and gives the not_found/error shapes. The outcome enumeration (completed, completed_recurring, uncertain, completion_recorded) is valuable but partly duplicates the declared output schema, so this is not a clean 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core verb and the key routing sentence, which is good, but the Returns block runs long and largely re-describes an output schema that already exists, and the opening paragraph about the unprocessed queue is dense enough to need a second read. The Limitations and Example sections earn their space; the return-value prose does not fully.

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?

Covers the mutation's side effects, the recurring-task edge case, the failure shapes, the ordering constraint on content edits, and a usage example — everything an agent needs to call this correctly and interpret a surprising result. An output schema is present, so the extra return detail is redundant rather than 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 0%, so the description must compensate; it does by documenting task_id as "the task's full ID" and supplying a concrete example value, which signals the expected format. It could go further by explicitly contrasting the full task id with the series instance id that the recurring-task caveat mentions, but the meaning added is real rather than a restatement of the schema.

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 plus resource ("Mark a task as completed") in the first line and immediately draws the boundary against two named siblings, ticktick_get_unprocessed_completions and ticktick_mark_completion_processed, explaining why this tool does not feed that queue. An agent can distinguish it from the other completion-related tools without opening any 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?

Explicitly says what NOT to do ("There is no need to call ticktick_mark_completion_processed afterwards", "Do not mark the series id processed by hand") and names the alternative that handles the other case (the unprocessed queue is for completions made elsewhere). It also gives an ordering prerequisite: write resolution notes BEFORE calling, since content becomes immutable.

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