Skip to main content
Glama

AmdpDebugStop

Ends the AMDP part of a debug session, releasing a suspended debuggee first and reporting any part that failed to undo.

Instructions

[read-only] [debug] Ends the AMDP part of a debug session, releasing a suspended debuggee first; when the whole debug session ends with it, the kept answers of its debugger batch go too. A part that failed to undo is reported and kept with the answers. 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
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 burden and discloses meaningful side effects: releasing the suspended debuggee, deleting kept debugger-batch answers when the whole session ends, and reporting a failed undo. It still lacks details on permissions, idempotency, and what '[read-only]' means for mutable debug-session state.

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?

The purpose is front-loaded across three efficient sentences with no obvious filler. Some phrasing around 'kept answers of its debugger batch' is dense, but the overall structure is appropriately sized.

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?

Given no annotations and no output schema, the description covers the key lifecycle side effects and the batch-mode constraint. It leaves minor gaps around return values and the lifecycle of 'state_handle', but is broadly complete for a debug-stop operation.

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 both parameters are fully documented in the schema. The description adds no meaning about 'state_handle' or 'detail' beyond what the schema already provides, making the baseline 3 appropriate.

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 ('Ends') and resource ('the AMDP part of a debug session'), and adds that it releases a suspended debuggee first. It does not explicitly distinguish itself from close siblings such as AmdpDebugCancel or DebugStop.

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?

Provides a contextual constraint ('Runs outside batch mode') and describes failure behavior, but gives no explicit when-to-use guidance versus AmdpDebugCancel or DebugStop, nor any when-not conditions.

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