Skip to main content
Glama

type_text

Simulates keyboard typing into any focused input field, enabling automated form filling and text entry on macOS.

Instructions

Type text as if using the keyboard. Works with any focused input field.

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_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText to type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It adds only that a focused input field is required; it says nothing about what happens when no field is focused, whether the text goes to the frontmost application, whether typing is instant or keystroke-simulated, or what the tool returns on failure. For a no-annotation tool with side effects, this is thin.

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?

Two short sentences, front-loaded with the action and immediately followed by the operative constraint. Nothing is wasted or buried.

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 one-parameter input tool the missing pieces are meaningful: no guidance on focusing a target window first and no failure-mode behavior. The description covers the happy path but not enough for an agent to call it reliably in a multi-app environment.

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

Parameters3/5

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

There is a single required parameter fully documented in the schema (100% coverage, 'Text to type'), and the description adds no syntax, escaping, or newline-format details beyond it. With one fully described param, the schema does the work.

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 resource (text) plus the mechanism (as if using the keyboard), which separates it from press_key and mouse_click. It does not explicitly contrast with press_key for single characters or key combos, but the purpose is unambiguous.

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 phrase 'works with any focused input field' implies a prerequisite (something must be focused), but it never states that the caller should use focus_app first or when to prefer press_key or run_actions instead. Usage is implied rather than spelled out.

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