Skip to main content
Glama

browser_close

Closes the headless browser and VS Code browser panel to end browsing sessions and free resources.

Instructions

Tutup browser headless dan panel VS Code.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "browser_close"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does at least disclose the scope of the destructive effect: both the headless browser and the VS Code panel are terminated. However, it says nothing about whether the operation is idempotent, what happens if nothing is open, whether cookies/session state are lost, or how subsequent browser_* calls behave.

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

Conciseness5/5

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

A single short sentence with the action verb front-loaded and zero filler. Nothing could be trimmed without losing content.

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?

For a trivial zero-parameter teardown tool with no output schema, the description identifies the targets but leaves open whether closure is global across all tabs/pages and what state the caller is left in. An agent can invoke it, but cannot confidently predict the aftermath.

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 takes zero parameters, so there is no parameter meaning the description needs to supply. Baseline for a parameterless tool applies, and no misleading parameter hints are given.

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 gives a concrete verb ('Tutup' / close) and names the two resources affected: the headless browser and the VS Code panel. It is clearly distinct from siblings like browser_show_panel or browser_navigate, though the Indonesian text sits amid an otherwise English toolset, which slightly complicates scanning.

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 on when to call this versus simply navigating away or leaving the session open, and no prerequisites such as whether a browser must first be launched. No exclusions or alternative tools are mentioned.

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