Skip to main content
Glama

file_clean_apply

Move files matching a pattern to .trash after preview approval, ensuring safe cleanup without permanent deletion.

Instructions

实际清理(需先 preview 且通过裁决):移入 .trash/ 回收区,绝不物理删除。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
patternYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description discloses the key behavioral trait: files are moved to .trash/ and never physically deleted. This is valuable safety context, though it doesn't mention permissions, reversibility, or edge-case behavior.

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?

A single, front-loaded sentence efficiently conveys the operation, prerequisite, and safety behavior. No wasted words.

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?

The description is sufficient for a simple apply-step tool, covering purpose, prerequisite, and safety. However, the absence of parameter semantics and reliance on sibling context leaves some gaps, especially since no annotations are provided.

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?

Schema description coverage is 0% and the description provides no details about 'path' or 'pattern'. The parameter names are self-explanatory in context, but the description doesn't specify how they interact or what formats are expected.

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 clearly states the tool's function: applying cleanup by moving files to .trash/ rather than physically deleting. It distinguishes itself from preview tools by explicitly saying '实际清理' (actual cleanup) and mentioning the prerequisite of preview.

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 description explicitly states when to use this tool: after preview and after passing adjudication ('需先 preview 且通过裁决'). This effectively tells the agent to use the preview sibling first, though it doesn't explicitly name alternatives.

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/albertm88/e-worker-mcp'

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