Skip to main content
Glama

preview_delete_folders

Read-only

Preview the deletion of multiple folders in a read-only plan, showing the full folder list and descendant count before requiring explicit confirmation and rejecting overlapping parent/child selections.

Instructions

Preview deletion of several folders in one read-only plan. Show the complete folder list and descendant count, then wait for explicit confirmation. Overlapping parent/child selections are rejected.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ids": "<ids>"
    },
    "name": "preview_delete_folders"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-dev.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description is consistent with that. It adds genuinely non-obvious behavior: the plan returns the full folder list plus descendant counts, requires an explicit confirmation gate, and rejects overlapping parent/child selections.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, purpose front-loaded, with no redundant restatement of the name. Every sentence carries information: what it does, what it returns, and a validation rule.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the mention of the folder list and descendant count usefully describes what the preview surfaces. It still leaves open whether a preview expires and which tool executes the confirmed deletion, gaps that matter for a confirm-gated workflow.

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?

The single 'ids' array has 0% schema description coverage, so the narrative must carry meaning. It establishes that ids are folder identifiers and that parent/child overlap among them is invalid, but it never specifies the ID format or how many selections are practical.

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?

States a specific verb (preview deletion) and resource scope (several folders), plus the key differentiator 'in one read-only plan'. The plural scope implicitly separates it from the singular preview_delete_folder sibling, though it never names that sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

'then wait for explicit confirmation' implies the preview-then-apply two-phase workflow, which is real usage guidance. However, it never names apply_delete_folders as the follow-up step, nor states when to prefer this over preview_delete_folder for a single folder.

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