Skip to main content
Glama
HrRodan

Agent Workspace MCP Server

by HrRodan

Run Shell Command

run_bash
Destructive

Execute shell commands in a secure containerized workspace. Includes standard tools, pipes, redirects, and Python via uv.

Instructions

Run a shell command in /workspace. Returns [Exit code: N] + merged stdout/stderr, truncated at 50KB.

Tools: curl, git, jq, patch, tree, fd, rg, zip, tar and standard coreutils. Supports pipes, redirects, &&, ||.

Python/packages (uv only — no python/pip): uv run script.py Run scripts (auto-installs deps from imports) uv add/remove Manage project dependencies uv init Scaffold new project with pyproject.toml uvx Run CLI tools without install (e.g. uvx ruff check .)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesShell command to execute.
timeoutNoMax seconds before kill. Increase for long builds.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already indicate destructiveHint=true and openWorldHint=true. The description adds value by detailing output format (exit code, merged streams, 50KB truncation) and listing available tools, as well as Python handling via uv. This goes beyond the annotations.

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 concise and well-structured: it opens with the core purpose, then describes output, lists tools, and covers Python specifics. Every sentence adds value without redundancy.

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?

The description covers key aspects: execution environment, output limits, available tools, and Python constraints. It does not elaborate on security or resource limits, but given the tool's complexity, it is sufficiently complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so parameters are documented. The description adds context about the working directory (/workspace) and provides guidance on the timeout parameter ('Increase for long builds'), which enhances understanding beyond the schema.

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 clearly states 'Run a shell command in /workspace,' specifying the verb, resource, and location. It distinguishes from sibling tools (file operations, search) by targeting shell execution.

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 provides clear context for when to use (shell commands in /workspace) but does not explicitly state when not to use or offer alternatives. It implies differentiation from siblings through the nature of operations.

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

Install Server

Other Tools

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/HrRodan/agent-workspace-mcp'

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