Skip to main content
Glama

stop

Destructive

Close a browser session and its daemon without saving a recorded flow; use save_flow instead to preserve a learn session's recording.

Instructions

Stop a browser session (closes its browser and daemon) without saving a flow. Use save_flow instead to keep a learn session's recording.

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

Input Schema

NameRequiredDescriptionDefault
cwdNoProject directory (absolute) the command runs in; sitelooper.config.json is found from here. Default: the server's working directory.
sessionNoBrowser session name (default "default"). Each session is its own browser and daemon.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

The annotations only declare destructiveHint=true; the description adds the concrete consequence — the browser and daemon are torn down and any unsaved flow recording is lost. That is exactly the kind of context annotations cannot convey. It stops short of stating behavior for a nonexistent or already-stopped session (error vs. no-op), which would complete the picture.

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 zero waste: the destructive action and its side effects come first, the routing advice second. Nothing is repeated from the schema 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 two-optional-parameter teardown tool with an annotation covering destructiveness and full schema coverage, the description supplies everything needed to call it safely and to pick the right sibling. The only gap is edge-case behavior when the session does not exist.

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%, and both parameters (cwd, session) are fully documented in the schema itself, including the session-name pattern and the "default" fallback. The description adds no further meaning about either parameter, so the baseline 3 applies.

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 ("Stop a browser session") and immediately clarifies the mechanics: it closes the browser and daemon without saving a flow. The parenthetical distinguishes it from the recording-preserving path, so an agent can tell it apart from save_flow without opening either schema.

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

Usage Guidelines4/5

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

Explicitly names the alternative and the condition that selects it: use save_flow instead when you want to keep a learn session's recording. It does not cover other adjacent cases (e.g., stopping a session that is already stopped, or how this relates to sessions/open), but the primary when-to-use decision is spelled out.

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