Skip to main content
Glama
kts982

MCP SAP GUI Server

by kts982

sap_set_field

Set a value into an SAP GUI input field or dropdown, selecting by key or text. For multiple fields, use batch setting instead.

Instructions

Set (type/enter) a value into an input field on the current SAP screen.

Works on GuiTextField and GuiCTextField input fields, and on dropdowns (GuiComboBox, ID prefix cmb): there value picks the entry by its key or its text, and the response reports the key and text selected. For filling in multiple fields of a form at once, use sap_set_batch_fields instead. After setting a field, you may need to press Enter to trigger validation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYes
field_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare the safety profile (readOnlyHint=false, destructiveHint=false); the description adds real behavioral context beyond that: key-vs-text entry resolution for dropdowns and the post-edit Enter/validation step. It stops short of stating failure modes or what happens to an invalid key/text, but the added workflow detail is genuine.

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?

Purpose leads, supported cases and the alternative follow in a logical order, and every sentence carries information. Slightly dense in the dropdown sentence, but no filler.

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 two-parameter mutation tool with annotations covering safety and an output schema covering return values, the description supplies the missing pieces: supported widget types, dropdown value semantics, and the follow-up Enter step. Only the field_id format and combobox-sibling routing are unaddressed.

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 description coverage is 0%, so the description must carry the load. It does clarify that 'value' is interpreted as a key or text on dropdowns, but 'field_id' is left unexplained beyond the incidental 'ID prefix cmb' note, and no general format for field identifiers is given.

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 precise verb and resource ('Set (type/enter) a value into an input field on the current SAP screen') and names the sibling it is not (sap_set_batch_fields). The supported field classes (GuiTextField, GuiCTextField, GuiComboBox with 'cmb' prefix) further disambiguate it from generic setter siblings.

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?

Explicitly routes multi-field form filling to sap_set_batch_fields and advises pressing Enter after setting to trigger validation. However, it does not route dropdown selection to the sibling sap_select_combobox_entry, even though it advertises dropdown support, leaving a potential overlap unresolved.

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