Skip to main content
Glama

upload_file

Upload any local file to a storage bucket. Provide the local file path (absolute or relative) and the destination path within the bucket.

Instructions

Upload any local file to a storage bucket. local_path can be absolute (/Users/...) or relative to buckets/{bucket}/

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bucketYesBucket name
local_pathYesFile path — absolute (/Users/leo/logo.svg) or relative to buckets/{bucket}/ (images/logo.svg)
storage_pathYesDestination path inside the bucket (e.g. 'branding/logo.svg')
upsertNo
Behavior2/5

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

No annotations are present, so the description must fully disclose behavior. It states 'upload' implying mutation, but omits details about what happens if the file already exists (despite an upsert parameter with default true), required permissions, or potential side effects.

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?

Extremely concise: one sentence and one clarification note. Every word serves a purpose with no 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?

The tool has 4 parameters, no output schema, and no annotations. The description lacks essential context such as conflict resolution (upsert behavior), idempotency, file size limits, or what the function returns. This leaves an agent with significant uncertainty.

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 high (75%), so baseline is 3. The description adds value by explaining that local_path can be absolute or relative, but does not elaborate on other parameters beyond the schema's own descriptions.

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 the action ('Upload any local file to a storage bucket') and specifies the resource. The description immediately distinguishes this from sibling tools like delete_file or download_bucket.

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

Usage Guidelines3/5

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

Provides a helpful hint about local_path formats (absolute vs relative) but does not explicitly state when to use this tool over alternatives like bulk_upload_files, nor mentions prerequisites or failure scenarios.

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/natuleadan/mcp-backend'

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