Skip to main content
Glama

type

Enters text into the focused browser element or a specified element reference after focusing it, enabling form filling and input automation through FoxBridge.

Instructions

Type text into the focused element, or into ref after focusing it.

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

Input Schema

NameRequiredDescriptionDefault
refNoElement ref (ref_N) from read_page or find.
textYes
tabIdNoTab to act on. Omit for the active tab.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden, and it discloses only that a ref is focused before typing. It does not say whether existing text is replaced or appended, whether real key events are dispatched, what happens on failure (missing ref, unfocused page), or whether permission/attach state is required — all material for a mutation-style input tool.

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?

One short sentence, front-loaded with the primary behavior, with the ref fallback as the second clause. Nothing is wasted, though it is arguably too terse for the behavioral gaps it leaves.

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

Completeness3/5

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

For a 3-parameter, no-output-schema input tool, the description covers the mechanics of targeting but omits the outcome semantics an agent needs to call it correctly — replacement vs. append behavior and event fidelity. Adequate but with clear gaps given the absence of annotations.

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 coverage is 67%: ref and tabId are already documented in the schema, while text is bare. The description adds real meaning for ref (it is focused first, then typed into) but says nothing about text or tabId, so it only marginally exceeds 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 concrete verb and effect: type text into the focused element, or into a ref after focusing it. That is specific enough to distinguish it from click/scroll/key at a basic level, but it never names a sibling (e.g. form_input, key) to clarify the boundary, so it stops short of full differentiation.

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 when-to-use or when-not-to-use guidance. An agent cannot tell from this text whether to prefer this over form_input for filling fields, or over key for special keystrokes; the only guidance is about how the ref parameter behaves.

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