Skip to main content
Glama

Start or stop intercepting requests

browser_network_intercept
Destructive

Turn Firefox BiDi network request interception on or off to hold matching requests before they are sent; release them with continue or response tools, then stop interception.

Instructions

Turn BiDi request interception on or off (network.addIntercept / removeIntercept, phase beforeRequestSent). While interception is ON, matching requests are HELD until something continues them — a page can appear to hang if nothing does. ⚠️ So always pair this with browser_network_continue_all (release everything held) or browser_network_provide_response (answer one request), and turn interception OFF when finished. Intercepted requests are listed by browser_network_requests (network.beforeRequestSent).

Input Schema

NameRequiredDescriptionDefault
actionYesstart to begin intercepting, stop to release and stop
urlPatternNoOptional URL pattern to limit interception. MEASURED: the wildcard must be ESCAPED and the whole thing must parse as a URL, so use e.g. "http://127.0.0.1:8099/*" — a bare "*" fails with "Unable to parse URL" and an unescaped "*" fails with "unescaped forbidden character".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description adds the crucial non-obvious consequence: matching requests are HELD and pages can appear to hang if nothing continues them. That is a genuine behavioral disclosure beyond structured metadata, and it directly justifies the destructive annotation.

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?

Front-loads the action, then the hang warning, then the remedy and the related tool. The warning icon and parenthetical protocol details are slightly verbose but every sentence carries actionable content.

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?

Covers the stateful-toggle risk and recovery path thoroughly, which is the main thing an agent needs. The remaining gap is scope: it never says whether interception applies globally, per tab, or per context — a real ambiguity given the absence of any tab/context parameter.

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 coverage is 100%, and the urlPattern description in the schema is unusually thorough (escaping, parse-as-URL requirement), so the description need not repeat it. The description adds no parameter-level meaning of its own beyond mentioning the interception phase, so the baseline 3 applies.

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?

States a specific verb pair (turn on/off) plus the exact resource (BiDi request interception) and even names the protocol commands (network.addIntercept / removeIntercept, phase beforeRequestSent). It is immediately distinguishable from siblings like browser_network_continue_all and browser_network_requests, which it references by name.

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?

Gives explicit when-to-use conditions and the required companions: pair with browser_network_continue_all or browser_network_provide_response, and turn interception OFF when finished. It also tells the agent where the resulting data shows up (browser_network_requests), leaving nothing to inference.

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