Skip to main content
Glama

Type text

type_text

Types Unicode text into the focused field on a remote peer across macOS, Windows, or Linux. Focus the target field first, then send any characters, including Chinese.

Instructions

Type text into the focused field on the peer (click the field first). Any Unicode, including Chinese.

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

Input Schema

NameRequiredDescriptionDefault
peerYesThe peer's 9-digit rockd ID (from `devices` / `status`), or IP:port to dial directly
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and openWorldHint=true, so the write/remote nature is already covered. The description adds real value by noting the focus prerequisite and Unicode/Chinese support, but says nothing about whether Enter is pressed, what happens when nothing is focused, or what the call returns.

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 compact sentences, front-loaded with the action and the required precondition, with no filler. The Unicode note is short and conveys a real capability constraint.

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 two-parameter input tool with no output schema, the definition covers what to type, where it goes, and the focus prerequisite. Remaining gaps (keystroke mechanics, failure behavior) are modest for a tool this simple.

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 coverage is 50%: 'peer' is documented in the schema, while 'text' has no schema description. The description partly compensates by stating 'Any Unicode, including Chinese', which tells the agent that encoding limitations do not need to be worked around, but it adds nothing about the peer format or text-length constraints.

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 and resource ('Type text into the focused field on the peer') with a clear scope qualifier: the field must already be focused. That distinguishes it from the sibling 'key' (single keystrokes) and 'click' (focusing), though it never names those tools explicitly.

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 parenthetical '(click the field first)' gives an actionable precondition that implies the 'click' tool must be used before typing, which is genuine routing guidance. It stops short of exclusions, such as using 'key' for Enter/Tab/control characters or what to do if no field is focused.

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