Skip to main content
Glama
magna-nz

ASPNET Core Debugging MCP Server

debug_launch

Launch a .NET program under the debugger, configure arguments, environment variables, and entry breakpoint, then obtain session state for inspection.

Instructions

Launch a .NET program under the debugger. Returns the resulting session state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoWorking directory for the program (defaults to the program's directory).
envNoEnvironment variables to set on the debuggee. ASP.NET Core picks these up at startup — use ASPNETCORE_ENVIRONMENT to switch between Development/Staging/Production (the matching appsettings.{Env}.json auto-loads), or override anything in appsettings via the standard double-underscore syntax (e.g. ConnectionStrings__Default). These are session-scoped — no files are edited.
argsNoCommand-line arguments to pass to the program.
programYesPath to the .NET program to debug (.dll or apphost executable).
stopAtEntryNoIf true, the program pauses at entry instead of running until the first breakpoint.
Behavior2/5

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

With no annotations, the description must disclose behavioral traits, but it only mentions launching and returning session state. It does not address blocking behavior, side effects, or session lifecycle, leaving agents uninformed.

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 description is a concise two sentences, front-loading the core action. It is well-structured but could include additional context without becoming verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 5 parameters and no output schema, the description is too sparse. It does not explain key aspects like the 'session state' return value, environment variable usage, or relationship to other debug tools.

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%, so the baseline is 3. The description adds no parameter-level information beyond the schema, which is adequate but not enhanced.

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 action ('launch a .NET program under the debugger') and the outcome ('returns the resulting session state'), distinguishing it from sibling tools like breakpoint or stepping tools.

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?

No guidance on when to use this tool versus alternatives like debug_attach or when prerequisites (e.g., debugger initialization) are needed. The description omits context for selection.

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/magna-nz/aspnetcore-debugger-mcp'

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