Skip to main content
Glama

colab_fs_mkdir

Creates directories in a Google Colab runtime, with relative paths resolved under /content. Handles missing parent creation and idempotent calls using exist_ok for reliable retries.

Instructions

Create a runtime directory. Use exist_ok for idempotent retry on ambiguous responses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesRuntime path confined to /content; relative paths resolve under /content.
parentsNoTrue creates missing ancestors; defaults to true.
sessionNoTracked session name. Null is allowed only when exactly one session exists.
exist_okNoTrue accepts an existing directory; defaults to true.
Behavior2/5

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

With no annotations provided, the description carries the full burden for behavioral disclosure. It does not mention that the tool may create missing ancestors (parents defaults true), that an existing directory is accepted by default (exist_ok true), or any error scenarios. It only hints at idempotency with exist_ok but fails to explain default behavior or side effects, making it inadequate for a mutation 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 exceptionally concise with two sentences that are front-loaded with the core purpose and then a focused usage tip. Every word earns its place; no filler or redundancy.

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?

Despite the schema covering all parameters, the tool is a mutation with no annotations and no output schema. The description does not provide a complete behavioral picture—missing the recursive creation behavior (parents), default tolerance for existing paths (exist_ok), and the /content confinement context. The hint about ambiguous responses suggests complexity that is not adequately addressed.

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 description coverage is 100%, so baseline is 3. The description adds value by connecting exist_ok to 'idempotent retry on ambiguous responses', giving a practical usage rationale that goes beyond the schema's simple 'True accepts an existing directory'. This is a meaningful semantic addition for a parameter.

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 the action ('Create') and the resource ('a runtime directory'), which is specific and immediately distinguishes it from sibling FS operations like read, write, remove, and list. The verb-object form is unambiguous and accurately reflects the tool's function.

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?

There is no guidance on when to use this tool versus alternatives. The mention of exist_ok for idempotent retry is a parameter-level hint, not a tool-selection guideline. No context is provided about preferred scenarios, prerequisites, or cases where a different sibling tool should be used.

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/anluin/colab-mcp'

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