Skip to main content
Glama
MCP SAP GUI Server

MCP SAP GUI Server

by kts982

Sap Press Column Header

sap_press_column_header

Clicks an ALV grid column header in SAP GUI to trigger the application's header-click behavior; for sorting or filtering, select columns and use grid toolbar buttons instead.

Instructions

Send a click on a column header of an ALV grid to the application. Does NOT work on GuiTableControl.

This does not select the column and does not sort by it: select it with sap_select_alv_columns, then press the grid's sort, total or filter function with sap_press_alv_toolbar_button. Only a grid whose application reacts to header clicks does something here.

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": {
      "grid_id": "<grid_id>",
      "column": "<column>"
    },
    "name": "sap_press_column_header"
  }
}

Input Schema

NameRequiredDescriptionDefault
columnYes
grid_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false, so the description usefully adds that the click neither selects nor sorts and is a no-op unless the application reacts to header clicks. That is real behavioral context beyond the annotation pair. It stops short of saying what the response contains or whether a no-op raises an error, but the key caveats are 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?

The limitation is front-loaded in the first sentence, followed by the correct alternative workflow, then the failure condition. Every sentence adds a distinct constraint. Slight redundancy in repeating the not-select/not-sort point across two clauses keeps it from being maximally tight.

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 need not explain return values, and it covers the critical domain behavior: target control type, non-effects, and the follow-up tool sequence. The remaining gap is parameter value format, which matters for a two-required-param tool with zero schema descriptions.

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% and neither parameter is documented in the schema, so the description carries the full burden. It only implies the meaning of 'grid_id' and 'column' via the phrase 'column header of an ALV grid', offering no format guidance such as whether grid_id is an index or identifier, or whether column takes a technical name, header label, or index. An agent would have to guess the accepted value form.

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?

States a specific verb and resource: 'Send a click on a column header of an ALV grid to the application.' It immediately scopes the target (ALV grid column header) and rules out a look-alike ('Does NOT work on GuiTableControl'), so an agent can distinguish it from sap_select_alv_columns or sap_press_alv_toolbar_button without opening sibling schemas.

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?

Explicit when-not guidance (GuiTableControl, grids whose application ignores header clicks) and explicit alternatives with the sequence that selects and sorts correctly: 'select it with sap_select_alv_columns, then press the grid's sort, total or filter function with sap_press_alv_toolbar_button.' The agent is told what the tool is not for and where to go instead.

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