Skip to main content
Glama

safari_type_text

Type text character-by-character in Safari to trigger autocomplete and interactive field responses. Use for search boxes, chat inputs, and fields that react to each keystroke.

Instructions

Type text character-by-character with realistic key events. Best for: search boxes (triggers autocomplete), chat inputs, and fields that react to each keystroke. For rich text editors (Medium, HackerNoon, LinkedIn), use safari_fill instead — it uses framework-native APIs. For code editors (Monaco/CodeMirror), use safari_replace_editor. When using ref, always take a FRESH safari_snapshot first — refs expire after each new snapshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesText to type
refNoRef ID from safari_snapshot
selectorNoCSS selector to focus
Behavior4/5

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

With no annotations provided, the description carries full behavioral disclosure burden. It explains the character-by-character execution model, realistic key event simulation, and critical state constraint that 'refs expire after each new snapshot.' Does not explicitly address error handling or event trigger specifics (blur/focus), but covers primary behavioral traits well.

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?

Four sentences with zero waste. Front-loaded with mechanism, followed by two specific alternative recommendations, and ending with a critical operational warning about ref freshness. Every sentence earns its place with high information density.

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?

Given the tool's moderate complexity (3 params, no output schema, no annotations), the description is comprehensive. It covers selection criteria, sibling differentiation, and parameter prerequisites. Could marginally improve by indicating success/failure indicators or timeout behavior, but otherwise complete.

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 100%, establishing baseline documentation for all three parameters. The description adds crucial semantic context not in the schema: the requirement to use a 'FRESH safari_snapshot' when using the 'ref' parameter due to expiration behavior. This operational constraint is essential for correct invocation.

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?

Explicitly states the mechanism ('character-by-character with realistic key events') and target resource (text input fields). Clearly distinguishes from siblings by contrasting with safari_fill (framework-native APIs) and safari_replace_editor (code editors).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Provides explicit 'Best for' guidance (search boxes, chat inputs, autocomplete fields) and named alternatives for incompatible scenarios ('use safari_fill instead' for rich text, 'use safari_replace_editor' for code editors). Includes prerequisite instruction about taking a fresh snapshot when using refs.

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/achiya-automation/safari-mcp'

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