Skip to main content
Glama
pdwi2020

mcp-server-colab-exec

by pdwi2020

colab_execute_notebook

Execute Python code on a remote Colab GPU runtime and download generated artifacts (images, CSVs, models) to a local directory.

Instructions

Execute Python code on Colab GPU and collect generated artifacts.

Runs the code, then scans the runtime for output files (images, CSVs, models, etc.), zips them, and downloads to a local directory.

Args: code: Python code to execute on the Colab GPU runtime. output_dir: Local directory to save the artifacts zip and extracted files. accelerator: GPU type — "T4" (free-tier) or "L4" (premium). Default: "T4". timeout: Max execution time in seconds. Default: 300.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
output_dirYes
acceleratorNoT4
timeoutNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The description explains the execution process, artifact scanning, zipping, and downloading, which adds value beyond annotations. Annotations already indicate non-readonly and non-destructive, and the description aligns with that.

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?

The description is reasonably concise, with a clear header and bulleted parameter list. It could be slightly more compact by omitting the 'Args' label, but it remains efficient and scannable.

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 the main workflow and parameters effectively. Although the output schema exists (not shown), the description adequately sets expectations for what the tool does, making it sufficiently complete.

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

Parameters5/5

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

The input schema has no descriptions (0% coverage), so the description's parameter documentation (code, output_dir, accelerator, timeout) provides essential meaning that the schema lacks, fully compensating for the gap.

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?

The purpose is clearly stated: execute Python code on Colab GPU and collect downloaded artifacts. However, it does not differentiate from sibling tools colab_execute and colab_execute_file, which may have overlapping functionality.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus its siblings or when not to use it. The description implies usage but does not explicitly state context or exclusions.

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/pdwi2020/mcp-server-colab-exec'

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