Skip to main content
Glama
sap-mcp

sap-mcp

by abap-studio

insert_table_record

Creates one new row in a customer Z*/Y* SAP table through ABAP Open SQL, requiring explicit confirmation and a writable SAP profile.

Instructions

Insert one record into a customer Z*/Y* table through ABAP Open SQL. 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>",
      "values": "<values>",
      "confirm": "<confirm>"
    },
    "name": "insert_table_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesYesField names mapped to scalar values for the new row
confirmYesExplicitly confirm this SAP database insert
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.7/5.0
Behavior3/5

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

With no annotations supplied, the description does disclose two meaningful behavioral facts: a mandatory confirm:true gate and the authorization requirement of a writable SAP profile. It stays silent on commit/rollback semantics, what happens on duplicate keys or locking/transport constraints, and whether the write is reversible — relevant gaps for a destructive mutation with zero annotation coverage.

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 short sentences, front-loaded with the operation and scope, then the prerequisites. Every clause carries information an agent needs and nothing is padded.

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?

For a 3-parameter mutation with a nested values object, no annotations, and no output schema, the description covers scope and preconditions but omits the outcome side: what a success response looks like, how errors (duplicate key, locked table, invalid field) surface, and whether a transport is involved. It is callable as written but leaves the agent guessing about failure handling.

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 coverage is 100%, so tableName (Z*/Y* prefix), values (field-to-scalar map), and confirm (const true) are already documented in the schema. The description echoes the gating and scoping rules without adding syntax, type, or nested-value guidance beyond the structured fields, so the baseline of 3 applies.

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 (insert), a precise unit of work (one record), and a resource with an explicit scope restriction (customer Z*/Y* tables via ABAP Open SQL). The verb naturally separates it from update_table_record and query_table, but no sibling is named, so differentiation is implied rather than explicit.

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 usable preconditions: the target must be a customer Z*/Y* table, confirm must be true, and a writable SAP profile is required. It stops short of stating when an agent should instead use update_table_record (existing rows) or query_table (verification), so no exclusions are spelled out.

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