Skip to main content
Glama
sap-mcp

sap-mcp

by abap-studio

run_atc

Run an ABAP Test Cockpit static-analysis check on an object and report findings before releasing a transport to catch issues enforced by your ATC variant.

Instructions

Run an ATC (ABAP Test Cockpit) static-analysis check on an object and report the findings. Read-only and safe on any profile. Use it before releasing a transport, or after building something, to catch the issues your team's ATC variant enforces. Slower than syntax_check - use syntax_check for quick error checking.

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": {
      "objectUri": "<objectUri>"
    },
    "name": "run_atc"
  }
}

Input Schema

NameRequiredDescriptionDefault
objectUriYesADT URI of the object, e.g. /sap/bc/adt/oo/classes/zcl_foo
maxFindingsNoMaximum findings to request (default 100)
checkVariantNoATC check variant. Defaults to the system's configured variant.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the critical traits: read-only, 'safe on any profile,' and a relative cost warning against syntax_check. It also implies the default check variant comes from system configuration. It stops short of describing what findings look like or whether the object must be active, which matters for a zero-annotation tool.

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?

Three tight sentences, front-loaded with the purpose and safety profile, then usage triggers, then the disambiguation. No filler and nothing repeated from the schema.

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 three-parameter read-only tool with full schema coverage and no output schema, the description covers purpose, safety, cost, and alternatives. The one gap is the shape of the returned findings report, which an agent must learn by calling it.

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, which sets the baseline at 3. The phrase 'the issues your team's ATC variant enforces' adds functional meaning about what checkVariant controls, but maxFindings behavior and truncation are not elaborated 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 ('Run'), a specific resource ('ATC static-analysis check on an object'), and the outcome ('report the findings'), then explicitly distinguishes it from syntax_check. An agent can route to it without opening the schema.

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

Usage Guidelines5/5

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

Gives concrete when-to-use triggers ('before releasing a transport, or after building something') and names the alternative with the condition that selects it ('Slower than syntax_check - use syntax_check for quick error checking'). Both use and exclusions are covered explicitly.

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