Skip to main content
Glama

Reopen a task

reopen_task
DestructiveIdempotent

Reopen a completed task by setting it back to needsAction and clearing its completion timestamp. Restores hidden tasks cleared from view, but cannot recover permanently deleted ones.

Instructions

Reverts a completed task to needsAction and clears its completed timestamp — the undo for complete_task. Works on hidden tasks too (tasks cleared with clear_completed_tasks): reopening un-hides them. Cannot resurrect a deleted task — deletion is permanent. Returns the updated task.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYesThe task id — from list_tasks, get_task or create_task output.
tasklist_idYesThe task list id — from list_tasklists or create_tasklist output. "@default" addresses the user's default list.
Behavior5/5

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

Beyond the annotations, the description discloses the exact state change (needsAction, cleared timestamp), hidden-task behavior, deletion permanence, and that the updated task is returned. These details meaningfully exceed annotation coverage, and there is no contradiction with destructiveHint or idempotentHint.

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 concise sentences each add distinct value: the core behavior, the hidden-task edge case, and the deletion limitation. The most important action is front-loaded, with no filler or repetition.

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?

With only two fully documented parameters and no output schema, the description covers the key behavioral details an agent needs: what changes, what edge cases exist, what the tool cannot do, and what it returns. Annotations cover the safety profile. Nothing essential is missing.

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?

The input schema already documents both parameters fully, including where to get them, so the description does not need to repeat parameter details. It adds no extra parameter-level semantics beyond the schema, so the baseline score of 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?

The description states a specific action with a clear verb and resource: 'Reverts a completed task to needsAction and clears its completed timestamp.' It also explicitly calls itself 'the undo for complete_task', making its relationship to sibling tools unambiguous.

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?

It names the inverse tool, complete_task, and the related clear_completed_tasks flow. It also provides a when-not case: 'Cannot resurrect a deleted task — deletion is permanent.' This is explicit guidance on when to use the tool and what its limits are.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/A1-x-Tech/mcp-google-tasks'

If you have feedback or need assistance with the MCP directory API, please join our Discord server