Skip to main content
Glama

chrome_set_bypass_csp

Toggles Content Security Policy bypass for a Chrome tab so blocked scripts or resources can load during debugging.

Instructions

Bypass Content Security Policy

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

Input Schema

NameRequiredDescriptionDefault
tabIdNo
enabledYestrue to bypass CSP

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about whether the bypass is per-tab or global, whether it persists after navigation, what permissions or debugger state are needed, or how it interacts with existing headers. For a security-relevant browser mutation, this is a severe gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single four-word phrase is short but under-specified rather than concise; brevity here removes information an agent needs rather than trimming redundancy. There is no front-loaded statement of effect or scope.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and an undocumented required/optional parameter split, the definition provides nothing beyond the name. An agent cannot determine correct invocation conditions or side effects from this description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The two-parameter schema has only 50% description coverage: `enabled` is documented in the schema itself, but `tabId` is undocumented in both schema and description. The description does not clarify that the operation is tab-scoped or what omitting `tabId` means, so it fails to compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Bypass Content Security Policy" only expands the CSP acronym already present in the tool name; it adds no scope, target, or effect detail. It is effectively a restatement of the name rather than a statement of what invoking the tool actually does to the page or tab.

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 when-to-use guidance, no precondition (e.g., needing a loaded page or debugger attachment), and no mention of alternatives or when not to bypass CSP. The agent must infer all of this from the name alone.

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