Skip to main content
Glama

DebugBatchEnd

Ends a debugger batch by sending recorded calls in one envelope, then reports request and received-part counts plus send or split errors.

Instructions

[read-only] [debug] Sends the recorded calls of the stopped debuggee in one envelope on the session the batch started on — the ABAP debuggee's session, or the AMDP session's command session — and ends the debugger batch. Splits SAP's answer into each call's parts and answers the number of recorded calls, of requests sent and of parts received; when sending fails, the parts received differ from the requests sent or the answer fails to split, answers that error, and every number of the batch then answers it.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv20.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description does carry the burden and discloses useful behavior: the read-only/debug tags, which session is used, how SAP's answer is split, and how errors propagate to every returned count. However, it labels the operation read-only while also saying it 'ends the debugger batch', an internal tension, and it does not state the required batch state or side effects clearly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sprawling sentence with nested clauses about splitting answers and error propagation, making the core action hard to extract. Only the leading '[read-only] [debug]' tags are front-loaded; the actual purpose is buried mid-sentence.

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?

It explains the return counts and failure behavior, which is helpful given there is no output schema, but it leaves lifecycle context unclear. In particular it does not say that a debug batch must have been started first or how this relates to DebugBatchBegin, BatchEnd and BatchAnswers.

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?

The tool has zero parameters and an empty schema, so there is no parameter semantics to explain. Baseline 4 applies; the description does not need to add parameter detail.

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?

The description states a specific verb and resource: it sends the recorded calls of the stopped debuggee in one envelope and ends the debugger batch. That is clearly distinguishable from a generic 'BatchEnd' or 'DebugBatchBegin', although it never names those siblings explicitly.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no alternatives such as DebugBatchBegin, BatchEnd or BatchAnswers are named. Preconditions are only implied by phrases like 'the stopped debuggee' and 'the session the batch started on', leaving the agent to infer the lifecycle.

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