Skip to main content
Glama

CheckTable

Validates ABAP database table (TABL) syntax from a saved version or supplied DDL source, helping catch errors before activation.

Instructions

[read-only] Checks the syntax of an ABAP database table (TABL) as stored or as the source given.

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_name": "<table_name>"
    },
    "name": "CheckTable"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNoVersion to check: 'active', 'inactive', or 'new'. Without `version` the active version is checked.
ddl_codeNoOptional: DDL source code to validate instead of the saved version.
table_nameYesTable name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv20.1.0
    • changedInput schema / properties / version / description
      Previous value: -"Version to check: 'active', 'inactive', or 'new'. Default: new."New value: +"Version to check: 'active', 'inactive', or 'new'. Without `version` the active version is checked."
  2. Changed1 schema field changedv16.0.0
    • changedInput schema / properties / table_name / description
      Previous value: -"Table name (e.g., ZMCP_MY_TABLE)."New value: +"Table name."
  3. Addedv6.5.1

TDQS

B3.4/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 disclose read-only status and the two validation modes, which is useful. However, it does not say whether the check has any side effects, what happens if ddl_code and version are supplied together, or what form the result (errors/warnings) takes despite there being no output schema.

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?

A single front-loaded sentence that leads with the read-only marker and then the action. Nothing is wasted, though the bracketed '[read-only]' tag is slightly unusual formatting that duplicates what an annotation would normally convey.

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 validation tool with no annotations and no output schema, the description covers what is checked and against which version, but leaves the return shape (syntax errors? boolean?) and failure conditions unexplained. It is minimally adequate rather than complete.

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 all three parameters are already documented in the schema, and the enum values for version are spelled out there. The description adds only the 'as stored or as the source given' framing that maps to version vs. ddl_code, which is a marginal gain. Baseline 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+resource pair: checking the syntax of an ABAP database table (TABL). The '(TABL)' qualifier and the 'as stored or as the source given' clause make the scope concrete enough to distinguish it from CheckDdl or CheckStructure. It stops short of naming a sibling it is not, so a 4 rather than a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'as stored or as the source given' implies the two usage modes (validating the saved version vs. validating supplied source), but the description never says when to prefer this over CheckDdl or CheckTableType. Usage is inferable from the schema's enum and ddl_code field rather than stated.

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