Skip to content

Commit 88e80da

Browse files
committed
docs(server): Add tier-hidden context to agent safety instructions
why: When SafetyMiddleware blocks a tool, agents had no prior context about why. The instructions mentioned tier names but not the hiding behavior. what: - Add sentence to _build_instructions(): "Tools outside the active tier are hidden and will not appear in tool listings."
1 parent d1a07a8 commit 88e80da

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/libtmux_mcp/server.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ def _build_instructions(safety_level: str = TAG_MUTATING) -> str:
6363
"Available tiers: 'readonly' (read operations only), "
6464
"'mutating' (default, read + write + send_keys), "
6565
"'destructive' (all operations including kill commands). "
66-
"Set via LIBTMUX_SAFETY env var."
66+
"Set via LIBTMUX_SAFETY env var. "
67+
"Tools outside the active tier are hidden and will not appear in "
68+
"tool listings."
6769
)
6870

6971
# Agent tmux context

0 commit comments

Comments
 (0)