[Bug] Glob and Grep missing from Agent Teams deferred tools catalog
Bug Description
Subject: Agent Teams (experimental): Glob and Grep missing from both
default tools and ToolSearch deferred catalog
Version: Claude Code 2.1.150, macOS 25.3.0 arm64
Repro
1. ~/.claude/settings.json contains "env": {
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" }.
2. Start claude in any project. Prompt the agent: "List every tool you
currently have available."
3. The initial toolset is Agent, AskUserQuestion, Bash, Edit, Read,
ScheduleWakeup, ShareOnboardingGuide, Skill, ToolSearch, Write. No
Glob, no Grep.
4. Call ToolSearch with query: "select:Glob,Grep" → returns "No
matching deferred tools found." They aren't in the deferred catalog
either.
5. Confirm they exist in the build: claude --tools default,Glob,Grep
brings them back and they function correctly.
Why this matters
Agent Teams' lean-startup model relies on ToolSearch to lazily surface
tools. Glob and Grep are heavy-use file-search primitives — without
them, agents either fall back to Bash find/grep (which user-level
CLAUDE.md rules often forbid, creating deadlocks with the auto-mode
classifier) or load every MCP tool schema eagerly via --tools
default,Glob,Grep, defeating the lean-context purpose of Agent Teams.
There's no syntax to say "default subset plus these extras, still
lazy" — --tools is all-or-nothing.
Ask
Add Glob and Grep to the Agent Teams deferred-tools catalog so
ToolSearch can surface them on demand, the same way TaskCreate,
WebFetch, EnterPlanMode, etc. already work.
Environment Info
- Platform: darwin
- Terminal: WarpTerminal
- Version: 2.1.150
- Feedback ID: 667ee18b-9930-4c17-99bc-fd0285cb1fc1
Errors
[]Showing cached comments. Read the full discussion on GitHub ↗
4 Comments
I encountered the same issue. I wasn't using Agent Teams either, and I was also prompted that the built-in tools Glob and Grep could not be found.
ClaudeCode 2.1.150 via Linux Debian 13
When open agents is enabled, Glob and Grep go missing; when it is disabled, they become available again.
I don't see Glob/Grep _at all_ in the claude cli
https://code.claude.com/docs/en/changelog#2-1-117
https://github.com/anthropics/claude-code/issues/52476
https://github.com/anthropics/claude-code/issues/69849