Skip to main content
Glama

aiworkhub_dashboard_task_retention_preview

Read-only

READ-ONLY: preview archived task rows eligible for retention quarantine and list existing undo batches.

Instructions

READ-ONLY: preview archived task rows eligible for retention quarantine and list existing undo batches.

Call this before aiworkhub_dashboard_task_quarantine to inspect candidate counts and obtain preview_digest; use aiworkhub_dashboard_task_archive to archive a single live task first. Opens the task database read-only, excludes archived tasks with pending or inflight callbacks, and never mutates task rows.

Input Schema

NameRequiredDescriptionDefault
older_than_daysNooptional int age cutoff in days (default None uses repository retention policy, valid range 7..3650).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.12.62
    • addedInput schema / properties / older_than_days / description
      Added value: +"optional int age cutoff in days (default None uses repository retention policy, valid range 7..3650)."
  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?

Annotations already declare readOnlyHint=true, and the description reinforces and extends that with concrete behavior: it opens the task database read-only, excludes archived tasks with pending or inflight callbacks, and never mutates task rows. It also discloses the preview_digest output, which an agent needs to chain into quarantine.

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?

Front-loads the READ-ONLY safety marker, then purpose, then prerequisites, in three short sentences with no filler. Each sentence carries distinct information (safety, ordering, exclusion semantics).

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?

An output schema exists, so return values (including preview_digest) need no prose explanation, and the annotations cover the safety profile. For a zero-required-parameter preview tool, everything an agent needs to call it and then chain into quarantine is present.

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 coverage is 100% and the single parameter already documents its default and the 7..3650 valid range, so baseline 3 applies. The description only implicitly conveys that the cutoff controls eligibility and adds no syntax or format detail beyond the schema.

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 pair (preview / list) against a specific resource (archived task rows eligible for retention quarantine, plus existing undo batches), and names sibling tools it is not (quarantine, archive). An agent can distinguish it from aiworkhub_dashboard_task_quarantine and aiworkhub_dashboard_task_archive without opening any schema.

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 an explicit ordering rule: call this before aiworkhub_dashboard_task_quarantine to inspect candidate counts and obtain preview_digest. It also names an alternative path (aiworkhub_dashboard_task_archive) for the single-task case, so when-to-use and when-to-use-something-else are both stated.

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