Skip to main content
Glama

DebugSetBreakpoints

Adds line, exception, statement, or message breakpoints to a shared ABAP debug session, returning accepted, refused, dropped, and unpaired breakpoints.

Instructions

[read-only] [debug] Adds breakpoints to a debug session — a line, an exception class, an ABAP statement or a message; a line breakpoint may carry a condition — and answers the whole set placed, this call's refusals each with its breakpoint and reason, earlier breakpoints that dropped out of the set, and any answer row left unpaired with a breakpoint. Its breakpoints are one set, shared by every IDE of the same SAP user (in user mode, debugging the same request user; in terminal mode, whatever its ids), and each change rewrites that set as a whole. Runs outside batch mode.

Input Schema

NameRequiredDescriptionDefault
detailNoHow much of the answer to return: "terse" (default, the fields you need to act), "full" (the whole parse), "raw" (the document as ADT sent it).terse
breakpointsYesBreakpoints: a line, an exception class, an ABAP statement or a message; a line breakpoint may carry a condition.
state_handleYesOpaque handle identifying the server-held state this operation works on.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv20.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses the shape of the answer (whole set placed, per-call refusals with breakpoint and reason, breakpoints dropped from the set, unpaired answer rows) and the cross-IDE shared-set semantics with whole-set rewrite on each change. The only weakness is the "[read-only]" tag on a tool that visibly mutates debug session state, which could mislead an agent about 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?

Purpose is front-loaded and nothing is filler, but the first sentence is a heavily nested run-on that packs return-value details into the purpose statement; splitting it would improve scanability without losing content.

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?

There is no output schema, and the description compensates by describing the response contents in detail, plus the sharing model and batch-mode exclusion. It still leaves open how a state_handle is obtained and whether breakpoints survive session teardown, which matters for a stateful debugger 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 every field including the detail enum and the per-kind breakpoint fields. The description restates the breakpoint-kind taxonomy but adds no new semantics for state_handle or for the terse/full/raw trade-off, so it stays at the baseline.

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 and resource ("Adds breakpoints to a debug session") and enumerates the four breakpoint kinds plus the optional condition, so the agent knows exactly what it creates. It never names its nearest siblings (DebugDeleteBreakpoint, DebugListBreakpoints, AmdpDebugSetBreakpoints), so the differentiation is inferable from the verb rather than stated.

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?

Usage is implied rather than declared: "Runs outside batch mode" tells the agent one constraint, and the shared-set semantics hint at when this is the right tool, but there is no explicit routing to DebugDeleteBreakpoint/DebugListBreakpoints or to the AMDP variant, and no stated prerequisites for debug session state.

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