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 a SAP GUI tree node item, including the execute icon column in SPRO/customizing trees to run an activity. Use sap_read_tree to find link-type items.

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. Use sap_read_tree to see which columns have link-type items.

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

A4/5.0
Behavior4/5

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

Annotations already say readOnlyHint=false and destructiveHint=false. The description adds real behavioral context beyond that: link-type items in SPRO trees trigger an activity, and the correct column is found via sap_read_tree. It doesn't say what happens after the click (popup, screen change), which keeps it from 5.

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?

Three short sentences: action first, execution scenario second, discovery pointer third. No filler and the key constraint is front-loaded.

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 return values needn't be described, and annotations cover the safety profile. The remaining gap is parameter meaning for tree_id/node_key and the post-click side effects, which are partially mitigated by the pointer to sap_read_tree.

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 must carry the load. It does explain item_name semantics (execute icon column, typically '2') and that valid columns are discoverable via sap_read_tree, but tree_id and node_key formats/origins are never explained, leaving two of three parameters undocumented.

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+resource: clicking a hyperlink item inside a tree node. It sits clearly apart from siblings like sap_select_tree_node or sap_expand_tree_node, though it doesn't explicitly contrast with sap_double_click_tree_item, which is the nearest neighbor.

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 a concrete usage scenario (SPRO/customizing trees, click the execute icon column) and names the prerequisite discovery step via sap_read_tree. It lacks an explicit 'do not use when...' clause, so it falls short of 5.

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