Skip to main content
Glama
valentil

FeatureBoard MCP Server

by valentil

Remove a ticket's git worktree

cleanup_worktree
DestructiveIdempotent

Remove a git worktree for a ticket after its branch has been merged, with optional force to discard uncommitted changes.

Instructions

Remove a ticket's git worktree once its branch has been merged back (git worktree remove + prune). REFUSES when the worktree has uncommitted changes unless force:true. No-ops with a message when no worktree is registered for the ticket, and never force-deletes a path git doesn't recognise as a worktree. Leaves the ticket/ branch intact (merge it back first with the merge-back guidance).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoRemove even if the worktree has uncommitted changes.
ticketYes
projectYes
Behavior5/5

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

The description discloses multiple behavioral traits beyond annotations: refusal conditions, no-op behavior, safety check for unrecognized paths, and branch preservation. This aligns with and expands on the 'destructiveHint' and 'idempotentHint' 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 three concise sentences, each adding distinct value. The main action is front-loaded, and every sentence serves a purpose without redundancy.

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?

For a cleanup tool with destructive consequences, the description covers all critical aspects: primary action, refusal conditions, edge cases (no worktree, unrecognized path), and post-conditions (branch intact). No further context is needed given annotations and sibling tools.

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 adds meaning to the 'force' parameter by linking it to uncommitted changes and safety. For 'project' and 'ticket', it provides context via example usage ('ticket/<ticket> branch'). With only 33% schema coverage, the description compensates adequately.

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 uses a specific verb ('remove') and resource ('ticket's git worktree'), clearly distinguishing it from its sibling 'create_worktree'. It explicitly states the action and context.

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 provides clear guidance on when to use (after branch merge), when it refuses (uncommitted changes without force), and when it no-ops (no worktree registered). It lacks explicit alternatives but effectively sets usage boundaries.

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/valentil/featureboard-mcp'

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