Skip to main content
Glama

browser_close

Close the browser to free resources; navigate again to relaunch when needed.

Instructions

Close the browser and free resources. The browser can be re-launched by navigating again.

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

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does add real value by stating that resources are freed and that the action is reversible via browser_navigate. However, it does not say what state is lost on close (open tabs, session/cookies, in-page state), which is the key risk an agent needs to weigh before calling a teardown tool.

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?

Two short sentences, front-loaded with the action and followed by the reversibility fact. Nothing is wasted and nothing essential is buried.

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

Completeness4/5

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

For a zero-parameter tool with an output schema, the description covers purpose and reversibility adequately. The remaining gap is the absence of any statement about what closing destroys, which is the one piece of information an agent cannot get from the schema or annotations here.

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 nothing for the description to disambiguate; the baseline of 4 applies. The empty schema is consistent with the description's claim that closing requires no configuration.

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 specific verb and resource: 'Close the browser.' That is unambiguous and, among siblings like browser_navigate and browser_tabs, clearly identifies the teardown action. It stops short of a 5 only because there is no explicit disambiguation language (e.g., closing the session vs. closing a tab), which matters given the existence of browser_tabs.

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

Usage Guidelines3/5

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

Usage is only implied: an agent infers it should call this when finished browsing. There is no explicit when-to-use or when-not-to-use statement, and no guidance on whether to close before or after retrieving results. The note that the browser can be re-launched is useful but functions more as behavioral context than as a usage rule.

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