Skip to main content
Glama
M365 Assistant MCP Server

M365 Assistant MCP Server

by ryaker

onedrive-upload-large

Upload files larger than 4MB to OneDrive via chunked upload, with options to rename, replace, or fail on conflicts.

Instructions

Upload a large file (> 4MB) to OneDrive using chunked upload

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>",
      "content": "<content>"
    },
    "name": "onedrive-upload-large"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesDestination path including filename (e.g., '/Documents/largefile.zip')
contentYesFile content to upload
conflictBehaviorNoBehavior when file exists: 'rename' (default), 'replace', or 'fail'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the chunked-upload mechanism, which hints at multi-request behavior, but says nothing about auth requirements, retry/resume semantics, maximum file size, or what a partial failure leaves behind.

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?

A single front-loaded sentence with the size threshold and mechanism stated immediately; no filler or redundant restatement of the tool name.

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?

With no annotations and no output schema, the description should do more for a write operation: it never says what is returned on success, whether large uploads are resumable, or what the default conflict behavior means in practice. The schema covers parameters well, so the gap is behavioral rather than structural.

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 100% with an enum on conflictBehavior, so the schema already documents all three parameters fully. The description adds no extra meaning such as accepted content encodings (base64 vs raw) or how 'content' is chunked internally.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Upload'), resource ('OneDrive'), and a size threshold ('> 4MB') plus the mechanism ('chunked upload'). The size threshold implicitly separates it from the sibling onedrive-upload, though it never names that sibling.

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 '> 4MB' qualifier gives a clear condition for choosing this tool over a plain upload, which is the key routing decision. It stops short of explicitly naming onedrive-upload as the alternative for smaller files or stating what happens if a smaller file is passed.

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