Skip to main content
Glama
MCP SAP GUI Server

MCP SAP GUI Server

by kts982

Sap Double Click Tree Node

sap_double_click_tree_node

Double-clicks a SAP GUI tree node to open details or drill down, selecting the node first and warning if the tree ignores double-clicks; re-read the tree when node keys change.

Instructions

Double-click a node in a tree control (often opens details or drills down).

Selects the node first, as a mouse double-click does. A tree that reacts only to item double-clicks (SM34 view clusters) gets one on the node's text (sent_as: item_double_click); a warning says when the tree reacts to no double-click at all. node_keys_changed=true means the tree numbered its nodes anew: read it again before the next tree call.

It does not run an SPRO activity: use sap_click_tree_link on the execute column (typically column '2').

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": {
      "tree_id": "<tree_id>",
      "node_key": "<node_key>"
    },
    "name": "sap_double_click_tree_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
tree_idYes
node_keyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description adds substantial behavior the agent cannot get elsewhere: the node is selected first, SM34-style trees receive an item_double_click on the node's text, a warning is emitted when the tree reacts to no double-click, and node numbering may change after the call. It also flags the side effect that node_key values can be invalidated, which is exactly the kind of mutation consequence an agent needs to plan around.

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 action and outcome are front-loaded in the first sentence, followed by the mechanism, the caveat, and the alternative in a logical order. Some phrasing is slightly indirect ('a tree that reacts only to item double-clicks (SM34 view clusters) gets one on the node's text') but no sentence is filler. Minor tightening would earn a 5.

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?

An output schema exists, so the description is not obligated to explain return values, and it still surfaces the one output field that drives follow-up behavior (node_keys_changed). Combined with the routing to sap_click_tree_link, an agent has enough to invoke this correctly in most cases. The remaining gap is identifier provenance for tree_id and node_key, which no structured field covers.

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 0%, so both tree_id and node_key are undocumented in the schema and the description carries the full burden. The description does add real meaning for node_key by warning that keys may be renumbered (node_keys_changed=true) and must be re-read, but it never says where tree_id comes from or what format either identifier takes. That leaves the agent guessing at identifier provenance despite a useful hint on key volatility.

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 opens with a specific verb+resource ('Double-click a node in a tree control') and immediately scopes the outcome ('often opens details or drills down'). It also distinguishes itself from siblings by naming sap_click_tree_link and by describing the node-vs-item distinction, so an agent can tell it apart from sap_double_click_tree_item or sap_select_tree_node without opening other schemas.

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 gives an explicit routing rule: for SPRO activity execution use sap_click_tree_link on the execute column (typically '2') instead of this tool. It also indicates the scenario (SM34 view clusters) where the item_double_click fallback fires, which helps the agent predict behavior before calling. It stops short of stating prerequisites (e.g., that the node must be visible/expanded) or a full when-not-to-use list.

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