Skip to main content
Glama
vercel

Next.js DevTools MCP

Official
by vercel

browser_eval

Guides setup and use of agent-browser CLI for automated browser tasks like navigating pages, clicking, and capturing console errors in a real browser.

Instructions

Set up and use browser automation for this project via the agent-browser CLI.

This tool does NOT drive the browser itself. It points you at agent-browser — a fast, native browser-automation CLI built for agents (https://github.com/vercel-labs/agent-browser) — and tells you how to install it (if needed) and where to start. You then run its commands directly (you have shell access), which is faster and more capable than proxying automation through MCP.

Call this when you need to open pages, click, type, screenshot, or capture console errors in a real browser.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskNo
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. It discloses that the tool doesn't drive the browser but points to an external CLI. Lacks details on installation requirements, potential side effects, or system permissions needed, which is a gap for a setup tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences plus an additional paragraph. It is relatively concise but could be more structured (e.g., separate usage from behavior). No wasted words, but the middle sentence about what it doesn't do could be integrated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers purpose and usage context but omits parameter details and doesn't explain output or return values. For a simple tool with one optional param and no output schema, the missing parameter guidance is a notable gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has one optional string parameter 'task' with 0% schema description coverage. The description does not explain what 'task' is, how to use it, or what values are expected, leaving the agent with no guidance beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it sets up browser automation via agent-browser CLI. It distinguishes from sibling tools (nextjs_*) which are not browser-related. However, it includes a negative statement ('does NOT drive the browser itself') that adds clarity but also could be confusing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit usage condition: 'Call this when you need to open pages, click, type, screenshot, or capture console errors in a real browser.' It also notes that direct CLI usage is faster than MCP. No explicit when-not-to or alternatives, but the context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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/vercel/next-devtools-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server