Skip to main content
Glama

Run a command

run_command
Destructive

Run a shell command on the user's computer and return stdout, stderr and the exit code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoWorking directory. Defaults to the user's home directory.
deviceNoDevice name. Optional when the account has only one online device.
commandYesShell command to run.
timeout_secondsNoKill the command after this many seconds (default 60, max 600).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources