Skip to main content
Glama

RfcReadTable

Read-only

Read rows from one SAP table over RFC by selecting needed fields and filtering with Open SQL WHERE clauses; use maxRows and skipRows to page results.

Instructions

Read rows of one SAP table over RFC. Name the fields you need (a row is limited to 512 bytes in total) and narrow with "where" in Open SQL syntax, for example MANDT = '100' AND MTART = 'FERT'. At most 200 rows per call; page with skipRows. HR, payroll, password and credential tables are never readable.

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": {
      "table": "<table>",
      "fields": "<fields>"
    },
    "name": "RfcReadTable"
  }
}

Input Schema

NameRequiredDescriptionDefault
tableYes
whereNo
fieldsYes
maxRowsNo
skipRowsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond readOnlyHint=true, the description discloses the constraints an agent actually needs: a 512-byte total row width, a 200-row ceiling per call, skipRows-based paging, and a hard exclusion list of sensitive tables. These are non-obvious behavioral facts that prevent failed or policy-violating calls.

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 tight sentences with the core action first, then limits, then exclusions; the inline Open SQL example earns its space by removing syntax ambiguity. Nothing is padded.

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 five-parameter read tool with no output schema, the description supplies the operational limits, filtering syntax and access restrictions an agent needs before calling. It stops short of describing the shape of returned rows (flat field/value mapping) or error behavior on invalid table or field names.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage the description carries the full burden, and it does address all five parameters: table (one table), fields (name what you need), where (Open SQL syntax with a concrete example), maxRows (200-row cap) and skipRows (paging). The gap is that it does not clarify whether the 200-row limit overrides the much larger maxRows maximum in the schema, nor what table identifiers look like.

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?

"Read rows of one SAP table over RFC" gives a specific verb (read) plus resource (rows of one SAP table) and a transport qualifier (RFC). It is clearly distinct in kind from RfcCall and RfcDescribeFunction, though it never names those siblings to state the boundary 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?

The description establishes the usage context well: pick the fields you need, narrow with a "where" clause, page with skipRows, and it rules out HR, payroll, password and credential tables. What it lacks is an explicit alternative route (e.g., when to prefer calling a function module via RfcCall instead of reading the table directly).

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

Deploy Server

Other Tools