Skip to main content
Glama

google_type

Types text into a web input via CDP, including Chinese, with options to clear existing content and submit by pressing Enter.

Instructions

向输入框输入文本(CDP insertText,支持中文)。clear=true 先清空,submit=true 回车。

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": "google_type"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
roleNo
textYes
clearNo
xpathNo
submitNo
tab_idNo
delay_msNo
selectorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/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 burden, and it does disclose genuinely useful behavior: insertText semantics, Unicode/Chinese support, clearing before input, and Enter submission. However, it says nothing about how the target element is resolved among the several locator parameters, whether focus is moved, error behavior, or timing (delay_ms).

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?

It is a single, tightly packed sentence with the main action front-loaded and no filler. The brevity is efficient, though it is achieved partly by omitting needed detail rather than by careful prioritization.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter tool with no annotations and no output schema, the definition explains only 2 of the 9 parameters. The single most important question an agent faces — which locator field to supply and how they interact — is entirely unanswered.

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% across 9 parameters, so the description must compensate and largely does not. It only clarifies clear and submit; name, role, xpath, selector, tab_id, and delay_ms are left completely undocumented, leaving the agent guessing at the locator strategy.

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?

The description gives a specific verb+resource: typing text into an input box, and adds the mechanism (CDP insertText) which implies focus-based text insertion rather than key dispatch. It implicitly differentiates from key-event siblings by noting Chinese/IME support, but never names an alternative tool explicitly.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus google_key, google_click, or google_eval, nor any stated prerequisite such as the element already being focused. The only conditional hints (clear=true, submit=true) are parameter behaviors, not usage routing.

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