Skip to main content
Glama
tmustier

codex-computer-use-mcp

by tmustier

click

Click a UI element in a desktop app using its index or pixel coordinates from a screenshot, with options for click count and mouse button.

Instructions

Click an element by index or pixel coordinates from screenshot

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNoX coordinate in screenshot pixel coordinates
yNoY coordinate in screenshot pixel coordinates
appYesApp name, full app path, or unambiguous bundle identifier
click_countNoNumber of clicks. Defaults to 1
mouse_buttonNoMouse button to click. Defaults to left.
element_indexNoElement index to click

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed4 schema fields changedv0.5.0
    • addedInput schema / $defs
      Added value: +{
      +  "__schema0": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "type": "boolean"
      +      },
      +      {
      +        "type": "null"
      +      },
      +      {
      +        "items": {
      +          "$ref": "#/$defs/__schema0"
      +        },
      +        "type": "array"
      +      },
      +      {
      +        "additionalProperties": {
      +          "$ref": "#/$defs/__schema0"
      +        },
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      }
      +    ]
      +  }
      +}
    • changedInput schema / additionalProperties
      Previous value: -falseNew value: +{
      +  "$ref": "#/$defs/__schema0"
      +}
    • addedInput schema / properties / click_count / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / click_count / minimum
      Added value: +-9007199254740991
  2. Addedv0.3.0

TDQS

B3.2/5.0
Behavior2/5

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

All annotations are false, so the description carries full behavioral burden. It only states the action and the targeting mechanism and does not disclose side effects, preconditions, whether the click waits for app response, or what happens if an attribute is stale. It relies entirely on the literal meaning of 'click'.

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 a single concise sentence that introduces the verb and the two key selection modes. No filler, no separate preamble, and no length value. It is perfectly front-loaded and easy to read.

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?

With 6 parameters, no annotation hints, and no output schema, the description is too thin. It doesn't address the required app context, the freshness of the screenshot coordinates/element index, or what the tool returns (e.g., success or updated screenshot). An agent needs more context to invoke click correctly in real use.

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 100%, so every parameter is defined in the schema. The description's phrase 'by index or pixel coordinates' adds a high-level grouping of element_index and x/y but adds no meaning beyond the schema, and click_count, app, and mouse_button are left entirely to the schema.

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 uses the specific verb 'click' and names the resource 'an element', then clarifies two targeting modes: by index or by pixel coordinates from a screenshot. This clearly separates it from sibling tools like scroll, type_text, and press_key.

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?

There is no guidance on when to prefer click over similar actions such as perform_secondary_action or press_key, nor when coordinate-based vs index-based targeting is appropriate. The agent is left to infer all usage decisions from the name and one-line description.

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

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/tmustier/codex-computer-use-mcp'

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