Skip to main content
Glama

debug_runner

Run commands, scripts, or tests and analyze failures: identifies 14 error types, parses stack traces in 4 languages, and suggests next actions. Auto-picks runtime for scripts.

Instructions

Run command/script/test and analyze failures: 14 error types, 4-language stack traces, suggested actions. script mode auto-picks runtime (js/py/go/rs/sh). Deterministic, zero LLM.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoOptional working directory relative to workspace_dir (e.g. "0FTYcloud"). Scripts that must run in a subdirectory no longer need cd workarounds.
testNoTest command to run in workspace_dir (e.g. "npm test", "pytest")
scriptNoScript path relative to workspace_dir to run + auto-analyze (js/mjs/py/go/rs/sh by extension). Pass exactly one of command/script/test; script wins over command
commandNoShell command to run (e.g. "node src/main.js")
timeoutNoTimeout in ms (default: 30000, min 1000)
workspace_dirYesREQUIRED: absolute path of the project root to run in

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/wulun811/LiuHe'

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