Skip to main content
Glama
construct2-mcp

construct2-mcp

by wjrosa

editor_dialog_set_text

Types text into a specified field of an open Construct 2 dialog by index, with 0 targeting the first field. Use it to fill dialog inputs during automated editor workflows.

Instructions

Type into a text field of an open dialog (by order, 0 = first).

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": {
      "value": "<value>"
    },
    "name": "editor_dialog_set_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidNo
valueYes
projectNo
field_indexNo
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?

With no annotations provided, the description carries the full behavioral burden for what is clearly a mutation/input tool. It does not say whether existing text is replaced or appended, whether focus is moved, whether dialog events fire, or what happens if the dialog title or index does not match — all critical for an agent invoking a text-entry action.

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 short sentence, front-loaded with the verb and resource, with no filler. It is efficient, though the terseness contributes to the semantic gaps noted elsewhere.

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 five-parameter, unannotated, no-output-schema mutation tool, the definition is far too thin: three parameters are unexplained and behavioral effects are unstated. An agent could not reliably determine dialog targeting or text-replacement semantics from this description alone.

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 description coverage is 0% across five parameters, so the description must compensate. It only explains field_index semantics ('by order, 0 = first') and implies value; pid, project, and dialog_title — including how a dialog is matched — are entirely undocumented in both schema and description.

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?

States a specific verb and target: 'Type into a text field of an open dialog', which is distinct from the sibling editor_dialog_click (clicking) and editor_send_keys (key sending). It does not explicitly name an alternative tool, so it falls short of 5, but the action and resource are unambiguous.

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?

The phrase 'of an open dialog' implies the precondition that a dialog must already be open, and '(by order, 0 = first)' hints at targeting. There is no explicit when-to-use vs when-not guidance, no mention of alternatives such as editor_send_keys or editor_ui_act for non-dialog input, and no statement about failure behavior when no dialog is open.

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