Skip to main content
Glama

browser_set_adblock

Enable or configure ad, tracker, and telemetry blocking, including custom URL patterns, to reduce unwanted network requests during browser automation.

Instructions

Enable or configure built-in ad, tracker, and telemetry blocking using Network.setBlockedURLs.

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

Input Schema

NameRequiredDescriptionDefault
enabledNoWhether ad/tracker blocking is active.
block_trackersNoWhether to block analytics and telemetry domains in addition to ads.
custom_patternsNoOptional list of additional URL glob patterns to block.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.13.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden of behavioral disclosure. It adds useful mechanism context by naming Network.setBlockedURLs and specifying that ads, trackers, and telemetry are affected. However, it omits important behavioral details such as scope (tab, context, or browser-wide), whether existing pages are affected immediately, whether a reload is required, and whether the setting persists.

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?

The description is a single front-loaded sentence with no wasted words. It is appropriately sized for a simple configuration tool, though it could benefit from a brief clause about scope or persistence.

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 relatively simple and the input schema is fully documented, so the description does not need to explain parameters. However, with no annotations and no output schema, it should say more about application scope and effects on existing pages before an agent can invoke it with confidence.

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%, so the schema already explains enabled, block_trackers, and custom_patterns. The description does not add meaning beyond those schema descriptions, which is acceptable at this coverage level but not enriching.

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?

The description states a specific verb and resource: enable or configure built-in ad, tracker, and telemetry blocking. It also names the underlying mechanism, Network.setBlockedURLs. However, it does not distinguish this tool from closely related siblings such as browser_block_urls or browser_block_resources.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to use this tool versus the related blocking tools, nor are prerequisites such as whether a page or context must already exist. Usage is only implied by the phrase 'enable or configure'.

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

Deploy Server

Other Tools