Skip to main content
Glama

CheckStructure

Validates the syntax of an ABAP structure (TABL) from its saved version or provided DDL source, helping catch definition errors before activation.

Instructions

[read-only] Checks the syntax of an ABAP structure (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": {
      "structure_name": "<structure_name>"
    },
    "name": "CheckStructure"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNoVersion to check: 'active' or 'inactive'. Without `version` the active version is checked.
ddl_codeNoOptional: DDL source code to validate instead of the saved version.
structure_nameYesStructure 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' or 'inactive'. Default: inactive."New value: +"Version to check: 'active' or 'inactive'. Without `version` the active version is checked."
  2. Changed1 schema field changedv16.0.0
    • changedInput schema / properties / structure_name / description
      Previous value: -"Structure name (e.g., ZST_MY_STRUCTURE)."New value: +"Structure 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 correctly discloses that the operation is read-only and that it can validate either a stored object or supplied source, but it says nothing about what a check produces on failure (error list, exception, pass/fail) or whether a syntax check has any side effects.

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?

One compact sentence with the read-only tag and the core purpose front-loaded. Nothing is wasted, though the bracketed tag duplicates information that annotations would normally carry.

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 validation tool with no output schema and no annotations, the description should say what a failed check returns or how results are surfaced. It covers the input modes but leaves the result contract unspecified, which is a meaningful gap for a syntax-check tool.

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 the schema already documents structure_name, version, and ddl_code in detail. The description's 'as stored or as the source given' mirrors the schema's own ddl_code wording and adds no syntax or precedence information beyond it.

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 ('Checks the syntax') and resource ('ABAP structure (TABL)'), and notes the two input modes (stored vs. supplied source). It does not explicitly distinguish itself from the sibling CheckTable, which is a near-neighbor in the DDIC family.

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 (validate saved version vs. validate provided DDL), but there is no explicit when-to-use guidance and no reference to alternatives such as CheckTable.

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