Skip to main content
Glama

Type

type

Simulates human-paced text entry into browser fields, including realistic typos and corrections, exact input, scripted key bursts, clearing, submission, and focus checks.

Instructions

Types text at a human pace (about 6 characters a second), clicking into the element first when an id is given. Rare typos are made and corrected at once, as a person would, except in fields where a wrong character matters (passwords, numbers, codes, card fields); exact: true turns them off. Or plays a scripted burst (keys): text, Backspaces, pauses and key presses in order, with no typos of its own. A newline in text is Enter, a tab character Tab.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "type"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoAn element id from a listing, such as a12.
keysNoA burst: strings to type, {"bs": n} for n Backspaces, {"pause_ms": n} to stop for n ms, {"press": "Ctrl+I"} for a key or shortcut (a formatting toggle; its key is a named key or one ASCII character). Every press is checked before anything is sent; a step that fails stops the burst, and the answer counts what went out before it.
textNoWhat to type. Give text or keys, not both.
clearNoSelect what the field holds first, so the text replaces it.
exactNoNo typos at all.
quietNoAnswer without the changed elements (what opened on top, the focus and announcements stay); for pages such as Google Docs where every key changes much of the listing.
speedNoPace against this browser's typist: 2 is twice as fast, 0.5 half (default 1). The browser stops at about 110 words a minute, whatever the speed.
submitNoPress Enter after.
expect_focusNoSend nothing unless this element has the keyboard focus right before the first key (in Google Docs, the "Document content" textbox); a refusal names what has the focus. On a Chromaphore newer than release 2.0.0, type also stops when the focus leaves it midway and says what went out; older builds check once and cannot read a frame of another site or origin.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.1.2
    • addedInput schema / additionalProperties
      Added value: +{}
    • addedInput schema / properties / expect_focus
      Added value: +{
      +  "description": "Send nothing unless this element has the keyboard focus right before the first key (in Google Docs, the \"Document content\" textbox); a refusal names what has the focus. On a Chromaphore newer than release 2.0.0, type also stops when the focus leaves it midway and says what went out; older builds check once and cannot read a frame of another site or origin.",
      +  "type": "string"
      +}
    • addedInput schema / properties / keys
      Added value: +{
      +  "description": "A burst: strings to type, {\"bs\": n} for n Backspaces, {\"pause_ms\": n} to stop for n ms, {\"press\": \"Ctrl+I\"} for a key or shortcut (a formatting toggle; its key is a named key or one ASCII character). Every press is checked before anything is sent; a step that fails stops the burst, and the answer counts what went out before it.",
      +  "items": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "bs": {
      +            "maximum": 500,
      +            "minimum": 1,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "bs"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "pause_ms": {
      +            "maximum": 600000,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "pause_ms"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "press": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "press"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / quiet
      Added value: +{
      +  "description": "Answer without the changed elements (what opened on top, the focus and announcements stay); for pages such as Google Docs where every key changes much of the listing.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / speed
      Added value: +{
      +  "description": "Pace against this browser's typist: 2 is twice as fast, 0.5 half (default 1). The browser stops at about 110 words a minute, whatever the speed.",
      +  "maximum": 3,
      +  "minimum": 0.25,
      +  "type": "number"
      +}
    • addedInput schema / properties / text / description
      Added value: +"What to type. Give text or keys, not both."
    • removedInput schema / required
      Removed value: -[
      -  "text"
      -]
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does it well: it discloses the ~6 char/sec pace, that rare typos are made and corrected, that sensitive fields suppress typos, that the browser caps at ~110 wpm regardless of speed, and that every press in a burst is validated before sending with partial counts reported on failure. The expect_focus nuance (midway stop on newer builds, single check on older builds) is unusually candid. Minor gap: it does not state what the response body contains beyond 'the changed elements'.

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?

Content is front-loaded — mode, pace, and typo policy come first, with the burst mode and newline/tab rule following. Sentences are dense with information and free of filler, though the 'Or plays a scripted burst (keys)' construction reads as an afterthought and could be restructured for easier scanning.

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 9-parameter, unannotated mutation tool with no output schema, the description covers modes, typo policy, pacing limits, focus preconditions, and burst failure semantics — enough to invoke it correctly. The main omission is an explicit statement of what the tool returns (beyond the 'changed elements' implied by quiet), which matters given no output schema.

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 100%, so the baseline is 3, but the description genuinely adds meaning: it explains the newline-as-Enter and tab-as-Tab mapping that the schema does not state, clarifies what exact toggles off, and frames speed as a multiplier against the browser's typist. It repeats some schema content (clear, quiet, expect_focus) rather than extending it, which keeps it from a 5.

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?

The description names a specific verb and resource — types text at a human pace, clicking into the element when an id is given — and distinguishes two operating modes (natural typing with corrected typos vs. a scripted 'keys' burst). An agent can tell this apart from press/paste/clipboard siblings without opening the schema.

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?

It gives a real conditional rule for exact mode (passwords, numbers, codes, card fields) and explains that 'keys' is for scripted bursts, which is useful mode selection. However, it never states when to prefer this tool over sibling tools like press, paste, or clipboard, leaving cross-tool routing to inference.

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