Skip to main content
Glama
sap-mcp

sap-mcp

by abap-studio

update_table_record

Update exactly one record in a customer Z* or Y* SAP table by matching key fields, with explicit confirmation and a writable SAP profile required.

Instructions

Update exactly one record in a customer Z*/Y* table using keyFields as the WHERE condition. Requires confirm:true and a writable SAP profile.

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": {
      "tableName": "<tableName>",
      "keyFields": "<keyFields>",
      "values": "<values>",
      "confirm": "<confirm>"
    },
    "name": "update_table_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesYesFields and replacement values; key fields cannot be changed
confirmYesExplicitly confirm this SAP database update
keyFieldsYesFields identifying exactly one row; normally the full primary key
tableNameYesCustomer table name beginning with Z or Y, e.g. ZFM_ABS_0030

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add real behavioral context beyond the schema — the confirmation gate and the requirement for a writable SAP profile — but it omits what happens on a zero-match or multi-match key, whether changes are reversible or transport-locked, and how affected rows are reported.

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?

Two tightly written sentences with zero filler. The row scope is front-loaded and the eligibility/confirmation constraints follow immediately, so the agent reads the most important constraint first.

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 four-required-parameter nested-object write tool with no annotations and no output schema, the description covers targeting, table eligibility, and the confirmation gate adequately. It stops short of describing failure modes and the effect of a non-matching key, which an agent would want before invoking a destructive operation.

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 100%, so baseline is 3. The description restates that keyFields acts as the WHERE condition and that tableName must be a customer table, which largely duplicates the schema's own parameter descriptions rather than adding new semantics such as key-field format or partial-key behavior.

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 (update one record in a customer Z*/Y* table) and the mechanism used to target it (keyFields as the WHERE condition). Scope is unambiguous: 'exactly one record'. It does not explicitly name a sibling such as insert_table_record or update_table, so differentiation is implied by the update verb rather than stated.

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 clear preconditions for use: the table must be a customer Z*/Y* table, confirm must be true, and the caller needs a writable SAP profile. It does not spell out when-not-to-use (e.g. inserting new rows, bulk updates, or non-customer tables beyond the naming rule), but the surrounding context is sufficient for correct selection.

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