Skip to main content
Glama

Stop Automation Task

browser_stop

Cancel a running browser automation task immediately, optionally targeting a specific task or browser session to stop execution.

Instructions

Immediately cancel any currently running browser automation task.

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

Input Schema

NameRequiredDescriptionDefault
task_idNoOptional task ID for execution tracking and cancellation
session_idNoOptional target browser session ID (defaults to active default session)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the mutation/safety profile is covered. The description adds that cancellation is immediate and unscoped by default, but does not say whether in-flight actions are aborted mid-step, whether task state or history is preserved, or what the tool returns on success versus when nothing is running.

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 tight sentence with the urgency modifier front-loaded, so nothing is wasted. It is arguably over-terse for a cancellation tool, leaving behavioral details to inference, but the structure itself is clean.

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 tool is simple (two optional params, no output schema, no nesting), and the description conveys the core action adequately. For a stop/cancel operation, though, an agent would benefit from knowing whether confirmation or task status is returned and how this relates to task_control, neither of which is addressed.

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 100%, so the two optional parameters (task_id, session_id) are already well documented; baseline 3 applies. The description adds one relevant default behavior not in the schema — that absent targeting it cancels any running task in the active session — though it never mentions the two parameters explicitly, and "any" is in mild tension with the presence of targeting fields.

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 specific verb ("cancel") and a specific resource ("currently running browser automation task") with the qualifier "immediately." It is distinguishable from the action/navigation siblings, though it does not name any sibling it might be confused with (e.g., task_control).

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?

"Immediately" signals urgency and "any currently running" implies broad scope, which gives implicit context for stopping work. However, there is no explicit when-to-use/when-not guidance, no mention of task_control or browser_wait as alternatives, and no statement about what happens if no task is running.

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