Skip to main content
Glama

firefox_type

Types text into a browser field by element ref or CSS selector, replacing its value unless appending is enabled; optionally presses Enter to submit.

Instructions

Type into a field (by ref or selector). Replaces existing value unless append=true. submit=true presses Enter after.

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": {
      "value": "<value>"
    },
    "name": "firefox_type"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoElement ref from firefox_read mode=interactive
tabIdNoTab id from firefox_tabs. Default: the tab last used, else the visible one.
valueYesText to type
appendNo
submitNo
selectorNoCSS selector

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations mark it non-read-only and open-world, and the description adds genuinely new behavioral facts: the existing value is replaced by default, append=true preserves it, and submit=true fires Enter. It does not say what happens when neither ref nor selector is supplied, or whether typing triggers change/blur events.

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?

Three short sentences, front-loaded with the action, then the two modifiers that matter. No redundant restatement of the tool name and nothing that could be cut without losing information.

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?

For a six-parameter browser input tool with no output schema, the description covers the mutation semantics and the Enter side effect adequately. The remaining gap is edge-case behavior (no target given, non-focusable element, failure reporting), which is minor for this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, and the description supplies meaning for the two undocumented parameters: append and submit both get explicit semantics that the schema leaves blank. The ref vs selector choice is also characterized, though the mutual exclusivity of the two is not spelled out.

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 and target ("Type into a field") plus the two acceptable addressing modes (ref or selector). It is clearly distinct from firefox_click or firefox_read in intent, though it does not explicitly contrast itself with the sibling firefox_key.

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 implied by "Type into a field" and the alternatives for targeting are noted, but there is no explicit guidance on when to use this versus firefox_key or firefox_eval, and no stated prerequisite such as the element needing focus or an interactive read first.

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