Skip to main content
Glama

edge_fill

Fills or types text into input, textarea, or contenteditable elements on the active page, with an option to press Enter for search fields.

Instructions

Fill or type text into an input, textarea, or contenteditable element on the active page.

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

Input Schema

NameRequiredDescriptionDefault
textYesText value to fill into the input
timeoutNoMax time in milliseconds to wait for input element (default: 10000)
selectorYesCSS selector or text selector targeting the input element
pressEnterNoPress Enter key immediately after typing (useful for search inputs, default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses little beyond the parameter table. It does not say whether existing content is cleared or appended to, whether input events fire (which matters for framework-bound inputs), what happens if the selector never matches, or what the call returns. With no annotations, that is a substantial gap for a tool that mutates page state.

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 front-loaded sentence with no filler, and the element-type scope appears immediately. It is efficient, though its brevity leaves gaps addressed elsewhere rather than a structural problem.

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?

A mutation tool with four parameters, no annotations, and no output schema needs the description to explain failure behavior, whether the element is waited for, and what success looks like. None of that is present, so the definition is under-served relative to its complexity.

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 all four parameters, including timeout and pressEnter, are already documented in structured data. The description adds only the note that contenteditable elements are valid targets, which is marginal semantic value beyond the schema; the baseline of 3 is appropriate.

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 (fill or type) and resource (input, textarea, contenteditable on the active page), which is enough to distinguish it from edge_click or edge_select_option by the element types it targets. It stops short of naming any 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 Guidelines3/5

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

Usage is only implied: the reader must infer that this is the tool for entering free text rather than clicking or selecting. There is no statement about when to prefer edge_press_key for Enter, or when to use edge_evaluate for scripted value setting, and no prerequisites such as requiring an active tab or a fully loaded page.

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