Skip to main content
Glama

delete_folder

Destructive

Delete a mailbox folder immediately. Force option allows removing non-empty folders, but recovery is not guaranteed. User confirmation required before execution.

Instructions

フォルダを削除する。

中身が残っているフォルダは既定で拒否する(force=True で強行)。 メールを1通ずつゴミ箱へ移すのと違い、これは元に戻せる保証がない。 残しておきたいなら削除ではなく move_folder で退避すること。 実行前に必ず利用者の確認を取ること。

Args: folder: 削除するフォルダ名かフルパス。 force: 中身が残っていても削除する。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNo
folderYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true), the description adds critical behavioral context: irreversible deletion, default behavior with non-empty folders, force semantics, and the confirmation requirement. No contradiction with annotations.

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?

The description is appropriately sized for a destructive operation, with a clear opening statement, concise warnings, alternative guidance, and a structured Args section. Every sentence adds value without unnecessary fluff.

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

Completeness5/5

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

Given the tool's destructive nature and the existence of an output schema, the description covers all necessary aspects: purpose, default behavior, force option, irreversibility, alternative tool, and user confirmation. It is complete for safe and correct invocation.

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

Parameters5/5

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

Schema description coverage is 0%, but the description fully explains both parameters: 'folder' is the folder name or full path, and 'force' deletes even if content remains. This adds meaning well beyond the bare schema.

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?

The description states a specific verb+resource: 'フォルダを削除する' (deletes a folder). It distinguishes from sibling alternatives by explicitly comparing with move_folder and noting irreversibility, making the tool's scope clear.

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

Usage Guidelines5/5

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

Provides explicit usage guidance: default rejects non-empty folders, force flag to override, and '残しておきたいなら削除ではなく move_folder で退避すること' (use move_folder instead if you want to keep it). Also instructs to always get user confirmation before executing, covering when and how to use the tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ma2no4413/outlook-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server