Skip to main content
Glama

n8n_scaffold_browser_bridge_node

Generate n8n node JSON for browser-bridge CLI calls based on platform, action, and input. Eliminates manual rediscovery of spawn/heredoc patterns for n8n workflows.

Instructions

Generate a ready-to-paste n8n node JSON that calls the browser-bridge CLI for a given (platform, action, input). Mirrors the patterns in browser-bridge's docs/n8n-usage.md so n8n workflows don't need to rediscover the spawn/heredoc shape every time. Pure local generator — no n8n API call. Default mode 'code-node' uses spawnSync with stdin JSON; 'execute-command' uses an Execute Command node with a quoted heredoc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
platformYesBrowser-bridge platform slug (e.g. 'coderlegion').
actionYesBrowser-bridge action (e.g. 'scan-comments', 'draft-post').
inputNoJSON input passed on stdin to the browser-bridge call.
modeNoWhich n8n node shape to emit. 'code-node' (default) handles JSON I/O via spawnSync. 'execute-command' is a heredoc shell call.
bridgeDirNoAbsolute path to the browser-bridge checkout on the n8n host. Default matches docs/n8n-usage.md.
nodeNameNoOverride the generated node name. Default 'Browser Bridge: <platform> <action>'.
positionNon8n canvas position [x, y]. Default [0, 0].
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses that the tool generates JSON locally without calling the n8n API, and describes two modes. It does not explicitly state how the output is delivered (e.g., stdout), but 'ready-to-paste' implies the JSON is output. The description is consistent and clear.

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 with three sentences: one for main purpose, one for context, and one for mode details. It is front-loaded with the primary action and contains no filler. Every sentence earns its place.

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?

Given the tool's complexity (7 parameters, nested objects, enum), the schema provides full parameter coverage. The description adds context about the local generation and modes. It could mention the output format more explicitly, but overall it is complete enough for an agent to use correctly.

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 a baseline of 3 is appropriate. The description adds value by explaining the two modes and the default behavior, but most parameter semantics are already covered in the input schema. Little extra meaning beyond the schema.

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 tool generates a ready-to-paste n8n node JSON for a given platform, action, and input. It specifies the resource (n8n node for browser-bridge) and verb (generate), and distinguishes from sibling tools (which are other n8n utilities not related to scaffolding).

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

Usage Guidelines4/5

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

The description implies when to use this tool: when you need to create an n8n node for browser-bridge without rediscovering the spawn/heredoc pattern. It also explains there are two modes ('code-node' and 'execute-command') with default indicated. However, it doesn't explicitly state when NOT to use it or name alternative tools, though none of the siblings are relevant.

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/lidless-labs/n8n-ops-mcp'

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