Skip to main content
Glama

Delete Folder from Iagon

iagon_delete_folder
DestructiveIdempotent

Permanently deletes a folder from Iagon storage using its folder ID, including any files inside; use only when permanent removal of the directory is intended.

Instructions

Delete a folder from Iagon storage.

Warning: This may also delete all files within the folder. This action is permanent.

Args:

  • folder_id (string, required): ID of the folder to delete

Returns: Success/failure status.

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": {
      "folder_id": "<folder_id>"
    },
    "name": "iagon_delete_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
folder_idYesID of the folder to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/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, so safety is partly covered; the description still earns credit by disclosing recursive deletion of contained files and permanence, which annotations do not convey. The hedge 'may also delete' is a weakness — an agent cannot tell whether contents are always or only sometimes removed.

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 warning and permanence notice in two short sentences, which is the right ordering for a destructive tool. The Args/Returns blocks duplicate the schema and add slight bulk without new information.

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 one-parameter destructive tool with full annotation coverage and no output schema, the description covers the essential risk (recursive, permanent) and return nature. The remaining gap is the ambiguity of 'may also delete' where the agent needs certainty about data loss.

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% and the single folder_id parameter is fully described there, so the Args block merely restates the schema. The description adds no meaning about ID format, source of the ID, or behavior for invalid IDs; baseline 3 is appropriate.

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 ('Delete') and resource ('a folder from Iagon storage'), which cleanly separates it from file-oriented siblings like iagon_delete_file and iagon_delete_folder's inverse iagon_create_folder. It stops short of naming an alternative explicitly, so it is clear but not maximally differentiated.

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 warning about contained files and permanence implies this is a high-caution operation, but it never says when to prefer it over deleting files individually or emptying a folder first. There is no prerequisite or permission guidance, leaving the agent to infer usage conditions.

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