Skip to main content
Glama

type

Destructive

Simulate character-by-character keyboard input to fire JS keydown/keyup handlers for autocomplete, live search, or character-counting fields.

Instructions

[Agent Browser] Type text character by character with key events. Slower than 'fill' but triggers JS keydown/keyup handlers. Use for autocomplete, live search, or character-counting inputs.

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

Input Schema

NameRequiredDescriptionDefault
textYes
selectorYes

Output Schema

NameRequiredDescriptionDefault
dataNo
hintsNo
messageNo
successNo
suggestionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and non-idempotent, which is counterintuitive for a typing tool, and the description usefully explains the real behavioral trait: per-character key events that fire JS keydown/keyup handlers, plus the performance cost. It does not explain what makes the operation 'destructive' (e.g., overwriting existing field content).

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 short sentences, each earning its place: what it does, how it differs from 'fill', and when to choose it. The purpose is front-loaded with no 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?

With an output schema present and only two simple required parameters, the description covers the mechanism and selection criteria well; the remaining gap is the unaddressed selector parameter. Nothing about return values is needed.

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 description coverage is 0%, so the description carries full burden, but it only implicitly covers the 'text' parameter through the verb 'type'. The 'selector' parameter — which element receives the keystrokes — is never addressed, nor are format expectations for either field.

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 mechanism ("Type text character by character with key events") and explicitly differentiates itself from the sibling tool 'fill' by contrasting speed and event behavior. An agent can distinguish 'type' from 'fill' or 'type_human' without opening either schema.

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?

It gives concrete use cases (autocomplete, live search, character-counting inputs) and implicitly routes plain text entry to the faster 'fill'. It stops short of an explicit when-not statement, but the speed/event tradeoff makes the alternative clear.

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