Skip to main content
Glama

debug_disconnect

Disconnect from a running debug session and optionally terminate the debuggee process.

Instructions

Disconnect from a debug session and optionally terminate the debuggee.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesDebug session ID

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

There are no annotations, so the description carries the burden. It does disclose the important side effect that the debuggee may be terminated, which adds essential safety context. However, it remains vague about when termination happens, whether it is reversible, or what cleanup or permissions are required.

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?

One sentence with no wasted words. The core action is stated first, and the optional termination behavior is included without tangential detail.

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?

The tool is simple, but with no output schema and no annotations, the description should clarify side effects more concretely. The phrase 'optionally terminate' leaves open whether termination is a parameter, a default behavior, or dependent on debugger state. Overall adequate for basic invocation but not fully complete.

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?

The only parameter, session_id, is already documented in the schema as 'Debug session ID' with 100% coverage. The description adds no extra meaning about how to obtain or format the session ID, so baseline 3 is appropriate.

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?

States a specific verb ('Disconnect'), a resource ('debug session'), and an optional side effect ('terminate the debuggee'). It is clearly distinct from siblings like debug_pause or debug_continue, so an agent can identify what this tool does without confusion.

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?

Provides no explicit guidance on when to use this tool versus alternatives, such as debug_pause for temporary suspension or debug_continue for resuming. The intended use is only inferable from the name and description rather than stated directly.

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

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/ztripez/mcp-dap'

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