Skip to main content
Glama

folders_delete

DestructiveIdempotent

🗑️ Delete an inbox folder. Threads inside become unfiled (not deleted).

When to use:

  • User wants to remove a folder they no longer need

  • User wants to clean up their inbox organization

Threads inside the folder are NOT deleted — they simply move back to the inbox.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folder_idYesID of the folder to delete
in_workspaceNoRun this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / in_workspace
      Added value: +{
      +  "description": "Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.",
      +  "type": "integer"
      +}
  2. Added
  3. Removed
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description supplies the non-obvious consequence that threads are reverted to the inbox rather than destroyed. It omits permission requirements, failure behavior for a missing folder_id, and whether the operation is reversible, keeping it short of a 5.

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?

Front-loaded with the action and its key side effect, and the bullet list is scannable. However, the 'threads are NOT deleted' fact is stated twice (opening line and closing line), which is mild redundancy rather than pure waste.

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 two-parameter mutation with no output schema, the definition covers what matters most: the destructive action, its safety profile via annotations, and the side effect on contained threads. Missing only edge-case handling (nonexistent folder, permissions), which is minor at this complexity.

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 folder_id and in_workspace are already documented in the schema. The description adds no syntax, format, or constraint detail about either parameter, so the baseline 3 applies.

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?

States a specific verb+resource (delete an inbox folder) and immediately disambiguates the outcome: threads become unfiled rather than deleted. This clearly separates it from folders_create and from any thread-deletion tool such as threads_delete.

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?

The 'When to use' block gives two concrete triggering intents (remove unwanted folder, clean up inbox organization). It does not name alternatives or explicit when-not conditions, but there is no competing sibling that performs the same deletion, so the context is sufficient to choose this tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.