Skip to main content
Glama
Google Workspace MCP Server

Google Workspace MCP Server

by akilja24

clear_completed_tasks

Removes all completed tasks from a specified Google Tasks list by marking them hidden, keeping your task list clean. Provide the user's Google email and the task list ID to confirm cleanup.

Instructions

Clear all completed tasks from a task list. The tasks will be marked as hidden.

Args: user_google_email (str): The user's Google email address. Required. task_list_id (str): The ID of the task list to clear completed tasks from.

Returns: str: Confirmation message.

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": {
      "user_google_email": "<user_google_email>",
      "task_list_id": "<task_list_id>"
    },
    "name": "clear_completed_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_list_idYes
user_google_emailYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.13.1

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose the non-obvious key trait that tasks are 'marked as hidden' rather than permanently deleted, which materially changes the risk profile, but it says nothing about required scopes, whether hiding is reversible, or what happens to non-completed tasks.

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 is front-loaded in a single sentence, followed by the non-obvious hiding behavior. The Args block is somewhat redundant in form but necessary given zero schema coverage; nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter mutation tool with an output schema, the description covers purpose, the key side effect, and both parameters. It stops short of stating permission requirements or reversibility, but the essential information for a correct call is present.

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 description coverage is 0%, so the description must document the parameters itself, and it does: it explains that user_google_email is the user's email and task_list_id identifies the list to clear. The only shortfall is labeling email as 'Required' while saying nothing about the requirement status of task_list_id, which the schema marks as required.

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 opens with a specific verb and resource ('Clear all completed tasks from a task list') and states the scope ('all completed'). It is clearly distinguishable from listing or creating tasks, though it does not explicitly name a sibling alternative.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus alternatives such as listing or deleting tasks individually, and no prerequisites or cautions are stated beyond the implicit 'use it to clear completed tasks'. The reader must infer the situation in which this is appropriate.

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