Skip to main content
Glama
andresolbach

nodriver-mcp-server

Type text

type_text

Type text into the element currently in focus, appending at the caret. Use for rich-text, canvas, or contenteditable editors that react only to raw key events, or when adding to existing content.

Instructions

Type text into whatever element currently has focus.

Appends at the caret instead of replacing, and needs something focused already — click the field first, or use fill, which takes a uid, clears the field and needs no separate focus step.

Prefer fill for ordinary form filling. Use type_text when you must add to existing content, or for widgets that only react to raw key events such as contenteditable, rich-text and canvas editors.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe text to type, one character at a time.
browserNoWhich browser to act on. Each name is an independent Chrome, created on first use. Omit for the shared default; parallel agents each need their own name.default
submit_keyNoKey to press once typing finishes, e.g. "Enter" to submit a search box or "Tab" to move to the next field. Empty string presses nothing.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.5.0
    • addedInput schema / properties / browser
      Added value: +{
      +  "default": "default",
      +  "description": "Which browser to act on. Each name is an independent Chrome, created on first use. Omit for the shared default; parallel agents each need their own name.",
      +  "type": "string"
      +}
  2. First observedv1.7.2

TDQS

A4.7/5.0
Behavior5/5

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

The description adds meaningful behavioral detail beyond the annotations: it appends at the caret, does not replace existing content, requires focus, and works through raw key events for contenteditable/rich-text/canvas widgets. This clarifies the mutation semantics beyond the bare readOnlyHint=false and idempotentHint=false flags.

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 compact and well-structured: main behavior first, then the critical focus/caret nuance, then explicit routing guidance. Every sentence contributes either behavioral clarity or usage direction, with no filler or repetition of schema details.

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

Completeness5/5

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

Given the annotations, full schema coverage, and an existing output schema, the description covers everything an agent needs to decide when to use the tool and how to invoke it correctly. It explains the focus prerequisite, the difference from `fill`, and the special widgets it supports, leaving no critical gap.

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 the schema already fully documents `text`, `browser`, and `submit_key`. The description provides useful operational context, such as the focus requirement and when `fill` is preferable, but it does not add new parameter-level meaning beyond what the schema already states.

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 opens with a specific verb + resource: 'Type text into whatever element currently has focus.' It further distinguishes itself from the sibling `fill` by explicitly stating it appends at the caret rather than replacing, so an agent can tell the two apart without inspecting schemas.

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

Usage Guidelines5/5

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

The description gives an explicit decision rule: 'Prefer fill for ordinary form filling. Use type_text when you must add to existing content, or for widgets that only react to raw key events.' It also warns that a focused element is required and tells the agent to click first, making the when-to-use and prerequisites unambiguous.

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