Skip to main content
Glama
stevenayl

MCP Safari Server

type_text

Enter text into a specified input element on a webpage using a CSS selector. Optionally clear the input before typing. Part of the MCP Safari Server for browser automation and testing on macOS.

Instructions

Type text into an input element

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clearFirstNoClear the input before typing (default: true)
selectorYesCSS selector for the input element
textYesText to type into the element
Behavior2/5

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

With no annotations provided, the description carries full burden but offers minimal behavioral disclosure. It doesn't mention error conditions (e.g., if selector doesn't exist), timing considerations (e.g., waits for element), side effects, or what happens when 'clearFirst' is false. The phrase 'type text' implies interaction but lacks operational details.

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?

The description is extremely concise at just 5 words with zero wasted language. It's front-loaded with the core action and target, making it immediately understandable despite its brevity.

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

Completeness2/5

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

For a browser automation tool with 3 parameters and no annotations or output schema, the description is insufficient. It doesn't cover important context like error handling, timing behavior, visual feedback, or how this integrates with the broader automation workflow alongside sibling tools.

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 description coverage is 100%, so the schema already documents all three parameters thoroughly. The description adds no additional parameter semantics beyond what's in the schema - it doesn't explain parameter interactions, provide examples, or clarify edge cases like special characters in 'text'.

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 clearly states the action ('type text') and target ('into an input element'), providing a specific verb+resource combination. However, it doesn't distinguish this tool from potential alternatives like 'execute_script' for text input or clarify its specific use case versus other text-related operations.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'select_option' for dropdowns or 'execute_script' for complex input scenarios, nor does it specify prerequisites like requiring the element to be visible or interactable.

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/stevenayl/mcp-safari-server'

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