Skip to main content
Glama
Microsoft To Do MCP
by neelroy

archive-completed-tasks

Destructive

Move completed tasks older than a set number of days from one list to an archive list, cleaning up active lists while preserving task history. Preview changes with a dry run before archiving.

Instructions

Move completed tasks older than a specified number of days from one list to another (archive) list. Useful for cleaning up active lists while preserving historical tasks.

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": {
      "sourceListId": "<sourceListId>",
      "targetListId": "<targetListId>"
    },
    "name": "archive-completed-tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoIf true, only preview what would be archived without making changes
sourceListIdYesID of the source list to archive tasks from
targetListIdYesID of the target archive list
olderThanDaysNoArchive tasks completed more than this many days ago (default: 90)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description adds genuine value by clarifying that tasks are moved (not copied) and history is preserved in the archive list. It does not disclose whether the move is reversible, what happens to tasks already present in the target list, or whether the operation is batched or rate-limited, which matters for a destructive bulk mutation.

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 tight sentences: the mechanism is front-loaded and the rationale follows. No redundant restatement of the name or title, and nothing extraneous.

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

Completeness3/5

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

For a destructive, four-parameter mutation tool with no output schema, the description covers the core mechanism and intent but omits failure behavior, reversibility, and what the caller gets back (e.g., count of moved tasks or a dryRun preview shape). An agent can call it but has gaps in knowing the consequences.

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?

Schema description coverage is 100%, so all four parameters including dryRun and the 90-day default are already documented in the schema. The description reinforces the source/target and age-threshold semantics but adds no new detail such as a maximum batch size or precedence rules. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

States a specific verb and resource with scope: move completed tasks older than N days from a source list to a target archive list. This is clearly distinct from sibling operations like delete-task or get-tasks because it is a bulk move-and-preserve operation. It stops short of naming a sibling alternative, but the operation is unambiguous.

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?

The second sentence gives positive usage context: cleaning up active lists while preserving historical tasks. It does not say when to prefer this over permanently deleting tasks or manually moving items one by one, nor does it state prerequisites such as permissions on both lists.

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