Skip to main content
Glama

upload_local_file

Upload a file from your local machine to the Colab runtime by specifying its local path.

Instructions

Uploads a file from the local machine running this MCP server to the Colab runtime. Prefer this over upload_file when the source is a local path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localPathYesAbsolute or relative path on the local machine running the MCP server.
pathYesDestination path in the Colab runtime, for example /content/train.py.
overwriteNo
makeParentsNo
Behavior2/5

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

No annotations provided, so description carries full burden. Description only states basic action; does not disclose authentication needs, file size limits, conflict handling, or side effects. The schema mentions 'overwrite' and 'makeParents' but description adds no behavioral context.

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, no filler. Every word adds value. Front-loaded with action and key differentiation.

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

Completeness3/5

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

For a file upload tool with 4 params and no output schema, description is adequate but minimal. It covers purpose and usage preference but omits details like supported file types, path conventions, or error scenarios. Not incomplete but lacks richness.

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

Parameters2/5

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

Input schema has only 50% description coverage (2 of 4 params). Description text adds no extra meaning beyond param names and schema descriptions. Does not elaborate on defaults or usage hints for undocumented params like 'overwrite' and 'makeParents'.

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?

Clearly states verb 'Uploads' and resource 'file from local machine to Colab runtime'. Distinguishes from sibling 'upload_file' by specifying when to prefer this tool. Explicit and unambiguous.

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?

Provides explicit guidance: 'Prefer this over upload_file when the source is a local path.' This helps the agent choose between similar tools. Does not list alternative use cases but enough context for decision.

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