Skip to main content
Glama
MCP SAP GUI Server

MCP SAP GUI Server

by kts982

Sap Modify Cell

sap_modify_cell

Modifies the value of an editable cell in an SAP ALV grid or table control. Check cell editability first with sap_get_cell_info before changing values.

Instructions

Modify the value of a cell in an ALV grid or table control.

Only works on editable cells. Use sap_get_cell_info to check if a cell is changeable before attempting to modify it.

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>",
      "row": "<row>",
      "column": "<column>",
      "value": "<value>"
    },
    "name": "sap_modify_cell"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowYes
valueYes
columnYes
grid_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is supplied. The description adds the editable-cell constraint, which is real behavioral value, but says nothing about what happens on a non-editable cell, whether the change is committed to the backend, or whether a save/confirmation step follows.

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, front-loaded with the action and followed by the precondition and the verification tool. No filler and nothing repeated from the schema or annotations.

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 return values need not be explained, and safety is covered by annotations. However, with 0% parameter documentation and no statement about post-write behavior (commit, save prompt, error on read-only cell), the definition leaves gaps an agent would likely hit on a first call.

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%, so the description carries the full burden for four required parameters and provides none of it. It does not say what grid_id refers to, whether row is zero- or one-based, whether column is a name or identifier, or what `value` must contain to be accepted.

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 and resource: modify a cell value in an ALV grid or table control. The mention of the two container types distinguishes it from field-level siblings like sap_set_field and sap_set_textedit, though those siblings are never named explicitly.

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 clear precondition ('Only works on editable cells') and routes the agent to sap_get_cell_info as a verification step before calling. It stops short of contrasting with sap_set_field or sap_set_batch_fields for bulk edits, so the routing is partial rather than exhaustive.

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