Skip to main content
Glama

type_text

Type text into the focused text field on an LG webOS TV, then submit or replace it as needed. Focus the field first so the on-screen keyboard appears.

Instructions

Type text into the text field that has focus on the TV (search boxes, browser, sign-in forms).

A text field must be focused first, with the LG on-screen keyboard showing. Apps with their own
keyboard ignore this, notably YouTube: to search YouTube use launch_app(youtube_search=...) instead.

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 into the focused text field
submitNoPress Enter after typing (e.g. to run a search)
replaceNoReplace what's already in the field instead of appending

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden well: it discloses the focus/keyboard prerequisite and the silent-failure mode where apps with their own keyboard ignore input entirely. It stops short of describing error behavior when no field is focused or whether the call blocks until typing completes.

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, front-loaded sentences: the action first, then the prerequisite and the exception. No filler and no restatement of the tool name.

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?

An output schema exists, so return values need no explanation, and all three parameters are documented in the schema. The main remaining gap is failure semantics when no field is focused, which is only implied by 'must be focused first'.

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 100%, so text, submit, and replace are already documented with defaults and constraints in the schema. The description adds no meaning beyond that (e.g., whether replace clears or selects existing content), so the baseline 3 applies.

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?

States a specific verb (type) and resource (the focused text field on the TV), and grounds it with concrete examples (search boxes, browser, sign-in forms). It also explicitly demarcates the YouTube case, so an agent can distinguish it from press_button or launch_app without inspecting schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit precondition ('a text field must be focused first, with the LG on-screen keyboard showing') and an explicit exclusion with a named alternative ('Apps with their own keyboard ignore this, notably YouTube: use launch_app(youtube_search=...) instead'). Both when-to-use and when-not-to-use are covered.

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