Skip to main content
Glama

aiworkhub_dashboard_terminal_log_restore

USER WRITE: restore one terminal-log quarantine batch back into the repository process log directory.

Instructions

USER WRITE: restore one terminal-log quarantine batch back into the repository process log directory.

Use this to recover quarantined log files from a batch listed in aiworkhub_dashboard_terminal_log_retention_preview; use aiworkhub_dashboard_terminal_log_purge to permanently delete an expired batch instead. Requires confirm=True, moves quarantined files back without overwriting existing files, updates the batch manifest and audit trail, and invalidates storage telemetry.

Input Schema

NameRequiredDescriptionDefault
confirmNobool (default False); must be True to restore the quarantined log files.
batch_idYesstr identifier of the terminal-log quarantine batch to restore.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.12.62
    • addedInput schema / properties / batch_id / description
      Added value: +"str identifier of the terminal-log quarantine batch to restore."
    • addedInput schema / properties / confirm / description
      Added value: +"bool (default False); must be True to restore the quarantined log files."
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden and does well: it discloses that this is a USER WRITE operation, requires confirm=True, restores files without overwriting existing ones, updates the batch manifest and audit trail, and invalidates storage telemetry. It does not explicitly discuss permissions or reversibility, but the key side effects are disclosed.

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?

The description is front-loaded with the operation type and purpose, followed by usage guidance and behavioral consequences. Every sentence contributes useful information without wasted repetition.

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?

Given that no annotations are present but an output schema exists, the description supplies the important behavioral context an agent needs: write scope, confirmation requirement, no-overwrite behavior, and audit/telemetry effects. It could be slightly more complete by mentioning authorization or error conditions, but it is largely sufficient.

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 both parameters are already well documented in the schema. The description reinforces the confirm=True requirement and ties batch_id to a batch listed in the retention preview, but adds little parameter 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?

The description states a specific verb and resource: restore one terminal-log quarantine batch back into the repository process log directory. It clearly distinguishes this recovery action from permanent deletion by naming the purge tool as the alternative.

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?

It explicitly says when to use this tool: recover quarantined log files from a batch listed in aiworkhub_dashboard_terminal_log_retention_preview. It also names the contrasting alternative, aiworkhub_dashboard_terminal_log_purge, for permanent deletion of an expired batch.

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