Skip to main content
Glama

后台任务中心

browser_tasks
Destructive

Inspect, cancel, pause, or resume browser automation tasks and recent execution logs scoped to the calling MCP client to manage active calls without affecting other clients.

Instructions

Inspect tasks and recent execution logs scoped to the calling MCP client. action=list returns that client’s active calls and bounded history; action=cancel stops one owned call; action=pause/resume only affects the calling client. The browser UI can pause all clients, and browser_window takeover locks the shared browser for human control with a live preview.

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": {
      "action": "<action>"
    },
    "name": "browser_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo(action=cancel) MCP call id
actionYesTask operation
clientNo(action=cancel) optional client number; must match the calling MCP client

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.0

TDQS

A4.1/5.0
Behavior3/5

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

The annotations already flag destructiveHint=true and readOnlyHint=false, and the description usefully narrows that to action=cancel ("stops one owned call") while noting list is read-only inspection. The ownership/scoping constraint that cancel requires a call the caller owns, and that client must match the calling client, is real behavioral context. However it never says what stopping or pausing actually does to an in-flight call (graceful abort vs. dropped work), whether history is retained, or what any response contains, leaving the highest-risk behavior underspecified for a destructive tool.

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 is front-loaded, followed by a compact per-action breakdown, with no filler sentences. The closing sentence about the browser UI and browser_window takeover is slightly digressive but does serve sibling routing, so it earns its place.

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 three-parameter, no-output-schema tool this covers purpose, per-action semantics, and client scoping well; the mention of bounded history also hints at return content. The remaining gap is outcome detail for cancel/pause (reversibility, effect on in-flight work), which matters given the destructive hint.

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 coverage is 100%, so the schema sets the baseline for the three parameters. The description still earns credit by giving each enum value operational meaning that the generic "Task operation" schema text does not, and by explaining that id must be an owned call and client must match the calling MCP client.

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?

The description opens with a concrete verb+resource ("Inspect tasks and recent execution logs") and specifies scope ("scoped to the calling MCP client"), which no sibling name implies. It then enumerates every action, so an agent knows exactly what surface this tool exposes without opening the 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?

Each enum value is given a use case: list for active calls and history, cancel for a single owned call, pause/resume for the calling client only. It also names behavior of adjacent surfaces (browser UI pausing all clients, browser_window takeover for human control), which helps route between them. It stops short of stating preconditions or exclusions for using the tool at all, so it is strong but not exhaustive.

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