Skip to main content
Glama
kts982

MCP SAP GUI Server

by kts982

sap_get_cell_info

Read-only

Retrieve detailed metadata for a specific ALV grid cell, including value, editability, cell type, state, help, color, and tooltip. Not for GuiTableControl.

Instructions

Get detailed cell metadata from an ALV grid.

Returns value, changeable, cell_type (Normal, CheckBox, ValueList, Button, ...), state (Normal, Error, Warning, Info: why a cell was rejected), f4_help, hotspot, color, tooltip, max_length; plus checked for a checkbox and list_box_count (entries) for a dropdown cell. Does NOT work on GuiTableControl.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowYes
columnYes
grid_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description goes beyond them by explaining the meaning of the returned 'state' field (why a cell was rejected) and the supported control type, which is genuinely useful behavioral context.

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 purpose, then a compact enumeration of return fields, closing with the control-type limitation. The field list is dense but each entry adds information; nothing reads as padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 needn't fully restate return values, and the GuiTableControl exclusion is a useful caveat. However, the complete absence of parameter semantics for a three-required-parameter tool leaves a significant gap for correct invocation.

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 the description says nothing about grid_id, row, or column — not their format, indexing base, accepted column identifiers, or validity constraints. With all three required parameters undocumented in both schema and description, an agent has to guess how to address a cell.

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 ('Get detailed cell metadata from an ALV grid') and enumerates the metadata fields, making it distinguishable from siblings like sap_get_current_cell or sap_get_table_control_row_info. The explicit exclusion 'Does NOT work on GuiTableControl' further pins down the target control type.

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?

Offers one negative constraint ('Does NOT work on GuiTableControl'), which is real routing value, but gives no positive when-to-use statement and never names the alternative tool to use for GuiTableControl. Usage is left largely to inference.

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