Skip to main content
Glama

click_mark

Activate on-screen elements by their mark number from a screenshot, using JavaScript for web content and accessibility for native controls — no coordinate guessing.

Instructions

Activate an actionable element by the mark NUMBER shown in the most recent screenshot(marks=true) — the reliable way to click without guessing coordinates. Always background, no cursor movement: web-page content in a scriptable browser (Safari, Chrome, Arc, Edge, Brave, …) is clicked through the page's OWN JavaScript engine (an Accessibility press is a silent no-op on web content), native controls through the Accessibility tree; if neither applies it falls back to a click at the element's center. Numbers go stale when the UI changes, so take a fresh screenshot(marks=true) right before calling this. If the number is unknown, re-shoot with marks=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numberYesThe mark number [N] of the element to activate, as listed by the most recent `screenshot(marks=true)`.
backgroundNoDeliver the coordinate-click fallback in the background to the captured window's process (native apps only). The AX action is always background; this only affects the fallback. Default false = foreground.
Behavior5/5

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

No annotations provided, so description fully carries burden. Explains execution details: uses JS engine for web, AX tree for native, fallback to center click. Clarifies background behavior and staleness. No contradiction with parameters.

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?

Well-structured with key info front-loaded. Slightly wordy but every sentence adds value. Could be trimmed slightly but still effective.

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

Completeness5/5

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

Covers all behavioral aspects: how click is performed, background option, staleness handling, fallback. No output schema needed. Agent has sufficient info to use correctly.

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%, but description adds significant context: marks come from screenshot(marks=true), staleness warning, and explanation of background parameter's effect on fallback.

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?

Clearly states it activates an element by mark number from a screenshot, contrasting with coordinate guessing. Differentiates from sibling click tools by using marks.

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?

Tells when to use (with valid mark), when mark goes stale (take fresh screenshot), and what to do if number unknown (re-shoot). Does not explicitly name alternative tools but context implies superiority over coordinate clicks.

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/bigduu/Nova'

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