Skip to main content
Glama
construct2-mcp

construct2-mcp

by wjrosa

editor_dialog_click

Clicks a specified button (OK, Cancel, Yes, No, Next) in an open Construct 2 dialog to confirm, dismiss, or advance prompts during automated editor workflows.

Instructions

Press a button (OK, Cancel, Yes, No, Next, ...) in an open Construct 2 dialog.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "button": "<button>"
    },
    "name": "editor_dialog_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidNo
buttonYes
projectNo
dialog_titleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations, so the description carries the full burden. 'Press' implies a state-changing action on a live UI, but the description doesn't say what the button does (accept/discard changes, commit data), what happens if no dialog is open, or whether the dialog must still be present when called. Permissions, synchrony, and failure behavior are unstated.

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?

A single tight sentence with the verb and resource front-loaded; nothing is wasted. It's efficient but perhaps too terse for a tool with three unlabeled targeting parameters.

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?

For a 4-parameter UI-automation tool with no annotations, no output schema, and 0% schema coverage, the description should cover prerequisites (dialog must be open), how the dialog is identified, and failure modes. None of that is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and none of the 4 parameters are explained in the description. The button examples help marginally with the required 'button' param, but 'pid', 'project', and 'dialog_title' (likely dialog disambiguation) are entirely undocumented, leaving an agent to guess how to target the right dialog.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Press a button (OK, Cancel, Yes, No, Next, ...) in an open Construct 2 dialog" states a specific verb (press) and resource (dialog button), with concrete button examples. It's distinguishable from editor_dialog_set_text, though it doesn't explicitly name that sibling as the text-entry alternative.

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?

Implied usage only: it must be an already-open dialog. No explicit when-to-use vs alternatives (set_text for typing, editor_dialogs for discovery, editor_close for dismissing), and no stated prerequisite that a dialog be open or how to find one.

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