Skip to main content
Glama

browser_end

End a cloud browser session and clean up resources, optionally saving an Identity Bundle first to preserve account access for future sessions.

Instructions

End the browser session and cleanup resources.

Optionally save an Identity Bundle before ending (recommended for accounts you want to keep).

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_end"
  }
}

Input Schema

NameRequiredDescriptionDefault
save_profileNoSave Identity Bundle with this name before ending (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/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 does disclose the terminal nature plus resource cleanup. The implicit warning that unsaved account state is lost unless a profile is saved is valuable, but it does not say whether ending is reversible, what happens to in-flight work, or how failures surface.

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 with the primary action front-loaded and the optional behavior second. Every sentence adds information and nothing is padded.

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 definition covers the core action and the single optional parameter, which is adequate for a one-parameter tool. But a session-terminating, potentially destructive operation with no annotations and no output schema would benefit from stating what state is discarded and whether the call is idempotent or errors on an already-closed session.

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

Parameters3/5

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

Schema description coverage is 100%, so the save_profile parameter is already fully documented in the schema; the baseline is 3. The description adds a recommendation rationale ('for accounts you want to keep') but no naming conventions, defaults, or format details beyond what the schema states.

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 names a specific verb ('End') and resource ('the browser session') and adds the side effect of cleaning up resources, so an agent immediately knows this terminates the session. It does not explicitly contrast with siblings such as browser_create or browser_save, but the verb makes the role unmistakable.

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?

It gives conditional guidance for the save_profile option ('recommended for accounts you want to keep'), which is genuinely useful. However, it never states when to call browser_end versus simply leaving a session open, nor any prerequisite ordering relative to browser_save or other tools.

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