Skip to main content
Glama
mdev26

SharePoint MCP Server

by mdev26

Upload_Document

Upload documents to SharePoint by specifying folder path, file name, and content. Supports text and base64 encoded binary files.

Instructions

Upload a new document to SharePoint

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folder_pathYesDestination folder path
file_nameYesName of the file to create
contentYesFile content (text or base64 encoded for binary files)
is_binaryNoWhether the content is base64 encoded binary
Behavior2/5

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

No annotations are present, so the description bears the full burden. It does not disclose important behavior: whether existing files are overwritten, what happens on error, or required permissions. The word 'Upload' implies creation, but details are missing.

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 sentence with no wasted words. It is appropriately concise for a tool with high schema coverage.

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 tool has 4 parameters and no output schema, the description is too brief. It fails to mention return values, error handling, or behavior on duplicate file names. Compared to sibling tools, it lacks completeness.

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?

The input schema has 100% coverage with descriptions for all parameters. The description adds little beyond what the schema provides. It explains the tool's purpose but not parameter details. Baseline 3 is appropriate.

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?

The description clearly states 'Upload a new document to SharePoint', which is a specific verb and resource. However, it does not differentiate from sibling tools like Create_Word_Document or Update_Document, which also involve document creation/modification.

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. There is no mention of prerequisites, such as the folder needing to exist, or when to use Create_Folder first. This lack of context makes it hard for an AI to select correctly among siblings.

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/mdev26/mcp-sharepoint-us'

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