Skip to main content
Glama
mcp-browser-dev-tools

mcp-browser-dev-tools

by Hinaser

type

Enter real text into input, textarea, or contenteditable elements, replacing content by default; set clear to false to append and return resulting page changes.

Instructions

Type with real text input into an input, textarea, or contenteditable, replacing its content unless clear is false. Returns changes.

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": {
      "selector": "<selector>",
      "text": "<text>"
    },
    "name": "type"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesEach newline presses Enter. Picker inputs (date, time, datetime-local, month, week, color, range) take their value format, e.g. 2026-09-27.
clearNofalse appends (default true); picker inputs are always replaced.
selectorYesLocator: ref=e3, CSS, text=…, role=button[name="…"], name=…, or a >> b
sessionIdNo
timeoutMsNoms to retry while the element is missing (default 2000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.4

TDQS

B3.4/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, and it does disclose the key trait that content is replaced unless clear is false. However, it omits whether the tool focuses/clicks the element first, what happens if the element is not editable or not visible, and what 'Returns changes' concretely means.

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?

Two short sentences, front-loaded with the core action and target element types, with zero filler. The trailing 'Returns changes' is slightly vague but does not bloat the definition.

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-parameter mutation tool with no annotations and no output schema, the description covers the essential replacement semantics but leaves focus behavior, error/failure modes, and the meaning of the returned changes undocumented. Sizeable gaps remain, though the schema supplies most parameter detail.

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 80%, so baseline is 3. The description only reinforces the clear parameter behavior already documented in the schema and adds no new syntax, format, or edge-case detail for text, selector, sessionId, or timeoutMs.

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?

States a specific verb ('Type') and resources ('input, textarea, or contenteditable') plus the mutation semantics (replacing content unless clear is false). It is reasonably distinguishable from press_key and select, though it never names a sibling explicitly.

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?

Usage is implied by the target element types, so an agent can infer this is for entering text into editable fields. There is no explicit guidance on when to prefer press_key, select, or click instead, nor any stated prerequisites such as focusing the element first.

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