Skip to main content
Glama

interact_with_element

Perform actions on browser page elements: click, type, hover, or select options. Specify a CSS selector and optional value for the action.

Instructions

[LEGACY] Interact with a page element. Use interact_with_page instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesBrowser session ID to interact with. Session must already exist
actionYesType of interaction: 'click' for clicking elements, 'type' for entering text, 'hover' for mouse hover, 'select' for dropdown selection
selectorYesCSS selector for the target element. Must uniquely identify the element to interact with
valueNoValue to use for the action. For 'type': text to enter, for 'select': option value(s) to select. Not used for 'click' or 'hover'
Behavior2/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It only notes legacy status and suggests an alternative, but does not describe any behavioral traits such as side effects, error conditions, or limitations of the legacy tool.

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: a single sentence with a clear deprecation notice and alternative recommendation. 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?

As a legacy tool with a recommended replacement, the description provides minimal context. It does not explain return values or behavior, but the schema is detailed. Given the legacy status, it is adequate but not fully informative for an agent that might still need to use it.

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?

The input schema covers 100% of parameters with descriptions, so the baseline is 3. The tool description itself adds no additional parameter information, but the schema is sufficient.

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?

The description clearly states the tool's purpose: 'Interact with a page element.' It immediately marks itself as '[LEGACY]' and directs users to a sibling tool, providing clear differentiation.

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

Usage Guidelines4/5

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

The description explicitly tells users to use 'interact_with_page instead,' providing a clear alternative and when-not-to-use guidance. It lacks specific when-to-use scenarios beyond legacy, but the recommendation is strong.

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/ZachHandley/ZMCPTools'

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