Skip to main content
Glama

browser_tools_call

Destructive

Recover one operation after a Python script stops for user approval or help: inspect a direct browser tool's schema or execute it with validation, approvals, and error handling.

Instructions

Recover one operation after a Python script stops for user approval/help. Pass an existing direct tool name alone to inspect its schema; pass arguments ({} for no args) to execute it with normal validation, approvals and error handling. Never replay completed script work. Use browser_run_python for ordinary reads, actions and waits.

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

Input Schema

NameRequiredDescriptionDefault
nameYesExisting direct tool name, e.g. browser_click
argumentsNoOmit to inspect its schema; supply an object to execute

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.1

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false, destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is covered. The description adds real behavioral context beyond that: the execution path goes through 'normal validation, approvals and error handling' and completed script work must not be replayed. It stops short of saying what side effects a replayed action could cause or how failures surface.

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?

Three short sentences, each carrying a distinct rule: what the tool is for, how the two parameters behave, and which sibling to use instead. No repetition of annotations or schema, and the purpose is front-loaded.

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 passthrough tool with no output schema, nested free-form arguments and destructive semantics, the definition covers mode selection, validation/approval behavior and the key prohibition on replaying work. Minor gap: it does not describe what happens when the named tool is unknown or what the inspection response looks like.

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 field-level documentation is already handled. The description still earns credit by defining the semantic contract the schema cannot express: omitting `arguments` switches the tool into a schema-inspection mode, while `{}` means an argumentless execution — a distinction that is easy to get wrong and is not derivable from the schema alone.

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 states a specific verb and resource — recover one operation after a Python script halts for approval/help — and immediately disambiguates the tool's two modes (inspect schema vs. execute). It is clearly distinct from browser_run_python and the rest of the sibling set.

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

Usage Guidelines5/5

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

It names the default alternative explicitly ('Use browser_run_python for ordinary reads, actions and waits') and gives a hard exclusion ('Never replay completed script work'). The agent knows both when to reach for this tool and when not to.

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