Skip to main content
Glama

type_text

Focus a page element and type text into it, replacing existing content by default or appending as needed.

Instructions

Focus an element and type text via CDP Input.insertText.

    By default the field is cleared first (``replace=True``). Set
    ``replace=False`` to append to the existing value.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
replaceNo
selectorYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses the clearing-by-default and appending behavior, and mentions the underlying CDP method. No annotations are provided, so description carries full burden; it covers key behaviors but could discuss event triggering.

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?

Two concise sentences with no waste. Purpose is front-loaded, followed by key behavioral detail.

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?

Covers main behavior and two of three parameters. An output schema exists, so return value explanation is not needed. Missing selector explanation is a minor 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?

Explains 'text' and 'replace' parameters, but 'selector' is not described. With 0% schema coverage, the description partially compensates but misses one parameter.

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?

Clearly states the tool types text into a focused element via CDP Input.insertText. Distinguishes from sibling tools like human_type and press_key.

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?

Explains the default clearing behavior and how to append via replace=True/False, giving context for when to use each mode. Does not explicitly compare to other typing tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bituq/zendriver-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server