Skip to main content
Glama

Stop browser

stop_browser
Destructive

Terminate the active browser session by closing all tabs and releasing session resources. Use when finished, or before relaunching with different options, to ensure a clean state.

Instructions

Stop the browser, close every tab, and release all session resources.

Call when finished, or before start_browser to relaunch with different options. Unsaved page state and non-persisted cookies are lost. Returns a confirmation string.

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": "stop_browser"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
summaryYesOne line saying what happened.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description goes further by naming exactly what is destroyed: unsaved page state and non-persisted cookies. It does not address what happens if no browser session is active, which matters given idempotentHint=false, so it falls short of fully covering the failure modes.

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?

Three short sentences, front-loaded with the action, then the trigger condition, then the data-loss warning. Nothing is padded and no sentence repeats the tool name or annotations.

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 no-argument destructive tool with an output schema present, the description covers what to call, when, and what is lost. The 'Returns a confirmation string' clause is redundant given the output schema, and the no-op/error case is unaddressed, keeping it just below complete.

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?

There are zero parameters, so the baseline is 4. The description correctly adds no parameter detail, and there is nothing it could usefully say about arguments.

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

Purpose5/5

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

States a specific verb and resource plus the full scope of the operation: 'Stop the browser, close every tab, and release all session resources.' This immediately distinguishes it from siblings like get_browser_status and list_tabs, which do not terminate the session.

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

Usage Guidelines5/5

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

Gives explicit when-to-use ('Call when finished') and names both a timing and an alternative ('before start_browser to relaunch with different options'). The agent can decide between stopping and checking status without opening any other definition.

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