Skip to main content
Glama

request_upload

Start a large or binary file upload (up to 1 GiB). Returns a presigned PUT URL: upload the raw bytes there, then call finalize_upload to commit the version.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesDestination path for the uploaded file, relative to the workspace root.
sizeYesExact byte count of the file. Checked again at finalize_upload.
mime_typeNoContent type, e.g. image/png. Guessed from the extension when omitted.
workspaceNoWorkspace slug. Optional, defaults to "temp".
override_lockNoUpload even if another agent holds a lock on this path. Recorded in the activity log.
expected_versionNoFail with VERSION_CONFLICT unless the file is currently at this version. Re-checked at finalize_upload.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already indicate this is a non-read-only mutation. The description adds important behavioral context: it returns a presigned URL, requires a separate raw-byte upload, and depends on finalize_upload for commit. This goes beyond the annotation's binary safety flags and clearly explains the two-step workflow.

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. Front-loaded with the core action and a clear cap on size, followed by the essential next step. Every word contributes meaning.

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?

For a 6-parameter mutation tool with no output schema, the description covers the critical flow: how to upload (presigned URL) and how to complete (finalize_upload). It does not mention error cases (e.g., lock conflicts, version mismatches), but those are partially documented in the parameter descriptions. Overall, it gives enough context for an agent to correctly invoke the tool.

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?

The schema already describes all 6 parameters with 100% coverage, so the baseline is 3. The description adds value by stating the 1 GiB upload limit (clarifying the `size` parameter) and the binary nature (informing `mime_type`), which slightly exceeds the schema's generic 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?

The description clearly states the tool starts a large or binary file upload (up to 1 GiB) and returns a presigned PUT URL. It distinguishes itself by mentioning the follow-up finalize_upload step, and implies a contrast with simpler write operations for small files.

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 gives clear usage context: use for large/binary files, then call finalize_upload to commit. However, it does not explicitly name alternatives (e.g., 'use write for small files') or state when not to use this tool, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool targets a distinct operation: file CRUD (write, read, edit, delete), versioning (history, restore), search (grep, list with q), locking (lock, unlock), uploads (request_upload, finalize_upload), and activity tracking. Even similar tools like request_upload and finalize_upload are complementary rather than overlapping.

Naming Consistency4/5

Tool names are lowercase and action-oriented, with single-word verbs (read, write, delete) and two compound verbs (request_upload, finalize_upload) following a verb_noun pattern. This is consistent enough to be predictable, though the mix of single words and compound words is a minor deviation.

Tool Count5/5

14 tools is well-scoped for a versioned file management server. Each tool covers a necessary aspect of the domain—file operations, version control, search, locking, uploads, and activity—without unnecessary bloat or missing critical functionality.

Completeness5/5

The tool set covers the full lifecycle of file management: create/write, read, edit, delete, restore, list, search, lock, unlock, upload/download (via request_upload/finalize_upload and read's download URL). The only potential gap is a copy operation, but that can be achieved with read+write. All workflows have no dead ends.