Skip to main content
Glama
crunchtools

mcp-metsuke-crunchtools

Official
by crunchtools

Prune Outputs Tool

prune_outputs_tool

Bulk-delete saved report outputs by choosing exactly one criterion: keep the N newest or remove entries gathered before a date; returns deleted count and IDs.

Instructions

Bulk-prune a report's saved outputs. Returns the count and ids deleted.

Give exactly one criterion: keep_last retains the N most recent outputs and deletes the rest (keep_last=0 deletes them all); before_date deletes every output gathered strictly before that date.

Input Schema

NameRequiredDescriptionDefault
keep_lastNoRetain this many newest outputs, delete older ones
before_dateNoDelete outputs gathered before this date (YYYY-MM-DD)
report_nameYesThe report whose outputs to prune

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses that outputs are deleted, that keep_last=0 deletes all, and that it returns count and ids, but it does not state whether deletion is irreversible or what permissions are required.

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 short and front-loaded: purpose and return value first, then criterion semantics. Every sentence adds useful information without 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?

The schema fully documents parameters, an output schema exists, and the description explains the pruning criteria and return summary. The main remaining gap is behavioral safety context such as irreversibility and permissions, which matters because no annotations are provided.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds important meaning beyond the schema. It clarifies the exactly-one-criterion constraint and explains the special keep_last=0 case and the strict 'before' behavior of before_date.

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?

The description states a specific verb and resource: bulk-prune a report's saved outputs. The word 'bulk' helps distinguish it from a single-output deletion tool, though it does not explicitly name delete_output_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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly instructs that exactly one criterion must be given and explains how to choose between keep_last and before_date. It does not explicitly compare this tool with delete_output_tool or list_outputs_tool, but the usage context is clear.

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