Skip to main content
Glama
s2005

Windows CLI MCP Server

by s2005

get_command_output

Retrieve complete command output when previous results were truncated. Use the execution ID from truncation messages to access full data, filter lines, or specify ranges.

Instructions

Retrieve the full output from a previous command execution.

Use this tool when command output was truncated and you need to see the complete result. The executionId is provided in the truncation message of the original command.

Parameters:

  • executionId (required): The execution ID from the truncation message

  • startLine (optional): 1-based start line (default: 1)

  • endLine (optional): 1-based end line (default: last line)

  • search (optional): Regex pattern (case-insensitive) to filter lines

  • maxLines (optional): Maximum lines to return (default: config value)

Examples:

{ "executionId": "20251125-143022-a8f3" }
{ "executionId": "20251125-143022-a8f3", "startLine": 100, "endLine": 150 }
{ "executionId": "20251125-143022-a8f3", "search": "error|failed|exception" }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
executionIdYesExecution ID from a previous command (shown in truncation message)
startLineNo1-based start line (optional, default 1)
endLineNo1-based end line (optional, default last line)
searchNoRegex pattern to filter lines (case-insensitive)
maxLinesNoMaximum lines to return (default: config maxReturnLines)

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/s2005/wcli0'

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