Skip to content

Commit 6f91f6a

Browse files
committed
fix(mcp) : improve tool invocation reliability for agents
Addresses cases where DevTools MCP tools were not consistently picked up from natural language prompts by improving tool descriptions and metadata. Refs #940
1 parent 8d765c0 commit 6f91f6a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/tools/performance.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const filePathSchema = zod
2828

2929
export const startTrace = defineTool({
3030
name: 'performance_start_trace',
31-
description: `Starts a performance trace recording on the selected page. This can be used to look for performance problems and insights to improve the performance of the page. It will also report Core Web Vital (CWV) scores for the page.`,
31+
description: `Start a performance trace on the selected webpage. Use to find frontend performance issues, Core Web Vitals (LCP, FID, CLS), and improve page load speed.`,
3232
annotations: {
3333
category: ToolCategory.PERFORMANCE,
3434
readOnlyHint: false,
@@ -115,7 +115,7 @@ export const startTrace = defineTool({
115115
export const stopTrace = defineTool({
116116
name: 'performance_stop_trace',
117117
description:
118-
'Stops the active performance trace recording on the selected page.',
118+
'Stop the active performance trace recording on the selected webpage.',
119119
annotations: {
120120
category: ToolCategory.PERFORMANCE,
121121
readOnlyHint: false,

0 commit comments

Comments
 (0)