Skip to main content
Glama

type

Enter text as real keyboard input into a focused or targeted field, optionally clearing existing content or submitting with Enter.

Instructions

Type text as real keyboard input. With a target, clicks the field first; otherwise types into whatever is focused. clear=true replaces the field's current content; submit=true presses Enter afterwards.

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

Input Schema

NameRequiredDescriptionDefault
refNoElement ref from snapshot/find, e.g. "e12" (preferred).
textYes
clearNo
tabIdNoTab ID from tabs_list. Omit for the active tab.
slowlyNoSend one key event per character (for fields that react to each keystroke, like autocomplete).
submitNo
elementNoVisible text or label of the element, e.g. "Sign in" (fallback).
profileNoChrome profile: folder ("Profile 3"), nickname, or unique display name. Omit to use the current profile.
selectorNoCSS selector (fallback).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden and does cover the important behaviors: auto-click before typing, focus fallback, content replacement via clear, and Enter via submit. It omits what an agent most needs to know about failure modes: what happens when the ref or selector resolves to nothing, whether text appends by default, and whether it waits for the field to become editable.

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 sentences, no filler, with the mechanism stated first and the two flag semantics trailing. Every clause carries information an agent needs to call the tool correctly.

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 9-parameter mutation-adjacent tool with no annotations and no output schema, the description covers the targeting model and the two behavioral flags but leaves the remaining parameters (slowly, tabId, profile) entirely to the schema. It is adequate but not complete for a tool with this many knobs and no safety annotations.

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 67% and the description adds real meaning the schema lacks: clear is defined as replacing current content, submit as pressing Enter afterward. The target parameters are also given semantic ordering (ref preferred, element and selector as fallbacks) that the flat schema does not convey.

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?

"Type text as real keyboard input" states a specific verb and mechanism, and distinguishes this from a key-press tool by emphasizing literal character input. It does not name the closest sibling (press_key) or contrast with it, so it falls 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 Guidelines3/5

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

The description gives conditional guidance internally: supply a target to click the field first, or omit it to type into whatever already has focus. That tells an agent how to invoke it in two scenarios, but it never says when to reach for this tool over press_key, select_option, or a plain click, nor does it list exclusions.

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