Skip to main content
Glama

DebugWait

Wait up to a specified time for an ABAP debug session to change, then return its current state or any debugger takeover error.

Instructions

[read-only] [debug] State of a debug session after waiting up to hold_seconds; a debugger that took the user over is an error carrying the system's message. 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
hold_secondsNoLongest wait for a change, at most 30 seconds.
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.5/5.0
Behavior4/5

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

No structured annotations are provided, so the description carries the full burden and does a reasonable job: it declares read-only behavior, the bounded wait via hold_seconds, and that a user takeover surfaces as an error carrying the system's own message. It stops short of saying what is returned on timeout without a change, which matters for a waiting/polling tool.

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?

A single dense sentence with the tag prefixes front-loaded; the wait semantics and error behavior come before the batch-mode constraint. Slightly comma-spliced prose, but nothing is wasted.

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 read-only debug wait with no output schema, the description covers the wait bound, the resolution value (session state), and the error case, which is enough to call it correctly. Only the no-change/timeout return behavior is left unstated.

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 coverage is 100% and each parameter has a description, including the detail enum and the 30-second cap on hold_seconds. The description adds only the relational point that the session state is observed after waiting up to hold_seconds, so the schema does the heavy lifting and baseline 3 applies.

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 operation on a specific resource: it returns the state of a debug session after waiting up to hold_seconds. The debug-related tags make the domain clear, though it doesn't distinguish itself from the close sibling AmdpDebugWait, which an agent could easily confuse it with.

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 guidance on when to call this versus DebugStep, DebugGetStack, or AmdpDebugWait. The only scoping statement, 'Runs outside batch mode,' is a constraint rather than usage direction, so the agent must infer the polling role from the description alone.

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