Skip to main content
Glama

Close the live browser

browser_end

Closes a live browser: returns how long it ran, what it cost and its last screen. It is charged by the minute. session: the id the session was opened with.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "session": "<session>"
    },
    "name": "browser_end"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=true. The description adds genuinely useful context beyond them — that usage is billed by the minute and that the call returns runtime, cost and a screenshot — but says nothing about whether the session is unusable afterward or what occurs with an unknown/expired session id.

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?

Purpose and return contents are front-loaded in one sentence, with billing cost stated immediately after. The trailing 'session:' fragment is terser than a full sentence but still readable and non-redundant.

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?

With no output schema, the description correctly compensates by summarizing the return payload (duration, cost, last screen), and annotations cover the safety profile. Only edge-case behavior for an invalid session is missing.

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?

Schema description coverage is 0% for the single parameter, so the description must carry the load, and it does: 'session: the id the session was opened with' tells the agent both the meaning and the provenance of the value. It could still specify the format (opaque string, prefix, length), which keeps it from a 5.

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 states a specific verb and resource ('Closes a live browser') and even previews the response ('how long it ran, what it cost and its last screen'), which lets an agent tell it apart from live_browser/browser_step without opening the schema. It stops short of explicitly naming the sibling it terminates, so a 5 isn't warranted.

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 when-to-use guidance: it never says this must be called to release a session, whether it is optional, or what happens if the session is abandoned. The pairing with live_browser is only inferable from the tool name, not from the text.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources