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
{{ message }}
Repository navigation
AI agent does not automatically invoke MCP / performance tools without explicit instruction #940
When prompting an AI agent to “check LCP” or investigate slow page loads, the agent does not automatically invoke the relevant DevTools MCP performance tools. Tool usage only occurs when explicitly instructed. This seems like a tool discoverability/description issue, and improving tool metadata or prompt-to-tool mapping could make performance debugging more natural.
Reproduction
Chrome DevTools MCP server
AI assistant Cursor IDE invoking MCP tools
Tested across multiple prompts related to LCP and performance debugging
"check LCP" works for me in gemini-cli. Do you have a complete list of prompts that did not work for you? "can you fix my webpage" is probably too generic and the IDE would use the code editing features first.
In most cases the MCP tools were invoked as expected, but I noticed a few intermittent cases (e.g., pagination/UI fixes, fixing a webpage) where the agent didn’t pick them up automatically. Appreciate the team’s responsiveness and the great work here 🙌
Thanks for sharing this, the eval scenarios look really helpful for validating changes. I’ll add a couple of scenarios based on real prompts I’ve been testing.
One suggestion would be to slightly broaden the tool descriptions (e.g., list pages, analyze page, performance_start_trace) to cover more frontend-oriented language so tools are picked up more consistently or agentify the MCP server. Happy to collaborate and discuss more concrete examples if helpful.
I think this is something that also has to be optimized on the AI agent side. tool discovery and tool calling is actually very AI agent dependent, in particular as Cursor is also offering their own browser tools.
Totally agree, tool discovery and calling are definitely very agent-dependent, especially with IDEs like Cursor that have their own browser tools.
In my case, I only had the DevTools MCP server configured in the IDE, so the intermittent misses were happening even without competing tools. Having an agent wrapper or routing layer around MCP servers, making “DevTools agent” prioritizes the DevTools MCP server for browser/runtime-related prompts would likely make this much more deterministic.
Overall, with the right prompts the experience has been great really, and I’m excited about where this is heading.
Activity
OrKoN commentedon Feb 12, 2026
"check LCP" works for me in gemini-cli. Do you have a complete list of prompts that did not work for you? "can you fix my webpage" is probably too generic and the IDE would use the code editing features first.
fix(mcp-tools): improve tool descriptions for better MCP invoking
madhaviai commentedon Feb 12, 2026
In most cases the MCP tools were invoked as expected, but I noticed a few intermittent cases (e.g., pagination/UI fixes, fixing a webpage) where the agent didn’t pick them up automatically. Appreciate the team’s responsiveness and the great work here 🙌
OrKoN commentedon Feb 12, 2026
If you have some suggestions, happy to land improvements! we have basic evaluation scenarios set up here that can help validate improvements https://github.com/ChromeDevTools/chrome-devtools-mcp/tree/main/scripts/eval_scenarios
madhaviai commentedon Feb 13, 2026
Thanks for sharing this, the eval scenarios look really helpful for validating changes. I’ll add a couple of scenarios based on real prompts I’ve been testing.
One suggestion would be to slightly broaden the tool descriptions (e.g., list pages, analyze page, performance_start_trace) to cover more frontend-oriented language so tools are picked up more consistently or agentify the MCP server. Happy to collaborate and discuss more concrete examples if helpful.
natorion commentedon Feb 13, 2026
I think this is something that also has to be optimized on the AI agent side. tool discovery and tool calling is actually very AI agent dependent, in particular as Cursor is also offering their own browser tools.
madhaviai commentedon Feb 13, 2026
Totally agree, tool discovery and calling are definitely very agent-dependent, especially with IDEs like Cursor that have their own browser tools.
In my case, I only had the DevTools MCP server configured in the IDE, so the intermittent misses were happening even without competing tools. Having an agent wrapper or routing layer around MCP servers, making “DevTools agent” prioritizes the DevTools MCP server for browser/runtime-related prompts would likely make this much more deterministic.
Overall, with the right prompts the experience has been great really, and I’m excited about where this is heading.
fix(mcp) : improve tool invocation reliability for agents
fix(mcp): update Core Web Vitals references from FID to INP
fix(mcp) : improve tool invocation reliability for agents
fix(mcp): update Core Web Vitals references from FID to INP
test(mcp): add eval scenarios for vague and URL-based webpage prompts…
fix: improve tool descriptions (#965)