Skip to main content
Glama

Intercept Chrome Browser

intercept_chrome

Launch an isolated Chrome window to intercept and inspect HTTP(S) traffic for debugging purposes. Routes all browser traffic through a specified proxy port without affecting normal browsing.

Instructions

Launch a fresh independent Chrome window with all HTTP(S) traffic intercepted. The browser uses an isolated profile so it won't affect your normal browsing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
proxyPortYesProxy port to route traffic through

Implementation Reference

  • The MCP tool 'intercept_chrome' is registered in index.ts and delegates the logic to `client.activateInterceptor('fresh-chrome', proxyPort)`.
    server.registerTool(
      'intercept_chrome',
      {
        title: 'Intercept Chrome Browser',
        description: 'Launch a fresh independent Chrome window with all HTTP(S) traffic intercepted. The browser uses an isolated profile so it won\'t affect your normal browsing.',
        inputSchema: z.object({
          proxyPort: z.number().describe('Proxy port to route traffic through'),
        }),
      },
      async ({ proxyPort }) => jsonResult(await client.activateInterceptor('fresh-chrome', proxyPort))
    );
  • The `activateInterceptor` method in HttpToolkitClient sends a POST request to the HTTP Toolkit server API endpoint `/interceptors/{id}/activate/{proxyPort}` to perform the actual interception activation.
    async activateInterceptor(
      id: string,
      proxyPort: number,
      options?: unknown
    ): Promise<{ result: { success: boolean; metadata?: unknown } }> {
      return this.request(
        'POST',
        `/interceptors/${encodeURIComponent(id)}/activate/${proxyPort}`,
        options || {}
      );
    }
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: launching a new Chrome window, intercepting HTTP(S) traffic, and using an isolated profile. However, it omits details like potential side effects (e.g., resource usage), prerequisites (e.g., Chrome installation), or error handling, leaving gaps in transparency.

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?

The description is concise and front-loaded, consisting of two sentences that efficiently convey the tool's purpose and key features (interception and isolation). Every sentence adds value without redundancy, making it easy to parse quickly.

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?

Given the tool's moderate complexity (launching and intercepting a browser), no annotations, and no output schema, the description is somewhat complete but lacks details on return values, error conditions, or operational constraints (e.g., timeouts, dependencies). It covers the core functionality adequately but leaves room for improvement in contextual depth.

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?

The input schema has 100% description coverage, with the single parameter 'proxyPort' documented in the schema. The description does not add any parameter-specific information beyond what the schema provides, such as typical port values or proxy setup details, so it meets the baseline for high schema coverage without compensating further.

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 clearly states the specific action ('Launch a fresh independent Chrome window') and resource ('with all HTTP(S) traffic intercepted'), distinguishing it from siblings like 'intercept_firefox' or 'intercept_android_adb' by specifying the Chrome browser target. It also mentions the isolated profile feature, which further differentiates its behavior.

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

Usage Guidelines3/5

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

The description implies usage context ('fresh independent Chrome window', 'isolated profile') but does not explicitly state when to use this tool versus alternatives like 'intercept_firefox' or 'intercept_existing_terminal'. It provides some guidance on the tool's scope but lacks explicit comparisons or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fdciabdul/httptoolkit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server