Skip to main content
Glama
magna-nz

ASPNET Core Debugging MCP Server

by magna-nz

process_read_output

Retrieve and clear buffered stdout/stderr output from the debugged process, optionally filtering by category or limiting lines to keep the rest for later retrieval.

Instructions

Drain buffered output (stdout/stderr) from the debuggee since the previous call. Returns the lines collected and removes them from the buffer. Filtering by category drains only that category — lines in other categories, and matches beyond maxLines, stay buffered for a later call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoFilter by category: "stdout", "stderr", "console", or omit for all.
maxLinesNoMaximum lines to drain in this call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description fully carries the burden and does so well: it explicitly discloses that lines are returned and removed from the buffer, that category filtering drains only that category, and that unconsumed lines remain buffered. This is exactly the side-effect visibility an agent needs.

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?

Two dense, efficient sentences with no filler. The core action and side effect are front-loaded, and the filtering edge case is explained clearly in the second sentence.

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

Completeness5/5

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

For a small two-parameter tool with no output schema, the description supplies the action, buffer semantics, filtering behavior, and retention rule. An agent can invoke it correctly and predict follow-up behavior without needing additional inference.

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?

Schema coverage is 100%, so the baseline is 3. The description adds meaningful behavioral nuance beyond the schema: filtering by category leaves other categories buffered, and matches beyond maxLines are preserved for later calls. This directly affects agent decisions about follow-up invocations.

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 uses a specific verb ('Drain') with a clear resource ('buffered output (stdout/stderr) from the debuggee') and a precise temporal scope ('since the previous call'). This clearly differentiates it from sibling debugger tools such as stacktrace_get or trace_get.

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?

The description implies usage: after debugger execution, drain collected output, and 'stay buffered for a later call' explains repeated draining. However, it never names alternatives or states when not to use this tool, leaving some routing to inference.

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