Skip to main content
Glama

Execute ABAP Debugger Step

sap_debug_step

Advance a paused ABAP debug session by stepping over, into, or out of code, continuing to the next breakpoint, or stopping the debuggee.

Instructions

Move the stopped debuggee: stepOver, stepInto, stepOut, stepReturn, continue, or stop.

Requires state='STOPPED'. The call returns when the debuggee stops again — 'continue' therefore BLOCKS for as long as the program runs to its next breakpoint, which can be minutes. Steps run on their own timeout (SAP_DEBUG_STEP_TIMEOUT_MS, default 600000 ms), not the 60s global one.

Args:

  • session_id (string).

  • command ('stepOver'|'stepInto'|'stepOut'|'stepReturn'|'continue'|'stop').

  • response_format.

Returns (json): { sessionId, command, state, program?, include?, line?, reachedBreakpoints?, message }.

  • state='STOPPED': stopped again; program/line say where, reachedBreakpoints says on which breakpoint.

  • state='ENDED': the debuggee ran to completion (a NORMAL outcome of 'continue', and the only outcome of 'stop'). The listener stays armed — call sap_debug_wait to catch the next trap, or sap_debug_detach to finish.

  • state='RUNNING': the step did not come back inside the timeout; the debuggee is probably still running. Check with sap_debug_state or release it with sap_debug_detach.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesStep command: 'stepOver' (next line, skip into calls), 'stepInto' (enter called method/form), 'stepOut'/'stepReturn' (run to the end of the current method), 'continue' (release the debuggee until the next breakpoint or the end), 'stop' (terminate the debuggee).
session_idYesSession ID from sap_debug_attach.
response_formatNoOutput format: 'markdown' (human-readable, default) or 'json' (structured).markdown
Install Server

TDQS

A4.7/5.0
Behavior5/5

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

The description goes well beyond the annotations by disclosing blocking behavior, the dedicated step timeout versus the global timeout, the fact that 'continue' can block for minutes, and the debuggee state transitions (STOPPED, ENDED, RUNNING). It also notes that the listener stays armed after ENDED, which is important hidden behavior.

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?

The description is long but every sentence earns its place: preconditions, timeout behavior, argument summary, and return-state semantics. The most important operational information is front-loaded, and the return-state explanation is clearly structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description's detailed explanation of the returned JSON and state values is essential and sufficient. It explains all possible states, the timeout scenario, and follow-up actions, making the tool safely callable even though it is asynchronous and potentially long-running.

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 every parameter including the command enum meanings, session_id provenance, and response_format default. The description mostly restates parameter names without adding significant semantic value beyond what the schema provides.

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?

The description uses a specific verb and resource: 'Move the stopped debuggee' with an explicit enumerated command list. It clearly distinguishes this tool from siblings like sap_debug_wait, sap_debug_state, and sap_debug_detach by the action it performs.

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?

The description states a hard precondition ('Requires state='STOPPED'') and explains how to proceed in each resulting state, including concrete alternatives such as sap_debug_wait to catch the next trap, sap_debug_state to check a running debuggee, and sap_debug_detach to finish. This gives the agent clear routing guidance.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/appmaster3000/sap-abap-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server