Skip to main content
Glama
Wraith MCP Server

Wraith MCP Server

by YogevKr

double_click

Triggers a native double-click on an indexed element or visible name so file rows and inline rename controls open or edit when two separate clicks fail.

Instructions

Double-click the element with the given index or visible name.

Use it for a control that opens or edits on a double click (a file row, an inline rename). Two separate click calls do not fire a dblclick.

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": {
      "index": "<index>"
    },
    "name": "double_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexYes
include_snapshotNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.29.0
    • addedInput schema / properties / index / anyOf
      Added value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / index / type
      Removed value: -"integer"
  2. Addedv0.21.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden; it usefully discloses that a double click fires a dblclick event that two separate clicks do not. However, it does not describe waiting/retry behavior, failure modes when the element is absent, or any side effects beyond the general 'opens or edits' use case.

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 two short paragraphs with the core action and usage condition front-loaded. Every sentence contributes either the operation, the intended use case, or the key dblclick distinction.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the main action is clear. Still, for a no-annotation UI automation tool, the definition leaves include_snapshot undocumented and omits operational details such as waiting for the element or handling a missing target.

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%, so the description must explain both parameters. It clarifies that the index argument may be an integer index or a visible name, which adds real meaning beyond the schema, but it says nothing about include_snapshot or its default effect on the result.

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 states a specific verb and resource — double-clicking an element identified by index or visible name — and immediately distinguishes the action from two ordinary clicks by naming the dblclick event. An agent can tell this apart from siblings like click and click_at 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 Guidelines5/5

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

It gives an explicit when-to-use condition: controls that open or edit on a double click, with concrete examples such as a file row or inline rename. It also explains the alternative failure mode of using two click calls, which prevents the agent from choosing click for this case.

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