Skip to main content
Glama

clean_pile

Archive completed comments to clear them from the pile by IDs, project, or all; omit filters to target the current folder's project. Owner-initiated only; undo with restore_comments.

Instructions

Archive done comments (clean them off the pile). Pass ids, or a project, or "all"; omit both for the current folder's project. Undo with restore_comments. OWNER ONLY: call this only when the owner explicitly asks you to in this conversation, never on your own initiative.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "clean_pile"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsNoArchive just these done comments.
projectNoProject id or name. Omit to use the project whose folder contains the current directory. Use "all" for every project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses this is a mutation, that owner authorization is required, that the action is reversible via restore_comments, and that omitting selectors defaults to the current folder's project. It stops short of saying whether archived comments remain retrievable via list_comments/get_comment or what the response reports.

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-loaded with the action, then selectors, then the undo escape hatch, then the authorization gate — the most consequential constraint last but still unmissable. No filler; the parenthetical gloss is the only expendable fragment.

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?

For a 2-parameter, no-output-schema mutation with zero annotations, the description covers safety, reversibility, default targeting, and authorization. Only the post-call effect (what an agent should tell the user happened, whether comments can still be read) is left unspecified.

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 3 baseline applies, but the description adds an either/or combination rule for ids vs. project vs. "all" that the schema does not state on its own, and flags that both can be omitted. That is genuine meaning beyond the property descriptions.

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?

"Archive done comments (clean them off the pile)" gives a concrete verb and resource, and the scope selectors (ids / project / all) are spelled out. It separates itself from restore_comments as the undo counterpart, but never distinguishes archiving from the destructive siblings like delete_comment or remove_attachment, so an agent must infer that archiving is non-destructive.

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?

Strong, explicit invocation gate: "OWNER ONLY: call this only when the owner explicitly asks you to in this conversation, never on your own initiative," plus an undo path via restore_comments. What's missing is a selection rule against the other removal-oriented siblings (delete_comment, remove_attachment), which are the realistic wrong-choice alternatives.

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