Skip to main content
Glama

browser_type_ref

Focus a browser element by its reference number and type text into it. Optionally press Enter after typing by setting submit to true.

Instructions

Focus an element by ref and type text into it. Set submit=true to press Enter after.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
refYes
textYes
submitNo
Behavior2/5

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

With no annotations, description carries full disclosure burden. It mentions focusing before typing and submit option, but lacks details on error handling (e.g., if element not found), whether it clears existing text, or behavior on non-input elements.

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?

Description is short and front-loaded with the main action. Every sentence adds value, but could be slightly more structured (e.g., listing parameters). No wasted words.

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?

Given the tool's simplicity (no output schema, 4 parameters) and no annotations, description covers core action and one option, but misses documentation for 'id' parameter and behavioral details, leaving gaps.

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 0%, so description must compensate. It explains 'ref', 'text', and 'submit' but omits 'id' entirely, leaving one of four parameters without semantic context in the description.

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

Purpose5/5

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

Description clearly states it focuses an element by ref and types text into it. It distinguishes from siblings like browser_click_ref (click) and desktop_type (desktop typing). The verb-resource pair ('type text into element identified by ref') is specific.

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?

Description conveys when to use: to type text into a focused element, with optional submit. However, it doesn't mention when not to use or provide alternatives, such as browser_eval for JavaScript or browser_extract for getting text.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tawgroup/taw-computer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server