Skip to main content
Glama

Substack MCP Server and API by Cotlet

Click on the page

cotlet_browser_click
Destructive

Clicks element element, or point x, y of the screenshot; double double-clicks, button: right right-clicks. Answers the page after it: the elements and text in view, with the same numbers. Says when nothing changed. A link that would open a new tab opens in this one. Buttons that pay or buy, and sign-in and account pages, are refused.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cotlet_browser_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNoInstead of `element`: pixels from the left of the screenshot.
yNoWith `x`: pixels from the top of the screenshot.
tabNoThe Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.
buttonNoright opens the page's own context menu. Default: left.
dialogNoHow to answer a native dialog (confirm, prompt, 'leave this page?') this step opens: accept presses OK, dismiss presses Cancel. Default: OK for an alert, Cancel for every other dialog.
doubleNoDouble-click.
elementNoThe element's number from the last read or step answer.
dialog_textNoText for a prompt dialog this step opens; implies accept.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / tab
      Added value: +{
      +  "description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / button
      Added value: +{
      +  "description": "right opens the page's own context menu. Default: left.",
      +  "enum": [
      +    "left",
      +    "right"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / element / description
      Previous value: -"The element's number in the element list of the current page."New value: +"The element's number from the last read or step answer."
    • changedInput schema / properties / x / description
      Previous value: -"Instead of `element`: pixels from the left of the screenshot (boards, canvases, maps)."New value: +"Instead of `element`: pixels from the left of the screenshot."
  3. Changed2 schema fields changed
    • addedInput schema / properties / dialog
      Added value: +{
      +  "description": "How to answer a native dialog (confirm, prompt, 'leave this page?') this step opens: accept presses OK, dismiss presses Cancel. Default: OK for an alert, Cancel for every other dialog.",
      +  "enum": [
      +    "accept",
      +    "dismiss"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / dialog_text
      Added value: +{
      +  "description": "Text for a prompt dialog this step opens; implies accept.",
      +  "maxLength": 1000,
      +  "type": "string"
      +}
  4. Changed4 schema fields changed
    • addedInput schema / properties / double
      Added value: +{
      +  "description": "Double-click.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / x
      Added value: +{
      +  "description": "Instead of `element`: pixels from the left of the screenshot (boards, canvases, maps).",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / y
      Added value: +{
      +  "description": "With `x`: pixels from the top of the screenshot.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "element"
      -]
  5. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, it discloses the post-action return (the page's elements and text with the same numbering), that it reports when nothing changed, and that new-tab links are redirected into this tab. It also adds a safety boundary not captured by destructiveHint=true: payment and account pages are refused outright.

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?

The core action and targets are front-loaded in the opening clause, and the four short sentences each carry distinct information (action, return, new-tab behavior, refusals). The telegraphic style ('`double` double-clicks') is dense but not wasteful.

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?

With eight parameters and no output schema, the description compensates well by explaining what comes back and how a no-op is reported. Minor gaps remain around failure modes such as an element number that no longer exists, which matter for a non-idempotent, destructive click.

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 each parameter is already documented in the schema, and the description largely restates the element/x/y/double/right-button mapping. It does add the notion that `element` numbers come from the previous answer, but the dialog and tab parameters 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 first clause gives a specific verb (clicks) and the exact targeting modes: element number or pixel coordinates, with `double` and `button: right` modifiers. An agent can distinguish this from siblings like press, hover, or drag without opening the schema.

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?

It establishes the conditions under which the step is a no-op (the tab guard returning tab_changed) and the explicit refusal cases (pay/buy buttons, sign-in and account pages), which is real when-to-use guidance. It does not name alternatives such as press or fill_form for non-click interactions, so sibling routing is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.