Skip to main content
Glama

browser_set_editable_content

Insert text or HTML into contenteditable editors, inputs, or textareas by selector to populate long content such as Gmail compose bodies without typing.

Instructions

Set text or HTML in a contenteditable editor, input, or textarea in one fast operation.

Use this for rich editors such as Gmail compose bodies where typing long text is slow.

Args: selector: CSS selector or Kitsune ref for the editable element value: Text or HTML to place into the editor format: "text" for plain text or "html" for trusted HTML clear: Whether to replace existing content instead of appending tab_id: Optional tab to target. Defaults to active tab.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clearNo
valueYes
formatNotext
tab_idNo
selectorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does add useful clues: the operation is a single fast bulk set rather than simulated typing, and 'trusted HTML' hints at injection/security semantics for html format. However it omits what happens to focus, whether framework input events fire, error behavior, and permission requirements - gaps that matter for a no-annotation mutation tool.

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-loaded with purpose and usage before the Args list, and every line earns its place given zero schema descriptions. The 'in one fast operation' phrasing is mild marketing, and the Args block is slightly rote, keeping it from a 5.

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?

For a 5-param, no-annotation, no-output-schema mutation tool, the description covers purpose, usage and parameter meaning reasonably. It is still silent on return value/confirmation, focus and event side effects, and failure modes, so an agent lacks full behavioral context.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate, and it largely does: it documents selector (CSS selector OR Kitsune ref, richer than the bare string schema), the text/html format values plus their trust semantics, and that clear replaces rather than appends, and tab_id defaults to the active tab. Only error/edge behavior on these params is left unstated.

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 and resource ('Set text or HTML in a contenteditable editor, input, or textarea') and scopes it as a fast bulk-set operation, which functionally distinguishes it from the keystroke-based siblings like browser_type and browser_fill. An agent can identify the right tool without opening a schema.

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?

'Use this for rich editors such as Gmail compose bodies where typing long text is slow' gives a concrete when-to-use condition and implicitly rules out slow typing tools. It does not name the alternative sibling (browser_type/browser_fill) explicitly or state when-not-to-use, so it falls short 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