Skip to main content
Glama

type

Enter text into input, textarea, or contenteditable fields, replacing values by default; optionally append text, send keystrokes slowly for autocomplete, or press Enter to submit.

Instructions

Type text into a field (input, textarea, contenteditable). Replaces the value by default; append adds to it; slowly sends key-by-key events (autocomplete widgets); submit presses Enter afterwards. The typed text is never echoed.

Input Schema

NameRequiredDescriptionDefault
tabNoTab id such as "t3"; default is the active tab
textYes
appendNo
slowlyNo
submitNo
targetYesA ref from snapshot/find ("e12"), a point "x,y" in the last screenshot's pixels, or a Playwright selector (text=…, role=button[name="…"], #id, css=…, xpath=…)
snapshotNotrue attaches a full-page snapshot after the effect summary; false skips the viewport snapshot attached when the action opens a new document (call snapshot for the whole page)
timeout_msNoTimeout in ms; default is the configured action/navigation timeout

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations only declare openWorldHint, so the description carries the behavioral load and does disclose two valuable traits: default replacement semantics and 'The typed text is never echoed,' which tells the agent it cannot verify input from the response. It omits failure behavior (element not found, timeout) and whether submit can trigger navigation, which matter for an open-world browser action.

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?

One dense sentence with semicolon-separated clauses; the core action and its default are front-loaded, and modifiers follow in the order an agent would consider them. Slightly telegraphic, but no clause is filler.

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?

No output schema exists, and the description compensates by noting the silent-input behavior so the agent knows to verify state another way (e.g. snapshot/read). For an 8-parameter open-world action it is largely complete, with only failure and post-submit side effects left unstated.

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

Parameters4/5

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

Schema coverage is 50%; the undocumented parameters are exactly text, append, slowly and submit, and the description defines all four in prose, including the default (replace) that the schema leaves unstated. It adds no detail for target, tab, snapshot or timeout_ms, but those already have schema descriptions.

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 resource ('Type text into a field') plus the accepted field kinds (input, textarea, contenteditable). It does not explicitly distinguish itself from the sibling fill_form or press, so the agent must infer the boundary from names alone.

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 conditional guidance for each behavioral mode: append for adding, slowly for autocomplete widgets, submit to press Enter afterwards. No explicit when-not-to-use or named alternative (e.g. fill_form for multi-field entry, press for bare keystrokes) is given.

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