Skip to main content
Glama

type

Enter text into a browser field, replacing existing content unless clear:false is set; optionally submit with Enter and locate fields by ref or role/name.

Instructions

Type into a field (replaces its content unless clear:false).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "type"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoElement ref from the latest snapshot, e.g. e12 or f1e5
tabNoTab id. Default: your own target tab (each agent session gets its own)
findNoInstead of ref: the role and name as the snapshot shows them, e.g. {role:"button", name:"Save"}; nth:2 picks the second match. Survives reloads and new sessions, so recipes use it
textNo
clearNo
slowlyNoKey-by-key, for widgets that need keystrokes
submitNoPress Enter after
browserNochrome, edge, ... (only when several browsers are connected)
snapshotNoDefault returns a diff of what changed. true = full snapshot, false = nothing

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the most important behavioral trait: existing field content is replaced by default, with clear:false as the opt-out. It omits other relevant behavior — whether the field must be focused first, what happens if ref/find matches nothing, and whether submit triggers navigation — so it is only partly transparent for a mutating input action.

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 overwrite risk front-loaded in the parenthetical and no filler. It is efficient, though the terseness means several decisions an agent must make are simply unaddressed rather than handled elsewhere.

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 9-parameter tool with a nested find object, no annotations, and no output schema, one sentence is thin — it never mentions the ref/find targeting choice, the snapshot-diff return behavior, or the browser/tab scoping, all of which materially affect a correct call. The clear default is the single most valuable piece of information supplied, which keeps this from being inadequate.

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 78%, so the schema already documents most parameters, and the description adds real meaning only for clear by explaining the default overwrite behavior. The text parameter, which is required in practice for the core function, gets no description in either place, leaving a meaningful gap.

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 states a concrete verb-plus-target: 'Type into a field,' which tells an agent this types text into an input element rather than pressing keys globally. It does not differentiate from siblings like press, select, or upload, so the agent must infer that press is for named keys and select for dropdowns.

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 explicit when-to-use guidance, no prerequisite (e.g., that a snapshot/ref must exist first), and no routing to alternatives such as press for key combos. The only conditional given is the inline clear:false note, which is parameter semantics rather than usage guidance.

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