JS Reverse MCP
This server is an AI-first JavaScript reverse-engineering MCP server that lets AI agents drive a real Chromium browser to debug, capture, analyze, and replay web/network behavior.
Browser automation – Open, navigate, reload, and select pages/tabs; list and select iframes; click elements; take screenshots.
Script analysis – List all loaded JS, search source text or regex, fetch source snippets, save full/minified/WASM sources to local files, and format scripts.
Debugging – Set code breakpoints by text or XHR/Fetch URL patterns, inspect paused call stacks/scopes, evaluate expressions in call frames, step over/into/out, pause/resume, and manage/remove breakpoints.
Network analysis – Inspect HTTP requests/responses, filter by method/resource type/URL, trace which responses set/rotated cookies, get JS initiator stacks, inspect WebSocket connections and messages, and export raw headers/bodies/query params to files.
Runtime evaluation – Execute focused JavaScript in the page or debugger context, access main-world globals, read local input files, and save exact results (including binary) to disk.
Browser state management – Clear cookies, storage, sessionStorage, and optionally global HTTP cache for replay flows; use persistent login profiles or isolated temporary profiles.
Anti-detection support – Runs with a dedicated Patchright fork, optional CloakBrowser source-level fingerprint masking, stealth CDP navigation, real viewport, and Google referer for accessing hard-to-crack sites.
Integration with existing browsers – Connect to a running Chrome or fingerprint browser (AdsPower, BitBrowser, etc.) via CDP endpoint.
Safety controls – Destructive operations require confirmation, file access can be restricted with --allowedRoots, and outputs are designed to guide an AI agent’s next decision.
Connects to Google Chrome browser for JavaScript debugging capabilities, supporting both launched instances and connecting to existing Chrome sessions via remote debugging protocol.
Enables reverse engineering and debugging of JavaScript code in web pages, including script analysis, breakpoint debugging, function hooking, runtime inspection, network analysis, and execution control.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@JS Reverse MCPsearch for 'encrypt' in all scripts on the current page"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
JS Reverse MCP
English | 中文
An AI-first / AI-native JavaScript reverse engineering MCP Server that lets your AI coding assistant (such as Claude, Cursor, Copilot) continuously debug, locate, save, and review JavaScript behavior in web pages like an analyst.
It doesn't hand the Chrome DevTools API to the model as-is. Instead, it reorganizes scripts, breakpoints, network, WebSocket, browser state, and local file I/O into tools suited for an AI Agent's continuous reasoning and operation. Anti-detection is part of that capability: by default it uses a Patchright fork that is recompiled, published, and independently maintained for this MCP to provide protocol-level stealth, with an optional CloakBrowser source-level fingerprint mode for heavily anti-scraping sites.
☁️ 赞助 · Sponsored by IPWO
IPWO residential proxies support flexible proxy configuration, letting developers choose the appropriate network environment for different tasks, for web access, request testing, region-specific content analysis, and automated workflows.
For projects involving JS reverse engineering, browser debugging, and web network analysis, residential proxies can also serve as a supplementary network environment option, helping developers more flexibly meet access and testing needs across different regions.
👉 Free trial entry, 10% discount code: 0204
Related MCP server: Chrome DevTools MCP
☁️ 赞助 · Sponsored by Infistar.cc 无限星河
js-reverse-mcp × Infistar.cc 无限星河|All-model API · Stable AI-assisted debugging
Thanks to Infistar.cc 无限星河 for sponsoring and providing model service support for js-reverse-mcp!
⚡ Stably handles complex debugging tasks: enterprise-grade high-concurrency channels and multi-node redundancy, priced as low as 10% of official channels, reducing rate limits, 429s, and long-task disconnects.
🧠 One API Key for mainstream models: supports ChatGPT, Claude, Gemini, Kimi, GLM, DeepSeek and more, compatible with AI coding tools such as Claude Code, Codex, and Cursor.
🔎 Supports authorized debugging and security research: suitable for multi-step tasks such as script retrieval, breakpoint analysis, network request tracing, call stack inspection, and code logic understanding.
📦 Exclusive benefit for project users: register via the exclusive referral link and complete your first call to receive $5 worth of test credits / first-recharge exclusive discount.
Positioning: model API configuration support for Claude Code / Codex.
Features
AI-native tool design: tool granularity, output boundaries, and error messages are all designed around Agent decision-making, avoiding pushing the model toward invalid next steps
Reviewable workflow: script source code, raw network data, and binary results can all be exported to local files and then used as input for subsequent analysis
Breakpoint context execution: while paused, you can evaluate directly in the call frame, inspect scope variables, step through execution, and get source context back
Script analysis: list all loaded JS, search code, fetch/save source, auto-format large minified scripts
Network and WebSocket analysis: request call stacks, XHR breakpoints, Set-Cookie identification, raw body/header export, WebSocket message grouping
Browser state replay: clear the current site's cookies / cache / storage / sessionStorage, combined with reload to reproduce cookie and risk-control flows
Headed by default + persistent login state: you can see the browser, and cookies / localStorage persist across sessions
Dedicated Patchright kernel: by default depends on a Patchright fork independently maintained by this project, continuously fixing known shared implementation fingerprints from upstream
Optional anti-detection layer: dedicated Patchright protocol-level stealth is enabled by default; for heavily anti-scraping sites you can add
--cloakto use the CloakBrowser binary
Dedicated Patchright fork
js-reverse-mcp no longer depends directly on Patchright's public distribution package. Instead, it uses @zhizhuodemao/patchright, compiled and published specifically for this MCP. This fork is continuously maintained in a separate repository and evolves with this MCP's actual detection samples.
No longer depends directly on Patchright's public distribution package
Protocol-level adjustments for confirmed upstream shared implementation fingerprints, recompiled and republished
Anti-detection adjustments do not rely on page-level JS injection
Retains original capabilities such as evaluate, locator, and page control
The fork is continuously maintained in a dedicated repository for this MCP
The public documentation only describes design boundaries and does not go into internal detection samples or implementation details. The goal of the dedicated fork is to reduce confirmed shared implementation fingerprints, not to promise that browser automation is absolutely undetectable.
System Requirements
Quick Start (npx)
No installation needed. Just add the following to your MCP client configuration:
{
"mcpServers": {
"js-reverse": {
"command": "npx",
"args": ["js-reverse-mcp"]
}
}
}Claude Code
claude mcp add js-reverse npx js-reverse-mcpIf you don't have a usable model API yet, or need to configure a custom API address, see: Claude Code / Codex third-party model API configuration tutorial.
Codex
codex mcp add js-reverse -- npx js-reverse-mcpIf you don't have a usable model API yet, or need to configure a custom API address, see: Claude Code / Codex third-party model API configuration tutorial.
Cursor
Go to Cursor Settings -> MCP -> New MCP Server and use the configuration above.
VS Code Copilot
code --add-mcp '{"name":"js-reverse","command":"npx","args":["js-reverse-mcp"]}'Local Installation (Optional)
git clone https://github.com/zhizhuodemao/js-reverse-mcp.git
cd js-reverse-mcp
npm install
npm run buildThen use the local path in your MCP configuration:
{
"mcpServers": {
"js-reverse": {
"command": "node",
"args": ["/你的路径/js-reverse-mcp/build/src/index.js"]
}
}
}AI-first Design
The core goal of this project is not "being able to operate a browser," but letting an AI Agent reliably complete a full round of real JS reverse engineering tasks: open the page, pass risk control, locate the script, save the source, set breakpoints, trigger behavior, inspect runtime state, export network materials, reproduce state, and then continue reasoning.
Several design orientations run through the code:
Tools are Agent primitives, not DevTools menu mappings:
list_network_requestscan list an index, look up details byreqid, and export precise materials viaoutputFile;evaluate_scriptcan execute in the page, execute in a breakpoint call frame, and accept alocalFilePathinput.Output must guide the next step: list output stays short and scannable; detail output has boundaries; long results prompt for export; pending requests explicitly prompt to resume execution first, so the Agent doesn't wait for a response that will never complete.
Local files are the analysis workbench:
save_script_source,list_network_requests(..., outputFile), andevaluate_script(..., localFilePath)let the Agent move back and forth between the browser, network, and local files, instead of stuffing large code blocks or binary data into the chat context.State can be cleaned, flows can be replayed: the default profile preserves login state;
--isolatedprovides a one-time clean environment;clear_site_dataonly clears state related to the current site, used to repeatedly reproduce cookie generation, risk-control initialization, and request chains.Anti-detection serves the debugging chain: CDP silent navigation, real viewport, Google referer, the dedicated Patchright fork, and CloakBrowser all aim to let the Agent enter the target page and continue analysis, rather than turning the project into a general-purpose crawler framework.
Anti-detection Mechanisms (Supporting Capability)
Anti-detection is one of js-reverse-mcp's underlying supporting capabilities. The wrapper layer (this MCP itself) does zero JS injection and no Object.defineProperty hacks (those are detection signals in themselves). All anti-detection lives in two non-overlapping layers:
Layer | Default mode |
|
Protocol layer (CDP) | Dedicated Patchright fork: doesn't call | Same |
Source layer (C++ binary patch) | None — uses the system Google Chrome directly | CloakBrowser binary (platform-specific source-level fingerprint patches covering |
Profile directory |
|
|
Actual browser | Your installed Google Chrome (with Web Store, extensions, sync) | Custom Chromium build (no Google services, no Web Store) |
A few additional navigation-level measures (active in both modes):
CDP silent navigation —
Network.enable/Debugger.enableare not activated when the page loads; request/console collection only goes through Playwright listeners until a tool explicitly needs CDPGoogle Referer —
new_pagedefaults toreferer: https://www.google.com/Real viewport — Playwright's default fake 1280×720 viewport is disabled; the browser shows the real screen size
When to enable --cloak: only when the above isn't enough and you're being blocked by site fingerprinting. See docs/cloak.md for details.
Tool List (24 tools)
Page & Navigation
Tool | Description |
| List open pages, or select the debugging context by index |
| Create a new page and navigate to a URL |
| Navigate, go back, go forward, or refresh the page |
| List all frames (iframes), or select the execution context |
| Strictly match and click a single visible element in the current frame |
| Take a page screenshot |
Script Analysis
Tool | Description |
| List all JavaScript scripts loaded in the page |
| Get a script source snippet, supporting line ranges or character offsets |
| Save the full script source to a local file (for large/minified/WASM files) |
| Search all scripts for a string or regular expression |
Breakpoints & Execution Control
Tool | Description |
| Automatically set a breakpoint by searching code text (for minified code) |
| Set XHR/Fetch breakpoints by URL pattern |
| Remove breakpoints by ID, URL, or all, with an explicit action |
| List all active breakpoints |
| Get paused state, call stack, and scope variables |
| Pause or resume execution with an explicit action |
| Step through debugging (over/into/out), returning position and source context |
Network & WebSocket
Tool | Description |
| List network requests, view details, or export raw materials such as header/body/query |
| Clear collected requests and body cache for the current page after explicit confirmation |
| Get the JavaScript call stack for a network request |
| List WebSocket connections, analyze message patterns, or get message details |
Browser State
Tool | Description |
| Clear cookies, origin storage, and sessionStorage related to the current site; can explicitly choose to clear the global HTTP cache |
Inspection Tools
Tool | Description |
| Execute JavaScript in the page or breakpoint context, supporting the main world, saving results, and reading one local input file |
| List console messages, or get a single message's details by msgid |
Usage Examples
Basic JS Reverse Engineering Flow
Open the target page
打开 https://example.com 并列出所有加载的 JS 脚本Find the target function
在所有脚本中搜索包含 "encrypt" 的代码Set a breakpoint
在加密函数入口处设置断点Trigger and analyze
在页面上触发操作,断点命中后检查参数、调用栈和作用域变量WebSocket Protocol Analysis
列出 WebSocket 连接,分析消息模式,查看特定类型的消息内容Agent-Recommended Full Capture Flow
Because the navigation phase deliberately keeps CDP silent, the Network / Debugger domains are not opened immediately when first entering the target page. The recommended flow is to pass risk control first, then refresh to capture:
1. new_page 打开目标页
2. 调用 list_network_requests 激活 collectors
3. navigate_page(type="reload") 刷新页面
4. 再次 list_network_requests 查看完整请求
5. 对关键 reqid 使用 outputFile 导出原始材料Cookie / Risk-Control Replay Flow
1. clear_site_data(confirm=true) 清理当前站点状态
2. navigate_page(type="reload") 重新触发初始化
3. list_network_requests 找到设置 cookie 或提交 sensor 的请求
4. 导出 requestBody / responseHeaders / responseBody
5. 用 evaluate_script + localFilePath 在页面上下文中复算或验证Configuration Options
The CLI stays minimal; all flags are optional. The defaults work for 99% of scenarios. When local files are involved, it's recommended to use --allowedRoots to limit the directories the Agent can read and write.
Option | Description | Default |
| Switch to the CloakBrowser stealth binary (replacing system Chrome). Enables platform-specific C++ source-level fingerprint patches. First launch auto-downloads a ~200MB binary; the fingerprint identity persists per profile. See docs/cloak.md. |
|
| Use a temporary user-data-dir (cookies/localStorage not preserved, auto-cleaned on close) |
|
| Connect to an already-running Chrome instance (CDP HTTP endpoint, e.g. | – |
| MCP debug log written to a | – |
| Repeatable; local directories the Agent is allowed to read and write. Resolves real paths and rejects symlink escapes. When enabled, disables | – |
Example Configurations
Default — system Chrome + persistent login state (recommended for most debugging scenarios):
{
"mcpServers": {
"js-reverse": {
"command": "npx",
"args": ["js-reverse-mcp"]
}
}
}--cloak — heavily anti-scraping sites (Cloudflare Turnstile / DataDome / FingerprintJS protection):
Strongly recommended: pre-download the binary first (one-time, ~30–60 seconds). If you skip this, the first launch with
--cloakwill silently download ~200MB, which looks like the MCP is stuck:npx cloakbrowser install(The
cloakbrowserpackage is already installed viaoptionalDependencies; this command just triggers its built-in binary download logic, with a progress bar)
{
"mcpServers": {
"js-reverse-cloak": {
"command": "npx",
"args": ["js-reverse-mcp", "--cloak"]
}
}
}Two parallel instances — two MCP instances with physically isolated profiles, switch based on the target site:
{
"mcpServers": {
"js-reverse": {
"command": "npx",
"args": ["js-reverse-mcp"]
},
"js-reverse-cloak": {
"command": "npx",
"args": ["js-reverse-mcp", "--cloak"]
}
}
}--isolated — a fresh profile every time (cookies/localStorage not preserved):
{
"mcpServers": {
"js-reverse": {
"command": "npx",
"args": ["js-reverse-mcp", "--isolated"]
}
}
}Connecting to a Running Chrome / Third-Party Fingerprint Browser
--browserUrl only accepts a CDP endpoint (an HTTP endpoint that responds to /json/version), not vendor-private Local APIs. How to get the CDP port for local Chrome, AdsPower, BitBrowser, etc. is in the dedicated document:
📖 docs/cdp-endpoint.md — How to get the CDP debugging port
Shortest path (local Chrome):
# 先关掉所有 Chrome 窗口,然后
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug{
"mcpServers": {
"js-reverse": {
"command": "npx",
"args": ["js-reverse-mcp", "--browserUrl", "http://127.0.0.1:9222"]
}
}
}For fingerprint browsers (AdsPower, BitBrowser, etc.), the CDP port changes randomly on every launch; you must start the browser via the vendor's Local API and then extract it. The steps and example scripts are in the document above.
Troubleshooting
Blocked by Anti-Scraping Systems
If you're blocked on certain sites (e.g., Zhihu returns 40362, Cloudflare challenge loops):
Try
--isolatedfirst — use a fresh profile to rule out residual state pollution:"args": ["js-reverse-mcp", "--isolated"]If that doesn't work, enable
--cloak— enable platform-specific source-level fingerprint patches:"args": ["js-reverse-mcp", "--cloak"]As a last resort, manually clear the persistent profile (this loses login state):
rm -rf ~/.cache/chrome-devtools-mcp/chrome-profile
When you should and shouldn't enable --cloak, see docs/cloak.md.
Agent Routing Evaluation (Maintainers)
npm run eval:routing:validate offline-validates the actual MCP tools/list, server instructions, and the 30 tool-selection contracts in evals/tool-routing.json; this command does not hit model endpoints and is part of presubmit.
Real model evaluation is explicitly opt-in and calls the OpenAI-compatible Chat Completions endpoint per item, which may incur costs:
MCP_ROUTING_EVAL_ENDPOINT=https://api.example.com/v1/chat/completions \
MCP_ROUTING_EVAL_MODEL=model-name \
MCP_ROUTING_EVAL_API_KEY=secret \
npm run eval:routingMCP_ROUTING_EVAL_API_KEY can be omitted for local endpoints that don't require authentication; remote endpoints with credentials must use HTTPS, and HTTP is only allowed on loopback. Use MCP_ROUTING_EVAL_TIMEOUT_MS to adjust the per-request timeout. 100% pass is required by default; when comparing across models, use MCP_ROUTING_EVAL_MIN_PASS_RATE to set a (0, 1] threshold. The evaluation does not output API keys, endpoints, or endpoint error response bodies.
Security Notice
This tool exposes browser content to the MCP client, allowing inspection, debugging, and modification of any data in the browser. Do not use it on pages containing sensitive information.
evaluate_script.localFilePath and various outputFile/filePath options allow the MCP process to read or write host machine files. In production or shared environments, one or more --allowedRoots should be used to narrow access to a dedicated working directory; when not configured, the access scope is unrestricted. When --allowedRoots is enabled, file:, view-source:file:, and filesystem:file: browser pages are also rejected, preventing directory boundary bypass through browser navigation; when local pages need to be debugged, this option can only be left unconfigured in sessions that explicitly accept the risk of local file exposure.
License
Apache-2.0
Available Tools
24 toolsbreak_on_xhrA
Sets a URL-substring breakpoint for a future XHR/Fetch when runtime request arguments, local variables, or payload construction must be inspected. For an already captured request, call get_request_initiator first because it is non-pausing; use this only when that evidence is insufficient. Set it before reproducing the user action—it does not inspect past traffic—then call get_paused_info/evaluate_script and finally step or resume. The URL pattern identifies this breakpoint for list_breakpoints and remove_breakpoint(action="remove_xhr").
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Case-sensitive URL substring matched against future XHR/Fetch requests. Prefer a narrow endpoint path from list_network_requests; retain the exact string to remove the breakpoint later. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | Machine-readable result payload. |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations indicate mutation (readOnlyHint=false) and non-destructive (destructiveHint=false). Description adds that the breakpoint is for future requests only, does not inspect past traffic, and requires subsequent steps. Also explains how the URL pattern ties to list_breakpoints and remove_breakpoint.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Description is a single paragraph of about 100 words, front-loaded with purpose, then usage sequence, then relation to other tools. Every sentence contributes. Could be slightly more compact, but efficient overall.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the existence of an output schema, return values are not needed in description. Covers what, when, how, and parameter details. Could explicitly mention that the breakpoint causes a pause on request, but context is fairly complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema has one parameter 'url' with description. Tool description adds context: case-sensitive, should be a narrow endpoint path from list_network_requests, retain exact string for removal. This goes beyond the schema description. With 100% schema coverage, baseline is 3, but added value justifies 4.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: setting a URL-substring breakpoint for future XHR/Fetch to inspect runtime arguments, variables, or payloads. It distinguishes from get_request_initiator, which handles already captured requests.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit guidance: use when need to inspect request details at runtime, avoid for already captured requests (use get_request_initiator instead). Specifies the workflow: set before reproducing action, then call get_paused_info/evaluate_script, then step/resume. Also notes it does not inspect past traffic.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
clear_network_requestsADestructiveIdempotent
Discard captured HTTP(S) evidence for the currently selected page after confirm=true. Use this immediately before reproducing an action when a clean network capture window is needed; do not use it to reset login, cookies, cache, or other browser state. It irreversibly clears the in-memory request queue, cached response bodies, and initiator maps only. Browser cookies, HTTP cache, origin storage, console messages, and WebSocket connections/messages are unchanged; use clear_site_data for cookie and storage reset. New captures continue above the previous reqid high-water mark because reqids are never reused.
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to irreversibly delete the selected page's captured request history, response-body cache, and initiator evidence. This confirms capture cleanup, not browser-state cleanup. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | Machine-readable result payload. |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Despite destructiveHint=true annotation, description adds detail on what is irreversibly cleared (request queue, cached response bodies, initiator maps) and what is unchanged (cookies, HTTP cache, storage), exceeding annotation info.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Concise paragraph with front-loaded action, followed by usage guidance, behavioral specifics, and contrast with sibling; every sentence adds value with no redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given simple single-parameter tool with output schema, description fully covers purpose, usage, behavioral boundaries, and parameter semantics without missing critical context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% for the single parameter 'confirm', and description reinforces its meaning as required for irreversible capture cleanup, adding nuance beyond schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description uses specific verb 'discard' and resource 'captured HTTP(S) evidence', clearly distinguishing from sibling clear_site_data by stating what it does not affect.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to use ('immediately before reproducing an action when a clean network capture window is needed') and when not to use ('do not use it to reset login, cookies, cache'), with reference to alternative clear_site_data.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
clear_site_dataADestructiveIdempotent
Irreversibly clear browser state after confirm=true to create a clean replay environment for the selected page. Use this before replaying login, session creation, storage initialization, or other state-dependent flows; do not use it to inspect cookies or determine which response set one. For cookie provenance, including HttpOnly, Secure, and SameSite attributes, use list_network_requests with cookieName first. Cleanup covers cookies affecting the selected page's HTTP(S) frames—including HttpOnly and Secure cookies through the browser context—persistent storage for those frame origins, and each HTTP(S) frame's sessionStorage. It does not reload the page. The browser HTTP cache is global and is preserved by default; set clearBrowserCache=true only when that wider cross-page effect is explicitly intended.
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to irreversibly delete cookies affecting the selected page's HTTP(S) frames, persistent storage for those frame origins, and HTTP(S) frame sessionStorage. This confirms state reset for replay, not inspection. | |
| clearBrowserCache | No | Also clear the browser-wide HTTP cache. Leave false for site-scoped replay cleanup. Setting true has a wider global effect on every page and origin in this browser, not only the selected page or its frame origins. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | Machine-readable result payload. |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description details what is cleared (cookies, persistent storage, sessionStorage) and what is not (page reload, HTTP cache by default), and explains the effect of clearBrowserCache. Annotations indicate destructiveHint=true and readOnlyHint=false, which align with 'irreversibly clear'; no contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is slightly verbose but front-loaded with the main purpose. Every sentence adds value, and the structure logically flows from purpose to usage to details.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the presence of an output schema (context: 'Has output schema: true'), the description does not need to explain return values. It covers purpose, usage, parameters, and behavioral details comprehensively for a complex tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, but the description adds meaning by explaining that confirm=true is required for irreversible action and that clearBrowserCache has a global effect, providing context beyond the schema descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool irreversibly clears browser state for a clean replay environment, specifying the verb ('clear') and resource ('browser state for selected page'). It distinguishes from sibling tool 'list_network_requests' for cookie inspection.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to use ('before replaying login, session creation...') and when not to use ('do not use it to inspect cookies'), and provides an alternative tool ('list_network_requests') for cookie provenance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
click_elementADestructive
Performs one verified, auditable click in the currently selected frame. Use it when the task requires activating a known button, link, or control after selecting the correct page/frame and identifying a CSS selector; it is the preferred minimal interaction primitive over arbitrary evaluate_script code. It does not discover elements, type text, or silently guess among matches: the selector must resolve to exactly one element unless index is explicit, and the chosen element must be visible. A click can submit data, navigate, or trigger external effects, so confirm=true is required and the result reports the exact resolved element.
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Explicit zero-based match index. Required when the selector matches more than one element. | |
| button | No | Mouse button. Defaults to left. | left |
| confirm | No | Must be true to authorize this specific click because it can submit data, navigate, or trigger external side effects. | |
| timeout | No | Maximum wait time in milliseconds. If set to 0, the default timeout will be used. | |
| selector | Yes | CSS selector evaluated only in the currently selected frame. Use select_frame first when the target is inside an iframe. | |
| modifiers | No | Optional keyboard modifiers held during the click. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Disclosures beyond annotations: confirms destructive side effects, requirement for visibility and exact match, and mentions confirm flag authorizes side effects. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single paragraph is front-loaded with core purpose, then usage guidelines, then constraints; every sentence adds value without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 6 parameters, destructive nature, and output schema, the description covers purpose, usage, parameter roles, and behavioral notes comprehensively, leaving no significant gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, but description adds contextual value for each parameter (e.g., selector limited to current frame, index needed for multiple matches, confirm to authorize effects), justifying a score above baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description explicitly states it performs a verified, auditable click on a known button, link, or control, distinguishing itself from siblings like evaluate_script and select_frame.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to use (activating known controls after frame selection) and when not (does not discover elements, type text, or guess matches), and mentions prerequisite of selecting frame and requirement of confirm=true.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
evaluate_scriptADestructive
Evaluates one focused JavaScript function for DOM/page state, web storage, page-defined globals, a paused-frame expression, or browser-side processing of one local file. Use it when those runtime values are the goal and no narrower evidence tool applies. Do not use document.cookie or page evaluation to investigate HttpOnly/Secure cookies, Set-Cookie provenance, or captured HTTP evidence; use list_network_requests with cookieName/reqid, and use search_in_sources/get_script_source for source discovery. While running, evaluation uses the selected frame's isolated world by default or its page main world with mainWorld=true; while paused, it always uses the chosen call frame and ignores mainWorld. Call get_paused_info before paused evaluation, then step or resume when finished. Arbitrary code can change page/external state and requires confirm=true; inline results are bounded, so use outputFile for exact large or binary results.
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to authorize this exact arbitrary-code evaluation, which may mutate page state, send requests, or cause external side effects. Prefer a read-only expression when inspection is sufficient. | |
| function | Yes | JavaScript function declaration invoked by the tool, for example `() => document.title` or `async () => await Promise.resolve(location.href)`. Return JSON-serializable data; ArrayBuffer/typed arrays require outputFile for exact bytes. With localFilePath, accept `async ({localFile}) => ...` and read localFile.text for UTF-8 or localFile.base64 for exact bytes. Keep the function focused; use mainWorld=true only when page-defined globals are required. | |
| mainWorld | No | Running-page mode only: false uses the selected frame's isolated context; true uses that frame's page main world to access application-defined globals. When execution is paused, evaluation always targets frameIndex and this option is ignored. | |
| frameIndex | No | Paused mode only: zero-based call frame from get_paused_info (default: top frame). The index and its callFrameId expire after any step or resume. | |
| outputFile | No | Save the exact result locally instead of returning bounded inline content. JSON-serializable values are written as JSON text and ArrayBuffer/typed arrays as raw bytes; the returned filename is resolved and subject to --allowedRoots. | |
| localFilePath | No | Absolute path to one host file passed as localFile; the browser never reads the path directly. Relative paths, file:// URLs, globs, ~, and directories are rejected, access is subject to --allowedRoots, and file contents may expose sensitive host data. | |
| confirmOverwrite | No | Set true only to authorize replacing an existing outputFile. A new file does not require overwrite confirmation. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate readOnlyHint=false, openWorldHint=true, destructiveHint=true. The description adds significant context: arbitrary code can change page state, requires confirm=true, inline results are bounded, paused mode ignores mainWorld, and frameIndex expires. No contradiction with annotations; instead, it elaborates on safety and behavioral edge cases.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured, front-loading the core purpose and then providing specific usage notes. It uses clear, separate sentences for distinct points. While slightly verbose, every sentence conveys necessary information without redundancy. It could be marginally tighter but remains highly effective.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool complexity (7 parameters, 1 required, annotations, output schema, 23 siblings), the description covers all necessary aspects: purpose, usage alternatives, behavioral details (paused vs running, confirm, outputFile), and parameter semantics. It implicitly addresses return values by distinguishing inline vs outputFile results. No gaps are evident.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so baseline is 3. However, the description adds meaningful context beyond schema: function parameter explains async functions, localFile argument, JSON serialization limits; mainWorld clarifies its behavior in paused vs running mode; frameIndex mentions expiration; outputFile specifies JSON or raw bytes; localFilePath warns about rejected patterns and host data exposure. This adds value, justifying a 4.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it evaluates JavaScript functions for runtime values like DOM state, web storage, or expressions. It distinguishes itself from siblings by explicitly naming narrower tools (list_network_requests, search_in_sources, get_script_source) and specifying when not to use them. The verb 'evaluate' is specific and the resource ('JavaScript function') is well-defined.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use (when runtime values are the goal and no narrower tool applies) and when not to use (for cookies, Set-Cookie provenance). It lists alternative tools (list_network_requests, search_in_sources). It also covers paused vs running mode, confirm requirement, and outputFile usage, giving a complete usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_paused_infoARead-only
Inspects the current call stack, source locations, and selected call-frame scopes after a code/XHR breakpoint or explicit pause has stopped execution. It neither creates a pause nor resumes one. Returned frameIndex values and callFrameIds belong only to the current pause and expire after any step or resume; use evaluate_script with frameIndex for a focused expression, then step or pause_or_resume(action="resume").
| Name | Required | Description | Default |
|---|---|---|---|
| frameIndex | No | Zero-based frame from this pause whose scopes should be read (default: top frame). Frame indices change after a step and expire on resume. | |
| includeScopes | No | Include bounded variables from the selected call frame (default: true). Set false when only the stack and source locations are needed. | |
| maxScopeDepth | No | Scope categories to include for frameIndex (default: 2): 1 reads arguments/locals, 2 also reads closures, and 3+ includes other non-global scopes. Increase only when the needed value is absent. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, and the description adds critical behavioral details: frame indices expire after step/resume, scopes are per pause. No contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Slightly long but every sentence is informative. Front-loaded with main purpose and key constraints. Could trim some redundancy but still effective.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the presence of an output schema and sibling tools, the description covers the lifecycle of pause information, how to combine with evaluate_script, step, and resume, making it complete for an agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, but description adds valuable context beyond schema: frameIndex expiration, includeScopes usage for efficiency, maxScopeDepth level meanings. Helps agent pick correct values.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states it inspects current call stack, source locations, and scopes after a pause. Distinguishes from siblings like step and pause_or_resume.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says when to use (after a pause), what not to do (doesn't create/resume pause), and provides alternatives like evaluate_script with frameIndex followed by step or resume.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_request_initiatorARead-only
Non-pausing first action for tracing which JavaScript initiated a retained HTTP request when CDP initiator evidence was active. Pass the reqid from list_network_requests; because initiator capture starts lazily and is not retroactive, an older request may have no stack—in that case reproduce the action and inspect the new reqid, or set break_on_xhr before reproduction when runtime values are required. If the captured stack identifies the code, inspect its URL/location with get_script_source. If arguments, locals, or a dynamically built payload are still needed, use break_on_xhr, reproduce, then call get_paused_info or evaluate_script before stepping or resuming. This tool only reads retained evidence and does not pause or reproduce the request.
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | Yes | Numeric reqid returned by list_network_requests, not a raw CDP request ID. It survives navigation while retained, but becomes stale after FIFO eviction or clear_network_requests; list requests again if needed. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | Machine-readable result payload. |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark as read-only and non-destructive. Description adds key behavioral details: non-pausing, reads retained evidence, initiator capture is lazy and not retroactive. No contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single paragraph that is front-loaded with purpose and then flows into usage and alternatives. Every sentence is informative, though slightly dense; could be restructured but remains efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity and the presence of annotations and output schema, the description covers all contextual aspects: limitations, reproduction strategies, and references to sibling tools. Complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema covers requestId fully with description. Tool description adds operational context: pass reqid from list_network_requests, notes on staleness and reproducibility. Provides value beyond schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states it retrieves the JavaScript initiator for a retained HTTP request, with a specific verb and resource. Distinguishes from siblings by mentioning alternatives like get_script_source, break_on_xhr.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit when-to-use (pass reqid from list_network_requests), when-not-to-use (older request may have no stack), and alternatives (reproduce, set break_on_xhr, use get_paused_info, evaluate_script).
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_script_sourceARead-only
Reads a small source region around a search match, paused location, or known statement without executing or pausing the page. Select by URL when available because URL-backed scripts can be resolved again after navigation; use the debugger-context-scoped scriptId only for current inline/eval scripts. Use line ranges for normal source and offset/length for minified single-line bundles. For a whole, minified, or WASM source, use save_script_source; to observe runtime values next, call set_breakpoint_on_text against the original loaded source.
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL from list_scripts, search_in_sources, or a call stack. Preferred stable selector for URL-backed scripts; resolution tries an exact match before a substring match, so provide enough of the URL to avoid ambiguity. | |
| length | No | Maximum characters to return from offset (default: 1000). This is ignored unless offset is provided. | |
| offset | No | Zero-based character offset into the original source. Use for a bounded read of minified single-line code when line ranges would be too large. | |
| endLine | No | Inclusive 1-based end line for a bounded multi-line snippet. Omit both line bounds and use offset/length for a minified single-line bundle. | |
| scriptId | No | Debugger-context-scoped script ID from list_scripts, search_in_sources, or paused information. Required for unnamed inline/eval scripts, but invalid after reload, navigation, or debugger target/frame change; prefer url for external scripts. | |
| startLine | No | Inclusive 1-based start line, typically copied from search_in_sources or paused information. Use with endLine for normal multi-line source. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | Machine-readable result payload. |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds that it doesn't execute or pause the page, and discloses that scriptId is invalid after reload/navigation. This provides critical behavioral context beyond the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with purpose and core guidance. It is slightly verbose but each sentence serves a distinct instructional purpose. Could be tightened, but remains efficient for the complexity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite 6 parameters and many sibling tools, the description covers selection strategies (URL vs scriptId), parameter combinations (line ranges vs offset/length), edge cases (scriptId invalidation, default length), and explicit alternatives (save_script_source, set_breakpoint_on_text). The output schema exists, so return values are not needed in the description.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema documents all 6 parameters. However, the description adds meaningful usage guidance: 'preferred stable selector' for url, 'ignored unless offset is provided' for length, 'for minified single-line code' for offset, 'inclusive 1-based' for lines, and invalidation conditions for scriptId. This enriches the schema without redundancy.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description starts with a specific verb ('Reads') and resource ('small source region'), and immediately clarifies scope ('around a search match, paused location, or known statement') and what it does not do ('without executing or pausing the page'). It also distinguishes from sibling tools like save_script_source and set_breakpoint_on_text.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly advises when to use URL vs scriptId ('prefer URL for external scripts'), when to use line ranges vs offset/length ('normal source' vs 'minified single-line bundles'), and provides alternatives for whole/minified/WASM source ('use save_script_source') and for runtime values ('call set_breakpoint_on_text'). Also explains when scriptId becomes invalid.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_websocket_messagesARead-only
Inspect captured bidirectional WebSocket connections and frame payloads for the selected page. Use this for WebSocket, socket, live-update, push, streaming, or realtime message flows; use list_network_requests for ordinary HTTP/XHR/fetch traffic and WebSocket upgrade request headers. WebSocket capture starts lazily on this tool's first use and is not retroactive: if the relevant socket already connected or exchanged frames, call this tool once to initialize capture, then reload or reproduce the flow. Without wsid it lists connections so you can choose one. With wsid it lists paginated sent/received frames; add show_content=true for payload previews. With wsid and analyze=true it groups frames by payload pattern and returns group IDs and sample frame indices; then use groupId to inspect one pattern. With wsid and frameIndex it returns one retained frame's detailed payload using the stable index shown in frame tables or analysis samples.
| Name | Required | Description | Default |
|---|---|---|---|
| wsid | No | Select a WebSocket connection by the wsid returned from connection-list mode. Omit it to list captured connections before inspecting their frames. | |
| analyze | No | With wsid, group retained frames by payload pattern/fingerprint. Use this to discover message types in noisy realtime traffic; it returns traffic statistics, group IDs, and sample stable frame indices. Follow with groupId or frameIndex for focused inspection. | |
| groupId | No | With wsid, list only frames from a pattern group such as A, B, or C. Run analyze=true first to discover group IDs. If analysis used direction, repeat the same direction because grouping is computed over that filtered frame set. | |
| pageIdx | No | Zero-based page for the active connection-list, frame-list, group-list, or analysis-group mode. Omit it for the first page. | |
| pageSize | No | Items per page: connections when wsid is omitted, frames in normal/group mode, or pattern groups when analyze=true. Defaults to 10. | |
| direction | No | With wsid, restrict frame-list, analysis, or group results to frames "sent" by the page or "received" from the server. It does not filter connection-list mode. | |
| urlFilter | No | In connection-list mode only (without wsid), return WebSocket URLs containing this substring. Use it to narrow by host, path, or query text. | |
| frameIndex | No | With wsid, return one retained frame and its payload by stable frame index. This is the Idx shown in frame tables or analyze=true samples, not a page-relative array offset. Indices are monotonic and may begin above 0 after older frames are evicted. | |
| show_content | No | With wsid in normal or group frame-list mode, include payload previews up to 10,000 characters for frames on the current page. Leave false for compact metadata, or use frameIndex when one exact frame needs detailed inspection. | |
| includePreservedConnections | No | In connection-list mode only (without wsid), include connections preserved from the last three navigations. Use this when the relevant socket belonged to a previous page state. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond readOnlyHint and destructiveHint annotations, the description discloses key behaviors: lazy capture start, non‑retroactivity, stable frame indices, monotonic but non‑zero starting indices, and eviction of old frames. This adds substantial value over annotations alone.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single dense paragraph covering all modes and behaviours. While efficient, it could benefit from breaking into bullet points or sections for easier scanning. Still, it earns its place with no redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 10 parameters, multiple modes, and the existence of an output schema, the description is fully complete. It covers initialisation, pagination, filtering, analysis mode, frame indices, and preservation of connections across navigations. No gaps remain.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, but the description adds operational meaning: explaining mode combinations (e.g., without wsid lists connections, with wsid lists frames, with analyze=true groups frames). Clarifies that frameIndex is stable, not page‑relative, and that direction filters but does not apply in connection‑list mode.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool inspects captured bidirectional WebSocket connections and frame payloads. It names the resource (WebSocket messages) and accurately contrasts with sibling tool list_network_requests for ordinary HTTP traffic.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit when to use (WebSocket, socket, live-update, etc.) and when not (use list_network_requests for HTTP/XHR/fetch). Details initialisation caveat (lazy capture, not retroactive) and mode switching between connection listing and frame inspection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_breakpointsARead-only
Inspects code and XHR/Fetch breakpoints managed by this MCP session before reproducing an action or cleaning up debugger state. Returns current code breakpointIds and the exact XHR URL patterns needed by remove_breakpoint; URL-backed definitions are restored after navigation when possible, but a rebuilt debugger session may assign new IDs. This does not show why or where execution is currently paused—use get_paused_info for the active call stack.
| Name | Required | Description | Default |
|---|---|---|---|
| pageIdx | No | Page number (0-based). Defaults to 0. | |
| pageSize | No | Maximum items per page. Defaults to 20. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations show readOnlyHint=true and destructiveHint=false. Description adds that URL-backed definitions may restore after navigation but IDs may change in rebuilt sessions, and that it returns breakpointIds and XHR patterns. No contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Description is concise with three sentences, front-loaded with main purpose. No unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Has output schema, so return details are covered. Description provides enough behavioral context for breakpoint inspection and restoration, given tool complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline 3. Description does not add extra meaning beyond schema for pageIdx and pageSize parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool inspects code and XHR/Fetch breakpoints managed by the session. It uses specific verbs and resource, distinguishing itself from siblings like get_paused_info and remove_breakpoint.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly tells when to use this tool: before reproducing an action or cleaning up debugger state. Also directs to use get_paused_info for active call stack, providing clear alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_console_messagesARead-only
Inspects console messages and uncaught page errors captured for the selected page. Use it to diagnose runtime failures, warnings, application logs, or values already emitted by page code; use search_in_sources for source text and list_network_requests for HTTP evidence instead. Without msgid it lists messages 20 per page by default, optionally filtered by type or retained navigation history. With msgid it returns one message by its stable ID for focused inspection. Capture begins when this MCP attaches and is not retroactive, so reload or reproduce code that logged before attachment.
| Name | Required | Description | Default |
|---|---|---|---|
| msgid | No | Stable message ID returned by list mode. Pass it to inspect one captured console message; omit it to list messages. | |
| types | No | Console levels/types to include in list mode, such as error, warn, log, or trace. Values are OR-ed; omit or pass an empty array for all types. | |
| pageIdx | No | Page number to return (0-based). When omitted, returns the first page. | |
| pageSize | No | Maximum number of messages to return. Defaults to 20. | |
| includePreservedMessages | No | Include retained console messages from the last 3 navigations. Leave false when only the current page load is relevant. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond annotations (readOnlyHint, destructiveHint), description adds critical non-obvious behavior: capture starts on attachment and is not retroactive. No contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Concise 4-sentence description with front-loaded purpose and alternatives, then clear parameter and behavior details. No unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 5 parameters, output schema, and sibling tools, the description covers all essential aspects: modes, filtering, pagination, capture timing. Complete enough for an agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so description adds value by explaining the dual modes (list vs single message), default page size, and optional filters. Slightly above baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states the tool inspects console messages and uncaught page errors, with specific verb and resource. Differentiates from siblings by naming alternatives search_in_sources and list_network_requests.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly tells when to use (diagnose runtime failures, logs, etc.) and when not to (use other tools for source or network). Also describes modes and parameters affecting usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_network_requestsA
Inspect captured HTTP(S) traffic for the currently selected page. Use this for API calls, request or response headers and bodies, redirects, authentication/session flows, replay or signing inputs, and determining which response created, refreshed, rotated, overwritten, or deleted a cookie. Without reqid it lists and filters requests; with cookieName it traces exact response Set-Cookie updates oldest-first, including cookies with HttpOnly, Secure, or SameSite attributes that page JavaScript cannot fully inspect; with reqid it returns bounded request details; with reqid plus outputFile it exports exact data. To inspect complete Set-Cookie values and attributes, export outputPart="responseHeaders" for a reqid returned by cookieName mode. cookieName never searches outbound Cookie request headers. Use get_websocket_messages for WebSocket frame payloads; this tool only represents the HTTP upgrade request. Capture begins when this MCP attaches and is not retroactive, so reload or reproduce traffic that occurred earlier. Captures then survive navigation in a 5000-request FIFO queue. List and cookie-flow modes default to 20 items per page; filters combine with AND and multiple values inside one filter combine with OR.
| Name | Required | Description | Default |
|---|---|---|---|
| reqid | No | Inspect one captured request by the reqid returned by request-list or cookie-flow mode. Omit it to list/filter requests or trace cookie setters. Add outputFile when exact, complete, or large data is needed. | |
| methods | No | Filter requests by HTTP method (the request verb). Matched case-insensitively. Pass one or more of GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS; multiple values are OR-ed (e.g. ["POST"] shows only POSTs, ["GET","POST"] shows both). Use this to hunt for submissions (POST/PUT/PATCH) versus reads (GET). This is the HTTP verb, distinct from resourceTypes which filters by resource category (xhr, document, ...). When omitted or empty, methods are not filtered. | |
| pageIdx | No | Zero-based page to return in request-list or cookie-flow mode. Omit it for the first page. | |
| pageSize | No | Maximum requests or Set-Cookie updates per page in list or cookie-flow mode. Defaults to 20. | |
| urlFilter | No | Filter request-list results to URLs containing this substring. Use an endpoint path, host, query fragment, or other known URL text; combine with methods/resourceTypes to narrow an API flow. | |
| cookieName | No | Trace an exact cookie name in response Set-Cookie headers. Use this when asked where, when, or by which response a cookie was created, refreshed, rotated, overwritten, or deleted, including HttpOnly cookies and cookies carrying Secure or SameSite attributes. Matching setter responses are returned oldest-first with reqids and use pageSize/pageIdx. Export outputPart="responseHeaders" for a returned reqid to inspect the complete value and Path, Domain, HttpOnly, Secure, SameSite, Expires, or Max-Age attributes. This mode does not search outbound Cookie request headers. | |
| outputFile | No | With reqid, save selected network data to a local file. Use export instead of bounded inline details for complete Set-Cookie headers, exact bytes, large or binary bodies, long query payloads, replay/signature inputs, or external decoding. Absolute paths and paths relative to the current working directory are supported. The response reports the resolved absolute path; use it with evaluate_script localFilePath for browser-side processing. Subject to --allowedRoots when configured. | |
| outputPart | No | Select what outputFile receives for the chosen reqid. Use "responseHeaders" for complete cookie attributes and repeated Set-Cookie headers, "responseBody" for raw response bytes, "requestBody" for captured request bytes, "queryParams" for parsed URL parameters, or "all" for a JSON bundle of metadata, headers, query parameters, and body content/metadata. Defaults to "all". | all |
| resourceTypes | No | Filter requests to only return requests of the specified resource types (xhr, fetch, document, script, ...). This is the resource category, NOT the HTTP verb — use methods for GET/POST filtering. When omitted or empty, returns all requests. | |
| confirmOverwrite | No | Must be true when outputFile already exists. New files do not require confirmation. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations are readOnlyHint=false, destructiveHint=false. The description adds rich behavioral context: capture starts on attach, not retroactive, survives navigation with 5000-request FIFO, filter logic, default pagination, cookieName limitations. No contradictions. Provides details beyond annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long but well-structured with front-loaded purpose. Every sentence adds value, covering many modes and details. However, it is dense and could be slightly streamlined for a quick read, but given the complexity, it remains efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 10 parameters, multiple modes, output schema exists, the description is exceptionally complete. It addresses capture behavior, filter logic, pagination, export options, cookie tracing details, and limitations. No significant gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% so baseline is 3. The description adds extra meaning by explaining parameter interplay (e.g., cookieName + reqid flow, outputFile usage, pageSize default, filter AND/OR). Goes beyond schema by clarifying usage scenarios and combinations, but doesn't introduce entirely new semantics.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it inspects captured HTTP(S) traffic for the currently selected page, listing specific use cases like API calls, headers, auth flows, cookie tracing. It distinguishes from siblings by explicitly mentioning 'Use get_websocket_messages for WebSocket frame payloads; this tool only represents the HTTP upgrade request.' This provides a specific verb and resource, well differentiated.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Extensive usage guidance is provided: when to use cookieName vs reqid, when to export, default page sizes, AND/OR logic, non-retroactive capture, FIFO queue, and explicit alternative tool mention for WebSockets. Clear context for when and when not to use this tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_scriptsARead-only
Discovers JavaScript currently loaded in the selected debugger context—the main frame by default, or the frame chosen with select_frame. Use select_frame first for iframe-specific source/debugger work. Includes external, inline, and eval scripts in that context; if you already know a function name, endpoint, or code literal, use search_in_sources instead. Each result includes a context-scoped scriptId that expires on reload, navigation, or debugger target change and, for external scripts, a URL that is the preferred selector for get_script_source or save_script_source.
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Case-insensitive URL substring used to narrow external scripts. It does not search source text or match unnamed inline/eval scripts; use search_in_sources for code-content queries. | |
| pageIdx | No | Page number (0-based). Defaults to 0. | |
| pageSize | No | Maximum items per page. Defaults to 20. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark the tool as read-only and non-destructive. The description adds valuable context: scriptId expires on reload/navigation/target change, and URL is the preferred selector for get/save_script_source. This goes beyond annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Description is informative but not overly verbose. It front-loads the purpose, then usage notes, then parameter clarifications, and ends with result structure. Could be slightly more concise but overall well-organized.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 3 parameters, annotations, and an output schema (not shown but present), the description covers necessary context: result items include scoped scriptId and URL, with expiration behavior. No gaps for effective use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema covers all parameters with descriptions. Description adds clarity: filter is case-insensitive URL substring and does not search source text, with a reference to search_in_sources for code queries. This extra guidance justifies a 4 instead of baseline 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it discovers JavaScript loaded in the selected debugger context, specifying script types (external, inline, eval) and context scope (main frame or selected frame). It distinguishes from sibling tool search_in_sources by indicating when to use that alternative.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly tells users to use select_frame first for iframe-specific work, and to use search_in_sources when they know a function name, endpoint, or code literal. Also clarifies that filter does not search source text, so users know its limitations.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
new_pageA
Opens a separate browser page for a URL, reusing an existing about:blank startup tab when available. Use this when the task needs another tab or should preserve the currently selected page; use navigate_page to change the URL in the existing selected page instead. It waits for DOMContentLoaded, not every background resource, and then makes the opened page the target for later tools. It preserves cookies, storage, cache, and other browser state; use clear_site_data separately when a clean replay is required.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute URL to load in a separate or reusable blank page. Use navigate_page instead when the current selected page should be reused. | |
| timeout | No | Maximum wait time in milliseconds. If set to 0, the default timeout will be used. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | Machine-readable result payload. |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description goes beyond annotations (readOnlyHint: false, destructiveHint: false) by detailing behavioral traits: it waits for DOMContentLoaded (not every resource), makes the opened page the target for later tools, and preserves cookies/storage/cache. It also mentions using clear_site_data separately for a clean replay. No contradictions with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is four sentences, well-structured: first sentence states the main action, second provides usage guidance, third adds behavioral details, fourth mentions state preservation. No redundant or unnecessary information; every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the output schema exists and parameters are fully described in the schema, the description provides sufficient context: what the tool does, when to use it, behavioral characteristics, and contrast with sibling. It is complete for the tool's complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description adds value by explaining the context of the url parameter (absolute URL, reusing about:blank tab), which is not fully captured in the schema's description. However, the timeout parameter is not elaborated beyond the schema, so not a perfect 5.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states that the tool opens a separate browser page for a URL, reusing an existing about:blank startup tab. It distinguishes itself from the sibling navigate_page by specifying that navigate_page changes the URL in the existing selected page, making the purpose specific and well-differentiated.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to use this tool (when the task needs another tab or should preserve the currently selected page) and when to use the alternative (navigate_page to change the URL in the existing selected page). This provides clear guidelines for tool selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
pause_or_resumeA
Explicitly requests an immediate pause or resumes an existing paused execution; it never toggles implicitly. Use a code breakpoint or break_on_xhr instead when a specific statement/request should stop, and use get_paused_info before resuming if evidence must be collected. Resuming invalidates current callFrameIds and frame indices.
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Use "pause" only while running, or "resume" only after a breakpoint/manual pause. Resume after get_paused_info/evaluate_script/step inspection is complete. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | Machine-readable result payload. |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Discloses state-changing behavior and invalidation side effect. While annotations are limited, description adds useful context beyond them. Could be improved by noting error scenarios.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Concise, front-loaded with main purpose, then alternatives and side effects. No redundant sentences.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Complete for a simple tool: single parameter fully described, usage prerequisites, side effect noted. Given schema coverage and output schema presence, further detail unnecessary.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema covers enum with descriptions; description adds valuable usage tips (when to use each value, ordering) that go beyond schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states it pauses or resumes execution explicitly, never toggles. Contrasts with break_on_xhr and step, providing clear purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly describes when to use alternatives (break_on_xhr, get_paused_info) and warns that resuming invalidates callFrameId, offering clear guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
remove_breakpointADestructiveIdempotent
Removes a known code breakpoint, XHR/Fetch breakpoint, or every MCP-managed breakpoint after explicit confirmation. Use breakpointId from set_breakpoint_on_text/list_breakpoints for remove_code, or reuse the exact URL pattern from break_on_xhr/list_breakpoints for remove_xhr. Removal does not resume an already paused page; call pause_or_resume(action="resume") separately after inspection.
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Exact URL substring pattern previously passed to break_on_xhr or returned by list_breakpoints. Used only with action="remove_xhr". | |
| action | Yes | Required removal mode: remove_code needs breakpointId, remove_xhr needs url, and remove_all removes both kinds. | |
| confirm | No | Must be true to authorize the selected removal action. This does not authorize or trigger resuming execution. | |
| breakpointId | No | Current breakpoint ID returned by set_breakpoint_on_text or list_breakpoints. Used only with action="remove_code"; list again after a debugger/page-session rebuild because restoration may assign a new ID. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | Machine-readable result payload. |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description discloses that removal does not resume a paused page, requires confirmation, and that breakpointId may need to be re-obtained after a debugger rebuild. This adds context beyond annotations (destructiveHint, idempotentHint, readOnlyHint) without contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences that are front-loaded with the primary action and then provide usage specifics. No redundant or extraneous information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has 4 parameters, 1 required, and an output schema, the description covers all essential aspects: removal modes, parameter usage, confirmation requirement, post-removal behavior, and edge case handling (breakpointId rebuild). Complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Despite 100% schema coverage, the description adds meaning to each parameter: explains url as an exact substring pattern, breakpointId caveat about session rebuild, confirm's authorization role, and action enum values. This enhances understanding beyond the schema's brief descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description specifies the verb 'removes' and the resource 'breakpoint' with three distinct removal modes (code, XHR, all). It references sibling tools (set_breakpoint_on_text, break_on_xhr, list_breakpoints, pause_or_resume) to differentiate when each mode is applicable.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit guidance on when to use each action: use breakpointId from set_breakpoint_on_text/list_breakpoints for remove_code, use exact URL pattern from break_on_xhr/list_breakpoints for remove_xhr. Also clarifies that removal does not resume a paused page and suggests calling pause_or_resume separately.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
save_script_sourceA
Saves one complete JavaScript or WASM source for local inspection when an inline snippet is insufficient, especially for large or minified bundles. Prefer get_script_source for a small known region and search_in_sources to locate text across loaded scripts first. With format=true, destinations using a supported JavaScript/TypeScript extension are formatted by default; other extensions preserve raw source, and formatted line numbers may differ from the live page. Use distinctive text plus the original URL with set_breakpoint_on_text for runtime debugging. The returned filename is the resolved local path, while scriptId remains scoped to the current debugger context.
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL from list_scripts, search_in_sources, or a call stack. Preferred over scriptId because it can be resolved again after navigation; exact match is tried before substring match. | |
| format | No | Format supported JavaScript/TypeScript extensions for readability (default: true). Set false when exact source bytes or original line layout matter; formatted line numbers cannot be used as live breakpoint locations. | |
| filePath | Yes | Destination path for the complete source, absolute or relative to the server working directory and subject to --allowedRoots. A JavaScript/TypeScript extension enables formatting; use .wasm for bytecode or another extension to preserve raw text. | |
| scriptId | No | Debugger-context-scoped script ID from list_scripts or search_in_sources. Use for unnamed inline/eval scripts; it becomes invalid after reload, navigation, or debugger target/frame change. | |
| confirmOverwrite | No | Set true only to authorize replacing an existing filePath. A new file does not require overwrite confirmation. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | Machine-readable result payload. |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description discloses key behaviors: formatted line numbers may differ from live page, filePath is the resolved local path, and scriptId is scoped to current debugger context and becomes invalid after navigation/refresh. Annotations show readOnlyHint=false and destructiveHint=false, which are consistent. One minor gap: it doesn't mention that the saved file persists or any access restrictions beyond --allowedRoots.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is detailed but every sentence is informative. It is front-loaded with the main purpose. While slightly long, it avoids redundancy. Could be trimmed slightly, but overall effective.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 5 parameters with rich schema, output schema present, the description covers purpose, sibling differentiation, behavioral nuances, and parameter semantics. It mentions the returned filename implicitly. No obvious gaps for the tool's complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, but the description adds significant context for each parameter. For url, it explains preferred source and matching strategy. format is described with clear use cases. filePath explains extension implications. scriptId clarifies scoping and invalidation. confirmOverwrite notes authorization. This goes well beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states that the tool saves a complete JavaScript or WASM source for local inspection when an inline snippet is insufficient. It differentiates from siblings by mentioning 'Prefer get_script_source for a small known region and search_in_sources to locate text across loaded scripts first.' The specific verb 'saves' and resource 'source' make purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit usage guidance is provided: prefer get_script_source for small regions, use search_in_sources first, and use set_breakpoint_on_text for debugging. It also clarifies when to set format=false and when to use confirmOverwrite. This helps the agent decide when to invoke this tool over its siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_in_sourcesARead-only
Finds a known function name, endpoint, string literal, token, or code pattern in JavaScript loaded by the selected debugger context—the main frame by default, or the frame chosen with select_frame. It searches external, inline/eval, and minified sources in that context without executing or pausing the page, returning 1-based lines plus context-scoped scriptIds; URLs are the preferred selectors for URL-backed matches. Use select_frame first for iframe-specific source work, get_script_source for nearby context, save_script_source for a whole bundle, or set_breakpoint_on_text when runtime values are needed. For a known captured request, prefer get_request_initiator before a broad source search.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Source text to locate, or a regular-expression pattern when isRegex=true. Prefer a distinctive function name, endpoint, property, or literal that can also anchor set_breakpoint_on_text. | |
| isRegex | No | Interpret query as a regular expression when true. Leave false for literal endpoint, token, and code-text searches. | |
| urlFilter | No | Case-insensitive script-URL substring used to narrow matches to a known bundle or domain. It excludes unnamed inline/eval scripts. | |
| maxResults | No | Maximum matches to return (default: 30). Narrow with urlFilter before increasing this for common text. | |
| caseSensitive | No | Match case exactly when true. Leave false for discovery; set true when choosing exact code text for a breakpoint. | |
| maxLineLength | No | Maximum characters in each matched-line preview (default: 150). Use get_script_source rather than a very large preview when surrounding context is needed. | |
| excludeMinified | No | Skip sources with very long lines when true. Keep the default false for reverse engineering because relevant code often exists only in compressed bundles. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations declare readOnlyHint=true and destructiveHint=false. The description adds behavioral details: searches without executing or pausing the page, returns 1-based lines plus context-scoped scriptIds, and URLs are preferred selectors. No contradictions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured into two paragraphs: first explaining what the tool does and how it works, second providing usage guidance. Every sentence adds value, and there is no redundancy. It is appropriately sized for the complexity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (7 parameters, output schema exists), the description is complete. It covers behavioral aspects, return elements, and usage context. The output schema exists, so return values need not be elaborated.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3. However, the description adds extra meaning for several parameters: urlFilter 'excludes unnamed inline/eval scripts', maxLineLength suggests using get_script_source for surrounding context, excludeMinified explains why keeping default false is best for reverse engineering. This additional context pushes the score to 4.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool finds function names, endpoints, string literals, tokens, or code patterns in JavaScript sources. It specifies the scope (selected debugger context, main frame or chosen frame) and distinguishes from siblings by mentioning related tools like select_frame, get_script_source, etc.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use this tool vs alternatives: use select_frame first for iframe-specific work, get_script_source for nearby context, save_script_source for whole bundle, set_breakpoint_on_text when runtime values are needed, and get_request_initiator for a known captured request. It also mentions to prefer get_request_initiator before a broad source search.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
select_frameA
Lists or selects frames, including iframes, within the current page. Use it when the target element, page-defined global, script, or execution context may live in an iframe: first list frames, then pass frameIdx before click_element or evaluate_script. Omitting frameIdx lists 20 frames per page without changing context; passing frameIdx changes the shared frame target, with 0 restoring the main frame. It does not switch browser tabs or navigate—use select_page or navigate_page for those actions—and listPageIdx only paginates this listing.
| Name | Required | Description | Default |
|---|---|---|---|
| frameIdx | No | Frame index from the latest frame listing. Pass it to target later frame-aware tools; 0 restores the main frame. Omit it to list frames without changing context, and re-list after navigation or frame attachment/detachment because indices can shift. | |
| pageSize | No | Maximum frames to list per response. Defaults to 20. | |
| listPageIdx | No | Zero-based pagination index for the frame listing only. This is not the frameIdx used to select a frame. Defaults to 0. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Discloses behavioral traits beyond annotations: omitting frameIdx lists without changing context; passing frameIdx changes target; indices shift after navigation or frame changes. No contradiction with readOnlyHint=false (mutates state) and destructiveHint=false.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single dense paragraph front-loads purpose, then usage, then behavior, then exclusions. Each sentence adds value; no fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (3 params, output schema), the description covers purpose, workflow, side effects, and exclusions. It references sibling tools for related actions.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description adds workflow context but does not significantly expand parameter meaning beyond what the schema provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Lists or selects frames, including iframes, within the current page.' It specifies the verb (lists or selects) and resource (frames within current page), and distinguishes from siblings like select_page and navigate_page.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly tells when to use: 'when the target element... may live in an iframe' and provides a workflow: first list frames, then pass frameIdx before click_element or evaluate_script. Also tells when not to use: 'It does not switch browser tabs or navigate—use select_page or navigate_page for those actions.'
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
select_pageA
Lists or selects open browser pages. Use it without pageIdx to identify the active page or choose the correct tab before inspecting network traffic, scripts, frames, or console output; pass pageIdx to make one listed page the shared target for later tools. It does not navigate or create pages: use navigate_page to change the selected page's URL and new_page when a separate tab is required. listPageIdx only paginates the page listing and never changes selection.
| Name | Required | Description | Default |
|---|---|---|---|
| pageIdx | No | Snapshot index from the latest page listing. Pass it to make that page the target for later tools; omit it to list pages without changing selection. Re-list after pages open or close because indices can shift. | |
| pageSize | No | Maximum pages to list per response. Defaults to 20. | |
| listPageIdx | No | Zero-based pagination index for the page listing only. This is not the pageIdx used to select a browser page. Defaults to 0. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description explains the behavioral nuance: listing does not change selection, passing pageIdx makes it the target. This adds value beyond the annotations, which only indicate non-destructive behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences, no fluff, front-loaded with the core purpose. Every sentence adds necessary detail without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of selection and pagination, the description is complete. It covers all key behaviors and constraints, and an output schema exists so return values need not be detailed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with good descriptions, but the tool description adds context about how each parameter affects behavior (e.g., pageIdx changes selection, listPageIdx only paginates). This enhances understanding.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool lists or selects open browser pages, with a specific verb and resource. It distinguishes from sibling tools like navigate_page and new_page by stating what it does not do.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly tells when to use without pageIdx vs with pageIdx, and provides alternatives (navigate_page, new_page). It also clarifies that listPageIdx only paginates and never changes selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
set_breakpoint_on_textA
Sets a restorable URL-backed breakpoint when distinctive code text is known and its runtime values must be observed. Call it directly when the user already supplies precise text plus any URL/occurrence disambiguation; use search_in_sources/get_script_source first only when the location is unknown or ambiguous. For an API with no known code location, start with list_network_requests and get_request_initiator or use break_on_xhr. On a hit, call get_paused_info, optionally evaluate_script, then step or resume. Returns the current breakpointId for remove_breakpoint; list breakpoints again after a rebuilt debugger session, and note that unnamed inline/eval scripts cannot use this URL breakpoint.
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Exact case-sensitive source text used to locate the breakpoint, such as a distinctive function declaration, call, or statement. Prefer a snippet confirmed by search_in_sources and avoid common tokens. | |
| condition | No | Optional simple synchronous expression evaluated in the future call frame; the breakpoint pauses only when it is true. Use it to reduce repeated hits after the location is precise, never for async work, complex discovery, or side effects. | |
| urlFilter | No | Case-insensitive URL substring that limits candidate scripts. Use the URL from search_in_sources/get_script_source to avoid the same text in unrelated bundles. | |
| occurrence | No | One-based occurrence among matching loaded-source results (default: 1). Use only after reviewing multiple search matches; urlFilter is usually the more stable disambiguator. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | Machine-readable result payload. |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Adds context beyond annotations: restorable, returns breakpointId, limitation for inline/eval scripts.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Dense single paragraph, front-loads purpose, but could be slightly more structured for readability.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Covers purpose, usage, workflow, return value, and limitations; output schema covers return details.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Adds valuable guidance for each parameter (e.g., prefer confirmed snippet, condition restrictions, urlFilter source, occurrence usage).
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states it sets a URL-backed breakpoint on text, distinguishes from siblings like search_in_sources, break_on_xhr.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to call directly vs. use alternatives (search_in_sources, break_on_xhr) and provides workflow after hit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
stepA
Advances JavaScript execution by one debugger operation from an existing pause and returns the next stopped call frame with concise source context. Use after get_paused_info or evaluate_script when control flow still needs tracing; it cannot start from running execution. Each advance invalidates prior callFrameIds, so inspect the new pause again as needed, then use pause_or_resume(action="resume") to finish.
| Name | Required | Description | Default |
|---|---|---|---|
| direction | Yes | Choose "over" for the next statement without entering calls, "into" to follow a call, or "out" to continue until the current function returns. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | Machine-readable result payload. |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations indicate readOnlyHint=false and destructiveHint=false. The description adds critical behavioral details: invalidates prior callFrameIds, requires existing pause, and returns next call frame. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Description is efficient and front-loaded with the main action. Three sentences cover behavior, prerequisites, and follow-up without fluff. Every sentence adds value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given full parameter schema, annotations, and output schema, the description is complete. It covers prerequisites, invalidation, and next steps, leaving no gaps for an agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with descriptions for the direction parameter. The tool description does not add extra meaning beyond the schema, so baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it advances JavaScript execution by one debugger operation from a pause, with a specific verb and resource. It distinguishes from siblings like pause_or_resume and get_paused_info by specifying its role in tracing control flow.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says to use after get_paused_info or evaluate_script when control flow needs tracing, and not from running execution. Also directs to use pause_or_resume to finish, providing clear context and alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
take_screenshotA
Captures the visual state of the currently selected page. Use it to verify page layout, visible UI state, selector targets, in-page dialogs/modals, or the effect of a navigation/click; it is not a substitute for DOM values, network evidence, or script inspection. By default it returns the visible viewport, while fullPage=true captures the whole document; oversized captures may be saved as a temporary artifact instead of attached. Pass filePath for a reusable local artifact; existing files require confirmOverwrite=true and remain subject to --allowedRoots.
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Image format for the attachment or saved file. Defaults to png; use jpeg when smaller lossy output is preferred. | png |
| quality | No | Compression quality for JPEG format (0-100). Higher values mean better quality but larger file sizes. Ignored for PNG format. | |
| filePath | No | Optional absolute or working-directory-relative path for a reusable screenshot artifact. Omit it to attach the image directly. Subject to --allowedRoots when configured. | |
| fullPage | No | Capture the entire scrollable document when true; leave false or omit it for the currently visible viewport. | |
| confirmOverwrite | No | Must be true when filePath already exists. New files do not require confirmation. |
Output Schema
| Name | Required | Description |
|---|---|---|
| ok | Yes | Whether the tool completed successfully. |
| data | No | Machine-readable result payload. |
| tool | Yes | Stable MCP tool name. |
| error | No | |
| summary | Yes | Concise human-readable outcome. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations are minimal (readOnlyHint=false, destructiveHint=false); description adds critical behavioral details: default viewport vs. fullPage, oversized capture handling, filePath behavior and confirmOverwrite requirement, fully disclosing tool behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Concise 4-sentence description, front-loaded with purpose and usage, no repetition or fluff, efficiently communicates all necessary information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 5 optional parameters, full schema documentation, and presence of output schema, the description covers purpose, usage, behavioral nuances, and key parameter implications, making it fully self-contained.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so baseline is 3. Description adds minimal param-specific insight beyond schema (e.g., fullPage behavior, oversized captures), but does not significantly enhance parameter understanding.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states 'Captures the visual state of the currently selected page.' and distinguishes from sibling tools by specifying it is not a substitute for DOM values, network evidence, or script inspection.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly lists use cases (verify page layout, UI state, etc.) and explicitly states when not to use it (not for DOM, network, or script), providing clear guidance for selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
24 tool updates
v4.0.1- First observed
break_on_xhr - First observed
clear_network_requests - First observed
clear_site_data - First observed
click_element - First observed
evaluate_script - First observed
get_paused_info - First observed
get_request_initiator - First observed
get_script_source - First observed
get_websocket_messages - First observed
list_breakpoints - First observed
list_console_messages - First observed
list_network_requests - First observed
list_scripts - First observed
navigate_page - First observed
new_page - First observed
pause_or_resume - First observed
remove_breakpoint - First observed
save_script_source - First observed
search_in_sources - First observed
select_frame - First observed
select_page - First observed
set_breakpoint_on_text - First observed
step - First observed
take_screenshot
TDQS
Tools are organized around specific debugging actions, but many overlap in purpose (e.g., multiple breakpoint and pause/resume tools, multiple request inspection tools). While descriptions are precise, an agent could easily confuse which tool to use for a given step, especially with 24 tools.
Most tools follow a verb_noun pattern in snake_case (e.g., clear_network_requests, click_element). A few deviate slightly (e.g., 'break_on_xhr', 'get_paused_info'), but overall the naming is predictable and readable.
24 tools is on the higher side for a focused reverse engineering server. The set is comprehensive but some tools could be merged (e.g., clear_network_requests and clear_site_data are distinct but very similar). Still, each tool has a clear role, so the count is borderline but acceptable.
The tool surface covers all major aspects of JavaScript reverse engineering: network interception, source inspection, breakpoint management, page control, and evaluation. Minor gaps exist (e.g., no direct DOM query tool), but the set is largely complete for its purpose.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Live browser debugging for AI assistants — DOM, console, network via MCP.
Hosted browser for AI agents: screenshots, post-JS DOM, console, WCAG. No install, no API key.
Headless browser primitives for AI agents when sites need real JS rendering.
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to debug frontend applications by providing direct access to browser DevTools, React state, DOM inspection, and runtime debugging capabilities. Bridges the gap between AI and complex web applications for autonomous debugging and issue resolution.MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI coding assistants to control and inspect a live Chrome browser through Chrome DevTools. Provides browser automation, performance analysis, debugging capabilities, and network request monitoring.1,465,30251,152Apache 2.0
- AlicenseAqualityCmaintenanceEnables AI assistants to debug JavaScript and TypeScript applications by connecting to Chrome DevTools Protocol-compatible debuggers, allowing them to set breakpoints, step through code, inspect variables, and evaluate expressions with full source map support.18152Apache 2.0
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive Chrome browser debugging capabilities including DOM inspection, network monitoring, console logs, JavaScript execution, breakpoint debugging, and screenshot capture for AI-assisted frontend development.4MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhizhuodemao/js-reverse-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server