Skip to main content
Glama
MCP SAP GUI Server

MCP SAP GUI Server

by kts982

Sap Click Tree Link

sap_click_tree_link

Clicks a hyperlink in an SAP tree node item to run SPRO/customizing activities or open documentation, using tree ID, node key, and item column.

Instructions

Click a hyperlink in a tree node item.

For SPRO/customizing trees, click on the execute icon column (typically item_name='2') to run an activity; '1' opens its documentation. Use sap_read_tree to see which columns have link-type items. node_keys_changed=true means the tree numbered its nodes anew.

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>",
      "item_name": "<item_name>"
    },
    "name": "sap_click_tree_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
tree_idYes
node_keyYes
item_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare non-read-only and non-destructive; the description adds a genuine side-effect disclosure that the tree may renumber its nodes (node_keys_changed=true), which annotations cannot convey. It does not say whether clicking navigates to a new screen or opens a popup, but the key post-condition is covered.

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?

Front-loaded with the core action, then scoped by use case, then the side-effect note. Four short sentences with no filler; the line breaks and quoting add slight visual noise but no wasted content.

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?

With an output schema present, return values need not be explained, and the description covers the non-obvious parts: which column to target and the renumbering caveat. Missing only how tree_id/node_key are obtained (presumably from sap_read_tree) and what a click produces on screen.

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 the description carries the burden. It meaningfully explains item_name values ('1' vs '2' columns) but leaves tree_id and node_key entirely undefined beyond their names, so it only partially compensates for the gap.

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?

Opens with a specific verb+resource: 'Click a hyperlink in a tree node item.' That is distinct from sap_double_click_tree_item / sap_double_click_tree_node, though the description never explicitly contrasts with them, so differentiation is left partly to inference.

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?

Gives concrete when-to guidance for SPRO/customizing trees ('item_name=2' to run an activity, '1' for documentation) and routes the agent to sap_read_tree to discover which columns are link-type. It stops short of stating when this tool should not be used instead of a double-click variant.

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