Skip to main content
Glama
Browser Controller

Browser Controller

by compnew2006

browser_task_cancel

Cancel a planned or paused browser task and save its report; tasks already running or finished cannot be cancelled.

Instructions

Cancel a planned or paused task and save its report. A finished task, or one currently running, cannot be cancelled.

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": {
      "taskId": "<taskId>"
    },
    "name": "browser_task_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.5.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden, and it does disclose the state preconditions and one side effect ('save its report'). However, for a mutation/cancel operation it says nothing about permissions, reversibility, failure modes when taskId is unknown or already finished, or what 'report' means, leaving meaningful gaps.

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 sentences, zero filler, with the capability stated first and the eligibility constraint immediately after. Nothing is repeated and nothing could be trimmed without losing information.

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 single-parameter tool with no annotations and no output schema, the description covers the essentials: what it does, the side effect of saving a report, and the state eligibility rules. Only the return value/response shape and failure behavior are unaddressed, which is a small gap at this complexity.

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?

There is a single parameter (taskId) at 0% schema description coverage, and the description supplies no information about its format or where to obtain the ID (presumably from browser_task_start or browser_task_status). The parameter is largely self-evident from its name, so the omission is minor, but no meaning is added beyond the schema.

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 and resource ('cancel a planned or paused task') plus an additional effect ('save its report'), which is far more informative than the bare name. It doesn't explicitly name a sibling, but the state precondition ('planned or paused') implicitly separates it from resume/status/answer without opening their schemas.

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?

Gives explicit when-and-when-not guidance: usable on planned or paused tasks, not on finished or running ones. What's missing is a routing hint for the excluded cases (e.g., use browser_task_status to confirm state, or that a running task must be handled another way), so the agent knows the exclusion but not the alternative.

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