Skip to main content
Glama

worktree_apply

Destructive

Apply selected audit recommendation items (policy/hook/seed/tool-prune) after user consent. Requires confirm=true to mutate; without it returns the plan. Never removes worktrees or user files.

Instructions

Apply selected audit recommendation items (policy/hook/seed/tool-prune) after user consent. Requires confirm=true to mutate; without it returns the plan. Never removes worktrees or user files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemNoAudit item ids to apply (e.g. policy, hook, seed:pnpm)
jsonNoReturn JSON instead of text
confirmNotrue mutates; false or omitted returns the plan
all_safeNoApply every safe item that needs no extra consent
workspace_pathNoAbsolute thread workspace directory; must map to this project. Omit only when the server cwd is the thread workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.13.0

TDQS

Score is being calculated.