Skip to main content
Glama
lucastl

Agentic MCP Server

by lucastl

terminal-runner

Execute allow-listed npm, node, and tsc commands with a strict timeout while capturing output, enabling safe command verification and automated build checks.

Instructions

Executes allow-listed shell commands (npm, node, tsc) with enforced timeout and captured output.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNoOptional list of arguments to pass to the command.
commandYesBase command to execute from the allow list.
timeoutMsNoExecution timeout in milliseconds (default 30000, max 30000).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsYes
signalYes
stderrYes
stdoutYes
commandYes
exitCodeYes
timedOutYes
durationMsYes
stderrTruncatedYes
stdoutTruncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does disclose the allow-list restriction, enforced timeout, and captured output, which are meaningful traits. However, it does not warn that npm/node/tsc commands can have side effects on the filesystem or describe exit-code/error behavior, which is a notable gap for a command-execution tool.

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?

The description is a single sentence that front-loads the core action, then efficiently adds the command list and the two key behavioral constraints. Every phrase earns its place with no fluff or repetition.

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?

Given the tool's moderate complexity, the presence of an output schema, and full schema parameter coverage, the description is mostly complete. It covers the essential operational details (scope, timeout, output capture) even though it omits side-effect warnings and explicit usage boundaries, which are already partially addressed by the clear purpose.

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 description coverage is 100%, so each parameter (command, args, timeoutMs) is already documented in the schema. The description adds context about the allow-list and timeout but does not materially extend parameter meaning beyond the schema, so the baseline of 3 is appropriate.

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 starts with a specific verb ('Executes') and a concrete resource ('allow-listed shell commands'), then enumerates the exact commands (npm, node, tsc). It also names two behavioral constraints, enforced timeout and captured output, which fully disambiguates it from sibling tools like ping, fs-reader, or git-observer.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly implies when to use this tool: whenever an agent needs to run npm, node, or tsc commands. The sibling list contains no other shell-execution tool, so the alternatives are implicitly clear. However, it does not explicitly state when not to use it or name a specific alternative, so it stops short of full exclusion guidance.

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