You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(tools): Add behavioral guidance to 22 tool docstrings
why: "Use when / Avoid when" guidance existed only in Markdown docs,
invisible to agents at runtime. FastMCP exposes function __doc__ as
MCP tool descriptions — enriching docstrings directly improves agent
tool selection and workflow composition.
what:
- Add 2-3 line behavioral summary to each of 22 tool docstrings
- Covers: use case, common next step, side effects, race conditions
- Key addition: send_keys warns about capture_pane race condition
- Destructive tools note self-kill protection and alternatives
- Max ~100 words per tool to manage context window token cost
- Existing docstring content (params, returns) unchanged
0 commit comments