Skip to main content
Glama

aiworkhub_dashboard_storage_retention_preview

Read-only

READ-ONLY: preview reclaimable worker worktrees, stale Git registrations, and storage quarantine batches.

Instructions

READ-ONLY: preview reclaimable worker worktrees, stale Git registrations, and storage quarantine batches.

Use this first to obtain a fresh preview_digest before calling aiworkhub_dashboard_storage_quarantine or aiworkhub_dashboard_storage_registration_prune; use aiworkhub_dashboard_terminal_log_retention_preview or aiworkhub_dashboard_task_retention_preview for terminal logs or archived tasks. Scans worktree storage read-only without moving or deleting files.

Input Schema

NameRequiredDescriptionDefault
include_itemsNobool (default False); False folds lists to counts and top-ten candidates, True returns full candidate and batch lists.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.12.62
    • addedInput schema / properties / include_items / description
      Added value: +"bool (default False); False folds lists to counts and top-ten candidates, True returns full candidate and batch lists."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description reinforces it by stating it scans without moving or deleting files, plus it discloses the side-effect-free preview_digest artifact expected by downstream tools. Return shape is covered by the output schema, so this is close to complete.

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 sentences, each earning its place: the first states scope and read-only nature, the second routes to correct downstream and alternative tools. Front-loaded with the key scoping constraint.

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?

With annotations carrying the safety profile and an output schema covering return values, the description supplies the remaining needed context: what is scanned, that it is non-destructive, and how to sequence it before the mutation tools.

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?

Only one parameter with 100% schema description coverage, so the schema already fully documents include_items and the description adds nothing about it. Baseline 3 is appropriate.

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 (preview) plus three concrete resources (worker worktrees, stale Git registrations, storage quarantine batches), and the READ-ONLY framing plus scoping distinguishes it clearly from sibling mutation tools like storage_quarantine and storage_registration_prune.

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?

Explicitly says to call this first to obtain a fresh preview_digest before the two downstream mutation tools, and names the alternative previews (terminal_log_retention_preview, task_retention_preview) for other resource types. Both when-to-use and when-not-to-use are covered.

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