Skip to main content
Glama
Hollway

mcp-abap-abap-adt-api

by Hollway

atcCheck

Read-only

Run ATC checks on an ABAP object or package and get prioritized findings with source line details, including the check variant and worklist handling in one call.

Instructions

Run the ATC checks over an object or a whole package and report what they found: for each object, every finding with its priority, the check that raised it, the message, and the source line it points at. This is the whole sequence in one call - the check variant from the system customizing, a worklist, the run, the worklist read back - and getting it wrong is what made a run answer 500 (the run needs a worklist id where the library asks for a variant). Findings are ordered by priority, 1 being the worst.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
variantNoCheck variant to use. Defaults to the system check variant from atcCustomizing.
objectUrlNoEscape hatch: the ADT URI to check, if it is neither an object name nor a package.
maxResultsNoCap on the verdicts the backend produces, default 100. A single old report can hold 900.
objectNameNoObject to check, e.g. ZCL_APP or ZR_APPO_NEW.
objectTypeNoADT type of that object: CLAS/OC, INTF/OI, PROG/P, FUGR/F, DDLS/DF, TABL/DS. Defaults to CLAS/OC.
maxFindingsNoCap on the findings reported back, default 100. The counts are always for everything found.
minPriorityNoReport only findings at least this severe: 1 is the worst, 3 the mildest. Default is all of them.
packageNameNoCheck a whole package instead of one object - every object in it, sub-packages included.
includeExemptedNoInclude findings that carry an approved exemption. Off by default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true and destructiveHint=false, and the description adds value by explaining the execution flow (variant, worklist, run, readback) and the risk of misuse (500 error). It also describes output ordering ('findings are ordered by priority, 1 being the worst'), which is behavioral context beyond the safety annotations.

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?

The description is moderately long but every sentence carries necessary information. It front-loads the core purpose, clarifies the internal workflow, and includes a practical warning. No redundancy or filler; it earns its length.

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?

Given 9 parameters and no output schema, the description covers key aspects: what the tool does, the expected output content, ordering, severity semantics, and a known failure mode. It does not detail exact return structure (no schema exists), but it provides enough for an agent to invoke correctly. The only minor gap is absence of explicit mention of authentication or rate limits, which are not indicated in annotations either.

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?

Schema description coverage is 100%, so baseline is 3. The description adds meaningful context: explains the variant default ('Defaults to the system check variant from atcCustomizing'), the cap semantics ('maxResults' and 'maxFindings' with counts always for everything found), minPriority severity ordering, and the escape-hatch purpose of objectUrl. This enhances understanding beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Run the ATC checks') with explicit scope ('over an object or a whole package') and detailed description of the output (findings with priority, check, message, source line). Clearly distinguishes itself from sibling tools by positioning as the whole sequence in one call, not requiring separate steps like variant selection or worklist creation.

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?

Provides clear context on when to use the tool ('the whole sequence in one call') and warns about a specific pitfall ('getting it wrong is what made a run answer 500 (the run needs a worklist id where the library asks for a variant)'). It implicitly differentiates from component tools but does not explicitly name alternatives or state when not to use, hence not a 5.

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