Skip to main content
Glama

chrome_type

Types text into a focused element or CSS selector, optionally clearing existing content. Use it to fill form fields, enter search queries, or automate input.

Instructions

Type text into a focused element or selector

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

Input Schema

NameRequiredDescriptionDefault
textYesText to type
tabIdNo
selectorNoCSS selector to focus first
clearFirstNoClear existing value before typing

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing. It does not say whether this dispatches real keyboard events, fires input/change listeners, replaces or appends to existing content, what clearFirst actually destroys, or which tab is targeted when tabId is omitted. For an input-simulation tool whose side effects users care about, this is a significant gap.

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?

A single short sentence with the action and target front-loaded and no filler. It is efficient, though its brevity is partly a symptom of under-specification rather than disciplined editing.

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?

With no annotations, no output schema, and four parameters, the description should explain target resolution, tab fallback, and whether typing fires framework listeners. None of that is present, so an agent would have to guess at invocation semantics.

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 75%, so most parameters are already documented. The description's 'focused element or selector' reinforces the selector semantics, but it adds nothing about tabId (undocumented in both places) or about how clearFirst interacts with the typing flow. Roughly baseline value over the schema.

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 and resource: typing text into a target element. The phrase 'a focused element or selector' names the two targeting modes, which lets an agent distinguish this from pure key-event tools like chrome_key_press. It stops short of naming a sibling explicitly, so it is clear but not fully differentiated.

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?

The description implies a condition ('focused element or selector') but never states when to use this tool rather than chrome_key_press, chrome_click, or chrome_evaluate. There are no when-not cases, no prerequisites about focusing an element first, and no mention of what happens if neither a focused element nor a valid selector is present.

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