Skip to main content
Glama

aiworkhub_dashboard_task_restore

USER WRITE: restore one archived task card in the canonical task store back to its prior status.

Instructions

USER WRITE: restore one archived task card in the canonical task store back to its prior status.

Use this to unarchive a single task archived via aiworkhub_dashboard_task_archive; use aiworkhub_dashboard_task_quarantine_restore instead if the task was already moved into a task-retention quarantine batch. Requires confirm=True, clears the archived overlay on the task row, records an audit event, and invalidates storage telemetry.

Input Schema

NameRequiredDescriptionDefault
reasonNostr optional audit note (default "", truncated to 200 chars) recorded on the restore event.
confirmNobool (default False); must be True to restore the archived task.
task_idYesstr canonical task identifier of the archived task to restore.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.12.62
    • addedInput schema / properties / confirm / description
      Added value: +"bool (default False); must be True to restore the archived task."
    • addedInput schema / properties / reason / description
      Added value: +"str optional audit note (default \"\", truncated to 200 chars) recorded on the restore event."
    • addedInput schema / properties / task_id / description
      Added value: +"str canonical task identifier of the archived task to restore."
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations at all, the description carries the full burden and does so: it labels this a USER WRITE, names the gating requirement (confirm=True), and enumerates side effects — clearing the archived overlay, writing an audit event, invalidating storage telemetry. Those are exactly the non-obvious consequences an agent needs before mutating state.

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 sentences, each earning its place: purpose first, routing/alternative second, side effects last. No filler or restatement of the tool name.

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?

For a 3-parameter write tool, the description covers trigger, alternative, prerequisite, and downstream effects, and an output schema exists so return values need not be explained. An agent has everything needed to call it correctly.

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 task_id, confirm, and reason are already fully documented in the schema. The description only reiterates the confirm=True requirement and adds no format, identifier, or defaulting details beyond it; baseline 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?

States a specific verb and resource ('restore one archived task card in the canonical task store') plus the resulting state ('back to its prior status'). It is unmistakable against sibling aiworkhub_dashboard_task_quarantine_restore and the archive counterpart, which are named explicitly.

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?

Gives the positive trigger (unarchive a task archived via aiworkhub_dashboard_task_archive) and the explicit alternative with its distinguishing condition (use quarantine_restore if the task is already in a task-retention quarantine batch). Nothing is left to inference about when not to call it.

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