Skip to main content
Glama

End session

browz_session_end
DestructiveIdempotent

Finish with a profile: close its browser, and with delete=true also move it to trash (for throwaway profiles).

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": {
      "id": "<id>"
    },
    "name": "browz_session_end"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProfile id, as listed by browz_profile_list
deleteNoAlso move the profile to trash
deviceIdNoWhich computer to use (as listed by browz_devices_list). Needed only when more than one is online
workspaceIdNoWorkspace id. Needed only for API tokens of people in more than one workspace

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / deviceId / description
      Previous value: -"Which computer to use (from browz_devices_list). Needed only when more than one is online"New value: +"Which computer to use (as listed by browz_devices_list). Needed only when more than one is online"
    • changedInput schema / properties / id / description
      Previous value: -"Profile id (from browz_profile_list)"New value: +"Profile id, as listed by browz_profile_list"
  2. First observed

TDQS

A3.7/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, and the description adds the concrete detail of what happens: the browser is closed, and the profile is moved to trash when delete=true. It still doesn't say what happens to open tabs or unsaved state on close, or whether the trash is recoverable, which would matter for a destructive operation.

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?

A single compact sentence with the primary action ('close its browser') front-loaded and the conditional delete behavior immediately after. No padding, though the elliptical opening 'Finish with a profile' costs a little immediate clarity.

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?

All four parameters are documented in the schema, annotations cover the safety profile, and no output schema exists, so little is missing. The remaining gap is the relationship to sibling stop/delete tools, which the description leaves unresolved.

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 baseline is 3; the schema already explains id, delete, deviceId and workspaceId. The description only reinforces delete by tying it to 'throwaway profiles' and otherwise adds no syntax or interaction detail 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?

States a concrete outcome: closes the profile's browser and, with delete=true, moves the profile to trash. That is a specific verb-plus-resource, but it never distinguishes itself from the sibling tools browz_profile_stop or browz_profile_delete, so an agent must guess how 'end session' differs from 'stop' or 'delete'.

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?

The phrase 'for throwaway profiles' gives a useful hint about when to pass delete=true, and 'Finish with a profile' implies end-of-work usage. However, there is no explicit guidance on when to prefer this over browz_profile_stop or browz_profile_delete, so the selection guidance is only implied.

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