Skip to main content
Glama
mcp-google-tasks
by dcode

Clear Completed Tasks

clear_completed_tasks
Destructive

Remove all completed tasks from a Google Tasks list so they no longer appear in default listings, keeping the list focused on active work.

Instructions

Clear all completed tasks from a task list (tasks.clear).

Affected tasks are marked as hidden and will no longer appear in default task listings.

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

Input Schema

NameRequiredDescriptionDefault
tasklist_idNoTask list ID, or '@default' for the primary list.@default

Output Schema

NameRequiredDescriptionDefault
statusNook
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and readOnlyHint=false. The description adds genuinely non-obvious behavior beyond them: tasks are only marked hidden rather than deleted, and they vanish from default listings only — a soft-delete disclosure that materially changes how an agent should reason about the operation.

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?

Two short sentences, front-loaded with the action and followed by the side effect. No filler, no redundancy with structured fields.

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?

Safety profile comes from annotations, return shape from the output schema, and parameter details from the schema at full coverage — so the description's remaining job is to explain the effect, which it does. The only mild gap is whether hidden tasks can be restored, which is minor for a one-parameter tool.

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?

With a single parameter at 100% schema description coverage, the schema already defines tasklist_id and its '@default' sentinel. The description only restates "task list" without adding format or edge-case detail, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource ("Clear all completed tasks from a task list") plus a namespace hint (tasks.clear). It is clearly distinct from single-item siblings like delete_task, though it does not name an alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by "completed tasks" scoping, so an agent knows this is a bulk cleanup rather than a single delete. However, there is no explicit when-to-use versus delete_task/delete_tasklist guidance and no stated prerequisites.

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