Skip to main content
Glama

preview_delete_folder

Read-only

Previews deletion of a folder and all its descendants, showing what would be removed before confirmed removal.

Instructions

Preview deletion of one folder and its descendants.

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": {
      "id": "<id>"
    },
    "name": "preview_delete_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-dev.0

TDQS

B3.2/5.0
Behavior3/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 them (a preview performs no deletion). It adds the useful scope detail that descendants are included, but says nothing about what the preview returns, whether it enumerates the affected items, or any size limit on large subtrees.

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?

A single tight sentence with the scope (descendants) front-loaded alongside the action. It earns its place, though it is terse enough to omit operationally useful context.

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?

For a one-parameter preview tool with no output schema, the definition covers the action and scope but leaves the return value and the relationship to the apply step unaddressed. An agent could invoke it correctly but would not know what to expect back or why to prefer it over apply_delete_folder right away.

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

Parameters2/5

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

There is exactly one parameter (id, required) with 0% schema description coverage, and the description does not mention it at all. It is not stated whether id identifies a folder by numeric ID or path, which matters for correct invocation.

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) and resource (deletion of one folder and its descendants), making the read-only, scoping nature clear. It does not name the write counterpart apply_delete_folder or explain how it differs from the sibling preview_delete_folders, so distinction relies on the names alone.

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?

The word "preview" implies this is a dry-run to be used before an actual deletion, but the description never states that condition or points to apply_delete_folder. An agent must infer the when-to-use rule from the tool name and sibling list.

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