Skip to main content
Glama
kts982

MCP SAP GUI Server

by kts982

sap_read_table

Read-only

Read table rows from SAP GUI screens, auto-detecting ALV grid or TableControl. Supports pagination, schema discovery, and specific column selection.

Instructions

Read rows from a table on the current screen — ALV grid (report/list output) or TableControl (SM30 maintenance view, customizing screens).

Auto-detects the table type. The response includes a 'table_type' field ('GuiGridView' for ALV or 'GuiTableControl') so you know which type-specific tools to use next (e.g., sap_get_alv_toolbar for ALV, sap_scroll_table_control for TableControl).

Use columns_only=true for schema discovery (returns column metadata only, no data). Use columns to fetch only specific columns (CSV). Use start_row to paginate through large tables.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
columnsNo
max_rowsNo
table_idYes
start_rowNo
columns_onlyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already indicate readOnlyHint=true and destructiveHint=false. The description adds valuable context: auto-detection of table type, inclusion of 'table_type' in response, and pagination via start_row. It could mention default max_rows but the schema provides that default.

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 concise, well-structured into three clear paragraphs: purpose, auto-detection/response, and parameter usage. No redundant or unnecessary information.

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?

For a tool with 5 parameters, 0% schema coverage, and no output schema details shown, the description covers essential usage and response content (table_type). It assumes knowledge of table_id but otherwise provides sufficient context for an agent to use the tool effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description explains the purpose of columns_only (schema discovery), columns (specific columns), and start_row (pagination). It does not explain how to identify table_id, which is the only required parameter, nor max_rows. Given 0% schema coverage, this adds meaning to 3 of 5 parameters.

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?

The description clearly states 'Read rows from a table on the current screen' and specifies the two table types (ALV grid or TableControl). It distinguishes from siblings by mentioning type-specific tools like sap_get_alv_toolbar and sap_scroll_table_control, but does not explicitly differentiate from other read tools such as sap_read_field.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description provides detailed guidance on parameter usage (columns_only for schema discovery, columns for specific columns, start_row for pagination) and mentions that the response includes a 'table_type' field to guide subsequent tool choice. However, it lacks explicit guidance on when not to use this tool or alternatives like sap_read_field.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kts982/mcp-sap-gui'

If you have feedback or need assistance with the MCP directory API, please join our Discord server