Skip to main content
Glama
mcp-server-visual-stack-browser

mcp-server-visual-stack-browser

by cadivus

type_text

Types text character by character into the currently focused browser element, simulating real keypresses; focus the target first by clicking it.

Instructions

Type a string of text into the currently focused element. This simulates real keypresses one character at a time. Make sure the target element is focused first (e.g. by clicking on it).

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": {
      "session_id": "<session_id>",
      "text": "<text>"
    },
    "name": "type_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe text string to type.
delayNoDelay between key presses in milliseconds (default: 0). Use a small delay (e.g. 50) to simulate human-like typing.
session_idYesSession ID from start_browser.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It usefully discloses that keys are sent per-character rather than as a single bulk insertion, and that focus is required, but it does not say whether input appends to or replaces existing field content, nor what happens if no element is focused.

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?

Three short sentences, front-loaded with the action, then the mechanism, then the prerequisite. No filler or repetition; each sentence carries distinct information.

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?

For a three-parameter tool with full schema coverage and no output schema, the description covers purpose, mechanism, and the focus prerequisite an agent needs to call it correctly. The remaining gap is failure and append/replace behavior, which is modest given the schema clarity.

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 all three parameters are already documented in the schema, including the delay and its human-like typing guidance. The description adds only the per-character framing and nothing about text encoding or edge characters, so baseline 3 applies.

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 and target ("Type a string of text into the currently focused element") and adds the mechanism ("simulates real keypresses one character at a time"), which distinguishes it from press_key-style single-key tools. It does not explicitly name a sibling, so it stops short of a 5.

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?

Gives a concrete prerequisite: focus the target element first, with a suggestion of how (clicking on it). It does not state when to prefer this over press_key for single keystrokes or execute_javascript for setting values, so exclusions are absent.

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