SharePoint MCP Server
SharePoint MCP Server
MCP Server for Microsoft SharePoint using modern Azure AD (MSAL) authentication.
Prerequisites
Azure AD App Registration
Go to Azure Portal → Azure Active Directory → App registrations → New registration
Name: anything you like
Supported account types: "Accounts in this organizational directory only"
Redirect URI: leave empty
From the Overview page, note:
Application (client) ID →
SHP_ID_APPDirectory (tenant) ID →
SHP_TENANT_ID
Certificates & secrets → New client secret
Save the Value immediately (you won't see it again) →
SHP_ID_APP_SECRET
API permissions → Add a permission → SharePoint → Application permissions
Add
Sites.ReadWrite.All(orSites.Read.Allfor read-only)Click Grant admin consent — the status must show a green checkmark
Get your SharePoint site URL (e.g.
https://contoso.sharepoint.com/sites/yoursite) →SHP_SITE_URLDo NOT include a trailing slash
Security Best Practices
Use
Sites.Read.Allif you only need read access (principle of least privilege)Set a calendar reminder to rotate client secrets before expiry
Never commit
.envfiles to Git — use environment variables or a secrets manager
Related MCP server: SharePoint MCP Server
Installation
pip install mcp-sharepoint-usOr from source:
git clone https://github.com/mdev26/mcp-sharepoint-us.git
cd mcp-sharepoint-us
pip install -e .Configuration
# Required
SHP_TENANT_ID=your-tenant-id-guid
SHP_ID_APP=your-client-id-guid
SHP_ID_APP_SECRET=your-client-secret
SHP_SITE_URL=https://your-tenant.sharepoint.com/sites/your-site
# Optional
SHP_DOC_LIBRARY=Shared Documents # default
SHP_AUTH_METHOD=msal # options: msal (default), certificate, legacyCertificate-based authentication (optional)
SHP_AUTH_METHOD=certificate
SHP_CERT_PATH=/path/to/certificate.pem
SHP_CERT_THUMBPRINT=your-cert-thumbprintClaude Desktop Integration
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"sharepoint": {
"command": "python",
"args": ["-m", "mcp_sharepoint"],
"env": {
"SHP_TENANT_ID": "your-tenant-id",
"SHP_ID_APP": "your-client-id",
"SHP_ID_APP_SECRET": "your-client-secret",
"SHP_SITE_URL": "https://your-tenant.sharepoint.com/sites/your-site",
"SHP_AUTH_METHOD": "msal"
}
}
}
}Using uvx
{
"mcpServers": {
"sharepoint": {
"command": "uvx",
"args": ["mcp-sharepoint-us"],
"env": {
"SHP_TENANT_ID": "your-tenant-id",
"SHP_ID_APP": "your-client-id",
"SHP_ID_APP_SECRET": "your-client-secret",
"SHP_SITE_URL": "https://your-tenant.sharepoint.com/sites/your-site"
}
}
}
}Available Tools
Tool | Description |
| Verify authentication and connection |
| List documents in a folder |
| Read document content (supports .docx, .pptx, .xlsx, .pdf) |
| Upload a new document |
| Update an existing document |
| Delete a document |
| List folders |
| Create a new folder |
| Delete an empty folder |
| Get recursive folder structure |
| Create a formatted .docx and upload to SharePoint |
| Find/replace or section-replace content in a .docx |
| Create a .pptx and upload to SharePoint |
Troubleshooting
Enable debug logging
LOGLEVEL=DEBUG python -m mcp_sharepoint"Acquire app-only access token failed"
Ensure
SHP_TENANT_IDis set and correct (Azure Portal → Azure AD → Overview → Tenant ID)Ensure
SHP_AUTH_METHOD=msal(or leave unset — msal is the default)Verify admin consent is granted in Azure Portal (green checkmarks on API permissions)
After granting permissions, wait 5–10 minutes for propagation
"403 Forbidden" / "Access denied"
Permissions must be Application permissions, not Delegated
Admin consent must be granted
The site URL must exactly match the SharePoint site (no trailing slash)
"Invalid client secret"
Copy the secret Value, not the secret ID
Check for extra spaces in your
.envfileThe secret may have expired — create a new one
Connection reset / firewall issues
If authentication succeeds but Graph API calls fail (connection reset during TLS), the endpoint graph.microsoft.us (US Government) or graph.microsoft.com (commercial) may be blocked by a firewall using deep packet inspection. Ask your network team to whitelist the endpoint on port 443. For proxy environments:
export HTTPS_PROXY=http://proxy.company.com:8080License
MIT License
Available Tools
13 toolsCreate_FolderC
Create a new folder in SharePoint
| Name | Required | Description | Default |
|---|---|---|---|
| folder_path | Yes | Path where to create the folder | |
| folder_name | Yes | Name of the new folder |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are present, and the description lacks behavioral details such as whether the tool overwrites existing folders, requires specific permissions, or has any side effects. The description does not disclose what happens if the folder already exists.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence with no wasted words. It is front-loaded with the verb and object. However, it could benefit from additional context without losing conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simplicity of the tool (2 parameters, no output schema), the description is under-specified. It does not explain return values, error conditions, or success indicators, leaving the agent without enough context for robust invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 no extra meaning beyond the schema; it only repeats the tool's purpose. The parameter descriptions in the schema are sufficient.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool creates a new folder in SharePoint. The verb 'Create' and resource 'folder' are specific, and it is easily distinguishable from sibling tools like Delete_Folder or Upload_Document.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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, permissions, or scenarios where another tool might be more appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Create_PowerPointB
Create a formatted PowerPoint presentation (.pptx) with multiple slide layouts, text boxes, bullet points, images, tables, shapes, and rich formatting. Upload directly to SharePoint.
| Name | Required | Description | Default |
|---|---|---|---|
| folder_path | No | Destination folder path in SharePoint | |
| file_name | Yes | Name of the PowerPoint file (should end with .pptx) | |
| content | Yes | Array of slide objects with layouts and content |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so description carries full burden. It does not disclose behavioral traits such as whether it overwrites existing files, required permissions, or error handling. Agent lacks critical info.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence is concise but front-loaded with key info. Could be better structured with bullet points, but no waste.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Complex tool with nested content array, but description is brief. No output schema, so return value is unexplained. Schema covers param details, but description lacks usage examples or error handling context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so baseline is 3. Description adds no additional meaning beyond schema for parameters; it lists capabilities but doesn't elaborate on parameter usage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool creates a formatted PowerPoint presentation and uploads to SharePoint, with a specific verb and resource. It distinguishes from sibling tools like Create_Word_Document.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool vs alternatives, no prerequisites or context provided. The description mentions upload to SharePoint but doesn't specify when this is appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Create_Word_DocumentA
Create a formatted Word document (.docx) with headings, paragraphs, tables, lists, images, hyperlinks, horizontal rules, and page breaks. Supports rich formatting including colors, highlighting, and spacing. Upload directly to SharePoint.
| Name | Required | Description | Default |
|---|---|---|---|
| folder_path | No | Destination folder path in SharePoint | |
| file_name | Yes | Name of the Word document (should end with .docx) | |
| content | Yes | Array of content items (headings, paragraphs, tables, lists, images, hyperlinks, horizontal rules, page breaks) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses that the tool creates and uploads to SharePoint and supports rich formatting, but it lacks details on overwrite behavior, required permissions, error handling, or whether it's synchronous.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise with two sentences, front-loading the primary action and key features. Every sentence adds value without unnecessary detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the rich schema (100% coverage) and no output schema or annotations, the description covers the main functionality well. It could mention that it only creates new documents on SharePoint and perhaps note size limits, but it is sufficiently complete for a typical use case.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already has 100% coverage with descriptions. The description adds value by summarizing capabilities (e.g., 'rich formatting including colors, highlighting, and spacing') and linking the folder_path parameter to SharePoint upload, providing context beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Create', the resource 'formatted Word document (.docx)', and lists supported elements like headings, paragraphs, tables, etc. It distinguishes from siblings like Create_PowerPoint and Edit_Word_Document.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description mentions 'Upload directly to SharePoint' which implies usage context, but it does not explicitly state when to use this tool versus alternatives like Upload_Document or Edit_Word_Document. No exclusions or when-not instructions are provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Delete_DocumentB
Delete a document from SharePoint
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the file to delete |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are present, so the description carries the full burden. It only states 'Delete' without disclosing whether deletion is permanent, if a recycle bin is used, or if specific permissions are required. Safety implications are entirely unspecified.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence with no unnecessary words. However, it could be restructured to front-load critical behavioral details while remaining concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple delete tool with one parameter, the purpose is adequately conveyed, but the lack of behavioral disclosure and guidance makes it incomplete. The missing output schema is acceptable for a delete operation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already describes the file_path parameter with 100% coverage. The description adds no additional meaning beyond what the schema provides, meeting the baseline for complete schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Delete' and the resource 'document from SharePoint'. It distinguishes from sibling tools like Delete_Folder, which deletes a folder instead.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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 such as Delete_Folder or when deletion should be avoided. The description does not mention prerequisites, permissions, or conditions for safe use.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Delete_FolderB
Delete an empty folder from SharePoint
| Name | Required | Description | Default |
|---|---|---|---|
| folder_path | Yes | Path to the folder to delete |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of disclosure. It states the folder must be empty but does not describe what happens if it is not (e.g., error behavior), permission requirements, or whether the operation is reversible. This is minimal disclosure for a destructive action.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence of six words, with no unnecessary information. It efficiently conveys the core functionality.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a destructive operation with no output schema or annotations, the description should include behavioral details, error conditions, and post-conditions. It only states the requirement for an empty folder, leaving significant gaps for effective use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% as folder_path is described in the schema. The description adds no additional context about the parameter format, examples, or path conventions, so it meets the baseline without adding value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (Delete), resource (empty folder), and platform (SharePoint). It effectively distinguishes from sibling tools like Create_Folder and Delete_Document by specifying 'empty folder' and 'from SharePoint'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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 (e.g., Delete_Document) or on prerequisites such as ensuring the folder is empty before deletion. The description lacks situational context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Edit_Word_DocumentA
Edit an existing Word document (.docx) with find/replace operations and SECTION REPLACEMENT for monthly status reports. Preserves all formatting.
SIMPLE REPLACEMENT: Replace individual placeholders ({{company_name}} -> 'Acme Corp')
SECTION REPLACEMENT FOR MONTHLY REPORTS: Replace entire sections (8 bullets, tables) in one operation.
Perfect for monthly status reports where sections need to be updated each month
Use section markers: {{section:name}} ... {{/section:name}}
Replace all content between markers with fresh bullet points or table rows
Preserves formatting and list styles
USE CASES:
Monthly status reports: Replace {{section:status_bullets}} with 8 new status items
Metrics tables: Replace {{section:metrics}} with updated monthly data
Template filling: Replace {{company_name}} and other placeholders with actual values
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the existing Word document in SharePoint | |
| replacements | Yes | Array of replacement operations. Supports TWO FORMATS: 1. SIMPLE REPLACEMENT (single placeholder): {"find": "{{company_name}}", "replace": "Acme Corp"} 2. SECTION REPLACEMENT (for monthly reports - replaces entire sections like 8 bullets): { "find": "{{section:status_bullets}}", "replace_section": ["Item 1", "Item 2", "Item 3", ...], "section_type": "bullets" } Template must have section markers: {{section:status_bullets}} * Old bullet 1 * Old bullet 2 {{/section:status_bullets}} Section types: "bullets" (for bullet lists) or "table" (for tables) | |
| output_file_path | No | Optional: Path for the modified document. If not provided, overwrites the original file. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Despite no annotations, the description fully discloses behavioral traits: preserves formatting, supports two replacement modes, overwrites original by default unless output_file_path is provided, and explains section markers. No contradictions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Well-structured with clear sections for simple and section replacement, use cases, and formatting notes. Every sentence adds value; no superfluous content. Concise yet comprehensive.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 3 parameters, a standard schema, and no output schema, the description covers all necessary behavioral and usage aspects. It explains both replacement modes, markers, and output behavior completely.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% with detailed parameter descriptions. The description adds context and use-case examples but does not introduce new semantic meaning beyond the schema, meeting the baseline expectation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states the tool edits existing Word documents with find/replace and section replacement for monthly status reports. Distinguishes from siblings like Create_Word_Document, Delete_Document, etc., by focusing on editing existing .docx files with specific replacement operations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit use cases (monthly status reports, metrics tables, template filling) and explains when to use simple vs. section replacement. Does not explicitly contrast with similar tools like Update_Document, but the context is clear enough for an AI agent to select appropriately.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Get_Document_ContentC
Get the content of a document (supports text extraction from PDF, Word, Excel, and text files)
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the file (relative to document library root) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must fully disclose behavioral traits. It mentions text extraction from specific formats but omits important details such as what happens with unsupported formats, rate limits, file size constraints, or whether it returns plain text or binary data. This lack of detail limits transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that directly states the tool's purpose and supported formats. It is front-loaded with verb and resource, and contains no filler. Minor deduction for missing a second sentence about output, but overall very concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (one parameter, no output schema), the description is mostly adequate. However, it fails to clarify the return type (e.g., plain text, extracted content) or error handling for unsupported formats. The absence of an output schema increases the burden on the description, which is not fully met.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema description coverage, the schema already documents the sole parameter 'file_path' and its meaning. The description adds no new information beyond the schema, so it meets baseline expectations but does not enhance understanding.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Get the content' and the resource 'document', and lists supported formats (PDF, Word, Excel, text files). This distinguishes it from sibling tools focused on creation, deletion, or listing. However, it does not specify what form the content takes (e.g., raw text vs. extracted text) or the output format, preventing a top score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus alternatives like Get_SharePoint_Tree or List_SharePoint_Documents. The description implies it is for reading document content, but does not include exclusions, prerequisites, or context on when it is appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Test_ConnectionA
Test the SharePoint connection and authentication
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden but only states the action without disclosing details like whether it's read-only, what it returns, or authentication specifics.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single, brief sentence that immediately conveys the tool's purpose with no unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple diagnostic tool with no parameters or output schema, the description is sufficient, though it could mention expected results.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
No parameters exist, so baseline 4 applies. The description adds meaning beyond the empty schema by clarifying the tool's purpose.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's action ('Test') and resource ('SharePoint connection and authentication'), distinguishing it from sibling tools that perform CRUD operations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus alternatives, but the purpose implicitly suggests using it before other SharePoint operations to verify connectivity.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Update_DocumentB
Update the content of an existing document
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the file to update | |
| content | Yes | New file content | |
| is_binary | No | Whether the content is base64 encoded binary |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden but only says 'Update', implying replacement without specifying whether it overwrites, appends, or requires existing file. No mention of permissions or binary handling beyond schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, no fluff. Could be slightly more detailed without harming conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema and no annotations. For a mutation tool with 3 params, description lacks important behavioral details like overwriting behavior and file existence requirements.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, but description adds no extra meaning beyond param names and schema descriptions. Baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Update' and the resource 'existing document', distinguishing it from sibling tools like Create_*, Delete_*, or Edit_Word_Document.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No usage context, when-to-use, or when-not-to-use guidance is provided. No mention of prerequisites or alternatives like Edit_Word_Document for specific formats.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Upload_DocumentC
Upload a new document to SharePoint
| Name | Required | Description | Default |
|---|---|---|---|
| folder_path | Yes | Destination folder path | |
| file_name | Yes | Name of the file to create | |
| content | Yes | File content (text or base64 encoded for binary files) | |
| is_binary | No | Whether the content is base64 encoded binary |
TDQS
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.
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.
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.
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.
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.
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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
13 tool updates
v2.5.6- First observed
Create_Folder - First observed
Create_PowerPoint - First observed
Create_Word_Document - First observed
Delete_Document - First observed
Delete_Folder - First observed
Edit_Word_Document - First observed
Get_Document_Content - First observed
Get_SharePoint_Tree - First observed
List_SharePoint_Documents - First observed
List_SharePoint_Folders - First observed
Test_Connection - First observed
Update_Document - First observed
Upload_Document
TDQS
Most tools have distinctly clear purposes, but 'Edit_Word_Document' and 'Update_Document' could be confused (both modify a document), and 'Upload_Document' overlaps partially with 'Create_Word_Document' and 'Create_PowerPoint'. However, detailed descriptions help differentiate them.
Tool names follow a verb_noun pattern, but the nouns vary in specificity (e.g., 'Create_PowerPoint' vs. 'Create_Word_Document', and 'List_SharePoint_Documents' vs. 'Get_Document_Content'). The mix of 'Get_', 'List_', 'Create_', 'Delete_', 'Edit_', 'Update_', 'Upload_', and 'Test_' is acceptable but lacks full consistency.
With 13 tools covering folder and document operations, plus connection testing and tree view, the count is well-scoped for a SharePoint integration. It provides essential functionality without being bloated or too sparse.
The tool set covers CRUD for folders and documents, with specialized creation for Word and PowerPoint. Gaps include inability to delete non-empty folders, lack of rename/move operations, and no search or permission management. These are minor but notable.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Create and manage documents, spreadsheets, and presentations from your AI assistant.
- SkilderOAuthai.skilder
One place to build, share, and govern the skills and tools your AI agents use at work.
Manage files and folders directly from your workspace. Read and write files, list directories, cre…
File uploads for AI agents. Upload, list, and manage files. No signup required.
Related MCP Servers
- FlicenseDqualityDmaintenanceProvides access to organizational Sharepoint documents through the Microsoft Graph API, enabling search and retrieval of Sharepoint content for AI assistants.12221-
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Microsoft SharePoint sites, document libraries, and files through the Microsoft Graph API. Supports browsing, searching, uploading/downloading files, managing lists, and creating sharing links with secure OAuth authentication.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables browsing and interacting with Microsoft SharePoint sites and documents through Microsoft Graph API, supporting file search, site listing, document library browsing, and file content retrieval with OAuth2 authentication.3910MIT
- AlicenseAqualityDmaintenanceProvides Claude with access to Microsoft SharePoint via the Microsoft Graph API, enabling folder management, document operations (upload, download, read, update, delete), and metadata management with secure OAuth 2.0 authentication.16MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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