Skip to main content
Glama

Update_Document

Overwrite the content of an existing SharePoint document. Provide file name, folder (empty for root), and new content.

Instructions

Overwrite the content of an existing SharePoint document. Use empty string for folder_name for files in document library root.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folder_nameNo
file_nameNo
contentNo
is_base64No

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations provided, so description must carry full burden. It only states the action (overwrite) without detailing necessary permissions, side effects, or behavior if file does not exist. Minimal disclosure beyond the core action.

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?

Two clear, front-loaded sentences with no unnecessary words. Highly concise.

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?

Adequate for a simple update operation with an output schema, but lacks context on content format, base64 usage, and how it interacts with other document operations.

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 0%, but the description adds meaning for folder_name. However, it fails to explain file_name, content, and is_base64 parameters, leaving gaps for an agent.

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 the tool overwrites content of an existing SharePoint document, with a specific verb and resource. However, it does not explicitly differentiate from sibling tools like Upload_Document, which also involves writing content.

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?

Provides a specific usage hint about using empty string for folder_name for root library files, but lacks guidance on when to use this tool versus alternatives like Update_File_Metadata or Upload_Document.

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

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