Skip to main content
Glama

Type text

type

Enter text into browser input, textarea, or contenteditable fields, clearing first by default; submit with Enter or use the focused element when no target is set.

Instructions

Type into an input, textarea or contenteditable element. Clears the field by default and uses trusted CDP keystrokes. Set pressEnter=true to submit. If no target is given, types into the focused element.

Input Schema

NameRequiredDescriptionDefault
refNo
textYes
clearNoClear the field before typing. Default true.
delayNoDelay per character in ms.
tabIdNo
focusedNoType into the currently focused element.
frameIdNo
timeoutNo
trustedNo
selectorNo
waitUntilNodomcontentloaded
delayAfterNo
pressEnterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

B3.2/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 behavioral burden. It does add genuine value beyond the schema by disclosing that the field is cleared by default, that input uses 'trusted CDP keystrokes', and the focused-element fallback. It omits other meaningful traits like timeout behavior, waiting semantics, and per-character delay effects.

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?

Three focused sentences, each carrying distinct operational information (targets, clear-by-default, trusted keystrokes, submit flag, focused fallback). No filler or redundancy; it is front-loaded with the core action.

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 13-parameter mutation-style tool with no annotations and no output schema, the description covers only the headline behaviors. Many parameters and failure/timeout semantics remain undocumented, leaving gaps an agent would want filled before calling it reliably.

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

Parameters2/5

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

Schema coverage is only 23% across 13 parameters, so the description must compensate and largely does not. It clarifies clear (default), focused, and pressEnter, but leaves delay, delayAfter, timeout, waitUntil, trusted, selector, ref, tabId, and frameId unexplained in both schema and description.

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 the target resources (input, textarea, contenteditable) clearly. However, it does not distinguish itself from the close sibling fill_form, which also enters text into fields, so an agent must infer the boundary.

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?

Provides implied usage clues: it explains the no-target fallback ('types into the focused element') and how to submit ('Set pressEnter=true'), which helps invocation. But there is no explicit when-to-use-this-vs-alternatives guidance against fill_form, click, or press.

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