Skip to main content
Glama

type_text

Types text into a focused field after clicking it, preventing characters from triggering shortcuts in the main view.

Instructions

Type into the focused field. Click the field first: in the main view, characters act as shortcuts.

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
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.16.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 behavioral burden, and it does disclose the two most important traits: input goes to the currently focused widget, and in the main view keystrokes are interpreted as shortcuts rather than text. It says nothing about what happens when no field is focused, whether text is inserted at the caret or replaces a selection, or whether control characters are supported.

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?

Two short sentences, front-loaded with the action, with the prerequisite attached to a colon rather than buried in a trailing clause. Nothing is redundant; the second sentence is slightly telegraphic but still parseable.

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 tool with no output schema the definition covers the essentials, but the omission of focus-failure behavior and special-character handling leaves an agent guessing on realistic edge cases in a GUI-automation context.

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?

Schema description coverage is 0% for the single `text` parameter, so the description must compensate. "Type" implies literal string entry but does not clarify whether special sequences (newline, tab, key chords) are interpreted, how characters are escaped, or how the string is delivered — a meaningful gap for a typing tool.

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?

A concrete verb+resource: "Type into the focused field" states exactly what the tool does and where the input lands. It also implicitly separates it from pointer tools like click, since typing applies to whatever is already focused rather than to a target element.

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?

Supplies a real precondition — "Click the field first" — which names the sibling action needed to make typing succeed. The caveat that characters act as shortcuts in the main view tells the agent when this tool will not behave as literal text entry, though it does not state what to do instead.

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