Skip to main content
Glama

Uploads File Manager

uploads_file_manager
Read-onlyIdempotent

Opens the Workspace Files picker so users can upload device files to a temporary server area (not Google Drive), with up to 25 MiB per file retained for one hour.

Instructions

Open the Workspace Files picker so the user can upload files from their device to this MCP server's temporary upload area (not Google Drive), at most 25 MiB per file, kept for one hour by default. Use it when a tool needs a file the user has and the server cannot read local paths; after the user uploads, get the upl_... IDs from uploads_list_files and pass one as uploaded_file to a tool such as gmail_send_email (attachments) or drive_upload_file. Returns the picker UI for an MCP Apps host, whose state.stored lists uploads already staged.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "uploads_file_manager"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
viewYesDeclarative picker UI tree.
_metaNoFastMCP renderer metadata for the Prefab payload.
stateYesInitial picker UI state.
$prefabYesPrefab protocol metadata.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare readOnly/destructive/idempotent/closed-world, and the description adds what those flags cannot: the 25 MiB per-file cap, one-hour default retention, that storage is temporary and on this server, and that the return value is a picker UI whose state.stored lists already-staged uploads. The apparent tension between readOnlyHint=true and 'upload files' is resolved by the description making clear the tool opens a picker rather than itself performing a caller-side write.

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 core distinction and the size/retention limits are front-loaded, and every clause carries information. It is dense with nested parentheticals, though, so the follow-up workflow would scan faster as a separate sentence.

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

Completeness5/5

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

Zero parameters, an output schema present, and the description still supplies the operational envelope (location, quota, lifetime) plus the full before/after workflow linking uploads_list_files to a consuming tool. Nothing an agent needs to invoke this correctly is missing.

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 tool takes no parameters, so the schema carries nothing to explain and the baseline is 4. The description usefully notes that the relevant identifier (uploaded_file) belongs to downstream tools rather than this one, preventing an agent from searching for an argument that does not exist.

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?

States a specific action ('Open the Workspace Files picker') and immediately bounds it: uploads land in this MCP server's temporary area, 'not Google Drive', max 25 MiB per file, retained one hour. That contrast with drive_upload_file is exactly what an agent needs to avoid picking the wrong sibling.

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

Usage Guidelines5/5

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

Gives an explicit trigger ('when a tool needs a file the user has and the server cannot read local paths') and a concrete follow-up sequence: after upload, read upl_... IDs from uploads_list_files and pass one as uploaded_file to gmail_send_email or drive_upload_file. It also implicitly excludes path-based reads by stating the limit condition.

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

Deploy Server

Other Tools