Skip to main content
Glama
mdwsk88

MS 365-21V MCP Server

by mdwsk88

Upload Small SharePoint File

sharepoint_upload_small_file

Upload a small file to a SharePoint document library using a path relative to the library root. Resolve name conflicts with replace, rename, or fail options.

Instructions

Upload a small file to a SharePoint document library using a path relative to the library root. Requires delegated Files.ReadWrite.All. Chinese intents / 中文意图: 上传SharePoint文件, 上传文档到站点, 保��文件到团队文档库.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesTarget path relative to the library root, for example Reports/demo.txt.
contentYesFile content. Use raw text for text mode or base64 for base64 mode.
driveIdYesSharePoint document-library drive ID.
contentTypeNoOptional MIME type.
contentEncodingNoContent encoding. Defaults to text.
conflictBehaviorNoName conflict behavior. Defaults to replace.
Behavior2/5

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

With no annotations provided, the description carries the full burden for disclosing behavior. It mentions the permission requirement (delegated Files.ReadWrite.All), which is useful, but fails to explain what 'small' means (file size limit), what happens on conflict despite the conflictBehavior parameter existing, or what response/return value to expect. This is a significant gap for a write operation.

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 description is concise, with the main purpose stated first and permission next. The Chinese intents are extra but add multilingual accessibility without bloating the text. It is appropriately sized, though the Chinese part is somewhat redundant and contains a character corruption (保��文件), which slightly detracts.

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?

The tool has 6 parameters, no output schema, and no annotations. The description explains purpose and permission but is incomplete for a mutation tool. It does not mention how to obtain driveId, what size limit 'small' refers to, the default conflict behavior, or the shape of a success response. This is inadequate for an AI agent to invoke it confidently in a real workflow.

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 baseline is 3. The description adds minimal extra meaning beyond the schema—only emphasizing the 'path relative to the library root' concept, which is already in the schema. It does not enhance understanding of contentEncoding or conflictBehavior beyond their enum definitions.

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 states a specific verb ('Upload'), resource ('SharePoint document library'), and method ('using a path relative to the library root'). It clearly distinguishes this from the sibling drive_upload_small_file by specifying SharePoint rather than a generic drive.

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

Usage Guidelines3/5

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

The description implies usage for uploading small files to SharePoint libraries and mentions the required permission, but it does not explicitly compare to alternatives like drive_upload_small_file or state when to use this versus other SharePoint file operations. There is no explicit 'when not to use' guidance.

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/mdwsk88/ms-365-21v-mcp-server'

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