Skip to main content
Glama

playwright__browser_close

Destructive

Close the active browser page to end the current session and release resources.

Instructions

[playwright] Close the page

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior1/5

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

The description directly contradicts the annotations: it says 'Close the page' while the annotation title says 'Close browser' and the tool name is browser_close. Because of this contradiction, per rubric the behavioral transparency score is 1.

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 extremely concise and front-loaded, with no filler words. However, the single phrase is underspecified and the page/browser inconsistency prevents it from being a model of effective conciseness.

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

Completeness2/5

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

For a destructive action, the description omits side effects like losing unsaved state or closing all tabs, despite annotations carrying the destructive hint. The ambiguity between page and browser also leaves the tool's actual scope unclear, making the definition incomplete for correct use.

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

Parameters4/5

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

The tool has zero parameters and schema description coverage is 100%, so the schema fully documents the input. With no parameters to explain, the description need not add anything, and the baseline of 4 applies.

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

Purpose2/5

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

The description states a verb and resource ('Close the page'), so it is not a tautology, but it conflicts with the tool name (playwright__browser_close) and the annotation title ('Close browser'). This page-vs-browser mismatch leaves the actual target ambiguous and potentially misleading.

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

Usage Guidelines2/5

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

There is no guidance about when to use this tool versus any of the many sibling browser tools. It does not mention alternatives, prerequisites, or context (e.g., whether it should be used before navigating away or when done with a session).

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/danisluz/mcp-luz'

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