Skip to main content
Glama
ftaricano

mcp-onedrive-sharepoint

by ftaricano

upload_file

Upload a local file to OneDrive or SharePoint by specifying remote path and optional site or drive. Choose conflict behavior: fail, replace, or rename.

Instructions

Upload a file to OneDrive or SharePoint

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localPathYesLocal file path to upload
remotePathYesRemote path where to upload (e.g., "/Documents/report.xlsx")
siteIdNoSharePoint site ID (optional)
siteNoKnown SharePoint site alias or canonical URL
siteUrlNoCanonical SharePoint site URL (optional alternative to siteId)
driveIdNoDrive ID for a specific document library (optional)
conflictBehaviorNoWhat to do if file already existsrename
Behavior2/5

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

Without annotations, the description must disclose behavioral traits. It only states 'Upload a file' and does not mention default conflictBehavior (rename), file size limits, or how OneDrive vs SharePoint is determined. The conflictBehavior is described only in the schema.

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, concise sentence with no redundant words. It effectively communicates the core purpose.

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?

Given the complexity of 7 parameters and many sibling tools for file operations, the description lacks critical context about return values, error handling, or when to use specific parameters like siteId vs site. No output schema is present to compensate.

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%, so the schema fully documents parameters. The description adds no extra meaning beyond the schema's parameter descriptions, meeting the baseline.

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?

Description clearly states 'Upload a file to OneDrive or SharePoint', specifying the verb (upload) and resource (file) with target platforms. It distinguishes itself from sibling tools like download_file, copy_item, etc., which perform different operations.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives like batch_file_operations or advanced_share. There is no mention of prerequisites, authentication, or scenarios where this tool is not appropriate.

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/ftaricano/mcp-onedrive-sharepoint'

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