Skip to main content
Glama

start_background_command

Start a background shell command in a Colab runtime, with output logged to a file and status tracked for monitoring.

Instructions

Preferred tool for training and long jobs. Starts a background shell command through Colab Terminal, writes stdout/stderr to a log file, and records status for watch_background_command.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesShell command to start in the background.
nameNoOptional stable name for the background command.
logPathNoOptional runtime log path. Defaults to /content/colab_mcp_logs/<name>.log.
cwdNoOptional working directory inside the Colab runtime.
Behavior3/5

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

With no annotations, the description mentions starting a process, logging, and status recording. It lacks details on potential side effects, required permissions, or resource implications, which is adequate but not comprehensive.

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?

Two sentences with efficient wording. The first sentence establishes purpose and preference, the second provides key details. No extraneous information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description omits what the tool returns (e.g., an identifier for later status checks) despite no output schema. It also doesn't clarify whether the call is synchronous or asynchronous, which is essential for a background task.

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 the baseline is 3. The description adds high-level context about logging but does not elaborate on individual parameters beyond what the schema provides.

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 it starts a background shell command, writes logs, and records status. It explicitly distinguishes itself as the preferred tool for training and long jobs, differentiating from sibling tools like run_shell_command and watch_background_command.

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 indicates when to use it (for training and long jobs) and the workflow with watch_background_command. However, it does not explicitly state when not to use it or name alternatives, leaving some ambiguity.

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/404F0X/better_colab_MCP'

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