Skip to main content
Glama

run_checks

Execute up to eight non-interactive shell commands concurrently with per-command timeouts and compact or full output; non-zero exits return structured exit codes for automated checks.

Instructions

Run 1-8 non-interactive commands concurrently (shell: pwsh default | cmd | wsl), all with windowsHide. Per-command timeoutSec (default 120, max 900) kills the whole process tree. outputMode compact (status + failure tails) or full. Any non-zero exit is returned as structured exitCode (timeout = 124).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "commands": "<commands>"
    },
    "name": "run_checks"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoDefault working directory (Windows path; converted to /mnt/... for wsl).
shellNoDefault interpreter: pwsh (PowerShell 7, falls back to Windows PowerShell), cmd, or wsl (bash -lc in WSL).pwsh
distroNoWSL distribution for shell=wsl (default: WSL default distro).
commandsYesCommands run concurrently; each a string or {command, name?, shell?, cwd?, timeoutSec?}.
maxCharsNoInline output cap (500..8800); overflow is spooled to a file.
outputModeNocompact: status line per command + output tail of failures; full: every output.compact
timeoutSecNoDefault per-command timeout; on timeout the whole process tree is killed (taskkill /T /F).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Goes well past the single readOnlyHint=false annotation, disclosing windowsHide, process-tree kill on timeout (taskkill /T /F), non-zero exit surfaced as structured exitCode, timeout mapped to 124, and output spooling past maxChars. That is exactly the operational context an agent needs before firing off shell commands; only the absence of a return-value shape (e.g., ordering of per-command results) keeps it from a 5.

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?

One dense, front-loaded paragraph where each clause carries real information: concurrency bounds, shell default, timeout behavior, output modes, exit-code contract. The telegraphic parenthetical style is efficient but borders on terse for readers unfamiliar with pwsh/wsl distinctions.

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?

With no output schema and seven parameters, the description carries the burden of explaining results and does so: compact returns status plus failure tails, full returns everything, outputs are capped and spooled. The remaining gap is result ordering/mapping for concurrent commands, which an agent would want before parsing a multi-command run.

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's parameter notes largely restate schema defaults (timeoutSec 120/900, outputMode semantics) rather than adding new meaning. The only genuine addition is the exit-code convention (timeout = 124), which is more output semantics than input semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource with hard scope: 'Run 1-8 non-interactive commands concurrently,' naming the supported shells and defaults. It never contrasts itself with siblings like hub_exec, chain_job, or tool_chain, so an agent must infer which executor is right in a crowded namespace.

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?

'Non-interactive,' the 1-8 concurrency cap, and per-command timeouts implicitly define the intended usage window, and outputMode compact/full hints at the exploration-vs-diagnosis split. However, there is no explicit when-not guidance or named alternative for the sequential single-command case, so the routing decision is left to inference.

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