Skip to main content
Glama

drive_upload_file

Upload a base64-encoded file to Google Drive and get its file ID and URL for attaching to Classroom assignments.

Instructions

Upload a base64-encoded file to Google Drive. Returns the Drive file ID and URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
mimeTypeNoapplication/octet-stream
base64ContentYes

Schema Changelog

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

  1. First observedv3.0.0-beta.1

TDQS

A3.8/5.0
Behavior3/5

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

The description matches the annotations (write operation, readOnlyHint=false) by saying 'upload', and it adds that the result is an ID and URL. However, it does not disclose other behavioral traits such as duplicate-name behavior, overwrite semantics, permission requirements, or failure modes. Useful but minimal.

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 a single active sentence that front-loads the action and target, includes the essential return value, and contains no filler or repeated schema information.

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?

The description is adequate for a simple upload: it states what the tool does and what it returns, which partially compensates for the missing output schema. It still leaves operational context unexplained, such as how `name` is interpreted, whether duplicate names create new files, and Drive permission/size constraints beyond the schema's raw maxLength.

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?

With 0% schema description coverage, the description needed to compensate by explaining `name`, `mimeType`, and `base64Content`; it only paraphrases `base64Content` as 'base64-encoded file' and leaves `name` and `mimeType` semantics entirely to inference. The schema defaults and patterns do most of the work.

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 names a specific action ('Upload'), an input encoding ('base64-encoded'), a destination ('Google Drive'), and the returned values ('Drive file ID and URL'). This makes the purpose explicit and distinguishes it from the Classroom/Slides sibling tools without ambiguity.

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 provides clear context for when to call the tool: whenever a base64-encoded file needs to be uploaded to Google Drive. It does not list when-not cases or alternative Drive tools, but none of the sibling tools perform this operation, so no explicit exclusion is necessary.

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

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/pengusto/google-classroom-mcp'

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