Skip to main content
Glama

MyFitnessPal 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 (elements and text in view). 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
xNoScreenshot x, instead of element.
yNoScreenshot y.
appNoLeave out. Only an app slug cotlet_app_guide names.
tabNoTab id of the last answer.
buttonNoright opens the page's own context menu. Default: left.
dialogNoA native dialog this step opens. Default: accept an alert.
doubleNoDouble-click.
elementNoElement number from the last answer.
dialog_textNoPrompt dialog text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / app / description
      Previous value: -"Leave it out: the step runs in the user's web browser. Only when cotlet_app_guide names an app's own Cloud Browser, that app's slug, e.g. milanote."New value: +"Leave out. Only an app slug cotlet_app_guide names."
    • changedInput schema / properties / dialog / description
      Previous value: -"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."New value: +"A native dialog this step opens. Default: accept an alert."
    • changedInput schema / properties / dialog_text / description
      Previous value: -"Text for a prompt dialog this step opens; implies accept."New value: +"Prompt dialog text."
    • changedInput schema / properties / element / description
      Previous value: -"The element's number from the last read or step answer."New value: +"Element number from the last answer."
    • changedInput schema / properties / tab / description
      Previous value: -"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."New value: +"Tab id of the last answer."
    • changedInput schema / properties / x / description
      Previous value: -"Instead of `element`: pixels from the left of the screenshot."New value: +"Screenshot x, instead of element."
    • changedInput schema / properties / y / description
      Previous value: -"With `x`: pixels from the top of the screenshot."New value: +"Screenshot y."
  2. 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"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already flag the tool as non-read-only, destructive, and open-world, and the description adds real context on top: it returns the page state after the click ('elements and text in view'), reports no-op outcomes ('Says when nothing changed'), and explains new-tab and refusal semantics. The refusal policy for payment, sign-in, and account pages is exactly the kind of behavior an agent cannot infer from annotations.

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?

A single dense but well-ordered sentence leads with the action and targeting, then modifiers, then outcome reporting, then the safety constraint. Every clause carries information and there is no filler.

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?

For a nine-parameter tool with no output schema, the description covers the primary path, the return shape, and the safety boundary well. It falls short on the dialog-related parameters (`dialog`, `dialog_text`) and on `tab`/`app` scoping, which are left entirely to the schema even though dialog handling is a non-obvious side effect of a 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 coverage is 100%, so the baseline is 3; the description mainly restates what the schema already documents (`element`, `x`/`y`, `double`, `button: right`). The one useful addition is clarifying that element and coordinate targeting are alternatives, but parameters like `dialog`, `dialog_text`, `tab`, and `app` receive no treatment in the description.

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 gives a concrete verb plus both targeting modes ('Clicks element `element`, or point `x`, `y` of the screenshot') and names the modifiers that change the action (`double`, `button: right`). An agent can distinguish this from `cotlet_browser_hover`, `cotlet_browser_press`, or `cotlet_browser_drag` without inspecting 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 Guidelines3/5

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

Usage is implied rather than stated: element numbers come 'from the last answer' and coordinates from 'the screenshot', which tells the agent what inputs to feed in. However, there is no explicit routing to alternatives (e.g., when to prefer `press` for keyboard activation or `fill_form` for form entry), and no prerequisite guidance beyond the refusal note.

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.

Resources