Skip to main content
Glama
thebtf

netcoredbg-mcp

by thebtf

terminate_debug

Destructive

Sends a terminate request to cleanly shut down the debugged program, with automatic fallback to forced disconnect.

Instructions

Gracefully terminate the debugged program.

Sends DAP terminate request for clean shutdown. Falls back to forced disconnect if adapter doesn't support terminate.

Use this instead of stop_debug when you want a graceful exit.

Escape hatch: see the dap-escape-hatch prompt for unwrapped DAP requests.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations indicate destructiveHint: true, but description adds value: it sends DAP terminate request, falls back to forced disconnect, and is graceful. No contradictions. However, it could be more explicit about consequences like state loss.

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?

Four short sentences, each adds value. Front-loaded with main action. No fluff or redundancy.

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?

Input schema is empty, no output schema. Description covers behavior (graceful, DAP, fallback) adequately. Could mention requirement for active debug session, but it's implied. Fairly complete for a simple tool.

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?

There are zero parameters, so baseline 4. The description does not need to explain parameters, and it does not.

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?

The description clearly states the tool terminates the debugged program gracefully, using DAP terminate request with fallback. It distinguishes from stop_debug by specifying 'graceful exit'. The verb 'terminate' and resource 'debugged program' are specific and unambiguous.

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

Usage Guidelines5/5

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

Explicitly says 'Use this instead of stop_debug when you want a graceful exit.' Also mentions 'Escape hatch: see the dap-escape-hatch prompt for unwrapped DAP requests.' Provides clear when-to-use and alternative.

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

Install Server

Other Tools

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/thebtf/netcoredbg-mcp'

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