Skip to main content
Glama

文字を入力

type_text

Enter text into a specified input field using a CSS selector, with an option to clear existing content first.

Instructions

入力欄に文字を入力する

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

Input Schema

NameRequiredDescriptionDefault
textYes入力する文字列
clearNo入力前に既存の値を消すか
selectorYes対象要素の CSS セレクタ

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden and discloses almost nothing: it does not say whether existing content is replaced, which DOM events are dispatched, whether the element must be visible/enabled, or what happens when the selector matches nothing. These are exactly the behaviors an agent needs to predict before committing to a text entry action.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short, front-loaded sentence with no wasted wording. Brevity here is under-specification rather than economy, since nothing beyond the bare action is conveyed.

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 3-parameter browser-automation mutation tool with no annotations and no output schema, the description is too thin: it omits error conditions, focus/visibility requirements, and event behavior. The schema covers parameters, but the description leaves the agent without enough context to call this reliably.

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 selector, text, and clear are already documented in the schema, giving a baseline of 3. The description adds only the word 入力欄, which slightly narrows the meaning of the generic CSS selector parameter rather than clarifying it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete action (文字を入力) and a target (入力欄), so the basic intent is clear. However, it largely restates the tool name and title rather than differentiating this tool from siblings such as click, press_key, select_option, or set_checked, all of which also act on page elements.

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 tool versus alternatives like select_option for dropdowns, set_checked for checkboxes, or press_key for keyboard-only interactions. No preconditions (element visibility, focus requirement, page-load state) are stated either.

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