Skip to main content
Glama
shiiman

multi-agent-mcp

by shiiman

cleanup_on_completion

Cleans up workspace after all tasks complete. Force option enables cleanup even if tasks are incomplete.

Instructions

全タスク完了時にワークスペースをクリーンアップする。

タスクが完了していない場合はエラーを返す。 force=True で未完了でも強制クリーンアップ。

※ Owner のみ使用可能。

Args: force: 未完了でも強制的にクリーンアップするか repo_path: メインリポジトリのパス(worktree 削除に使用) caller_agent_id: 呼び出し元エージェントID(必須)

Returns: クリーンアップ結果

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNo
repo_pathNo
caller_agent_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description provides some behavioral traits: returns error if tasks incomplete, force flag overrides, owner-only restriction, and repo_path used for worktree deletion. However, it lacks details on side effects, destructive nature, or exact cleanup behavior, leaving gaps.

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?

The description is concise, with a brief summary line followed by a clear bullet-style argument list. Every sentence adds value, and the structure is easy to parse.

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?

Given 3 parameters and an output schema, the description covers the main behavior, conditions, and key parameters. However, it omits details about the output format, error types, and whether the operation is reversible, leaving some contextual gaps.

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

Parameters4/5

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

The description explains all three parameters in plain language, adding context beyond the bare schema (which has 0% coverage). Notably, it marks caller_agent_id as required despite schema default null, a critical semantic addition.

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?

The description clearly states 'Clean up workspace when all tasks are completed,' specifying the condition and action. It also mentions error behavior and force flag, differentiating it from siblings like cleanup_workspace, though lacking explicit sibling comparison.

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 description gives clear conditions: use when all tasks are complete, otherwise error unless force=True. It also notes owner-only usage. However, it does not compare with alternative tools like cleanup_workspace or check_all_tasks_completed, leaving usage decision partially ambiguous.

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/shiiman/multi-agent-mcp'

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