Skip to main content
Glama

Export bookmarks as Netscape HTML

browser_bookmarks_export
Destructive

Exports Firefox bookmarks to a Netscape Bookmark HTML file, enabling transfer or backup across browsers such as Chrome, Edge, and Safari.

Instructions

Write the bookmark tree to a Netscape Bookmark HTML file. That is the format Chrome, Edge and Safari also export, so it is how bookmarks move between browsers. MEASURED: Firefox has no usable exportToHTML in this build, so this walks PlacesUtils.bookmarks.search({parentGuid}) recursively and builds the HTML itself. TWO TRAPS: item.url is a URI object (read .spec), and search({parentGuid}) also returns the parent folder itself which must be skipped or the walk never ends.

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute .html file path to write
maxNodesNoNode budget (default 2000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true. The description adds implementation context such as the recursive walk and lack of usable exportToHTML, but never states whether an existing file is overwritten, what permissions are needed, or what the call returns.

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

Conciseness3/5

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

The purpose is front-loaded and the opening sentence is efficient. However, the "MEASURED" note and "TWO TRAPS" section consume substantial space on internal implementation details that do not help an agent select or invoke the tool, so the description is less concise than it could be.

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 annotations and complete input schema, the description is mostly sufficient: it establishes what the tool writes and why. It still omits caller-facing details such as overwrite behavior and return value, keeping it below fully complete.

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%, so path and maxNodes are already documented in the input schema. The description mentions parentGuid and item.url only as internal implementation details, not as caller-facing parameter semantics, making baseline 3 appropriate.

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 names a specific action and target: "Write the bookmark tree to a Netscape Bookmark HTML file," and adds the output format. It does not explicitly contrast with bookmark-related siblings like browser_bookmark_backup or browser_bookmarks_import, so it falls short of full sibling differentiation.

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?

It gives a clear use case: cross-browser bookmark movement via the same format Chrome, Edge and Safari export. It does not state exclusions or name alternative tools, so it lacks the explicit when-not and alternative routing of a 5.

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