Skip to main content
Glama

Upload_Document_From_Path

Upload a local file to SharePoint by specifying its file path. Optionally set folder name or leave empty for library root.

Instructions

Upload a local file directly to SharePoint without converting to Base64 first. Use empty string for folder_name to upload to document library root.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folder_nameNo
file_pathNo
new_file_nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description reveals a key behavioral trait (no Base64 conversion), but omits other important details like error handling, permissions, or overwrite behavior, requiring the agent to infer.

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 concise sentences front-loaded with the core action and a key usage detail, with no wasted words.

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?

The description covers the basic purpose and one parameter hint, but is missing details on new_file_name semantics, error scenarios, and differentiation from sibling tools, leaving gaps.

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%; the description adds meaning for folder_name (empty string for root) but fails to explain file_path or new_file_name, leaving two parameters undocumented.

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 clearly states the tool uploads a local file to SharePoint without Base64 conversion, distinguishing it from sibling tools like Upload_Document. The verb 'Upload' and specific resource 'SharePoint' with the unique method are explicit.

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 provides context for when to use this tool (e.g., avoiding Base64 conversion) and a hint for folder_name usage, but lacks explicit when-not or alternative recommendations, leaving usage guidance incomplete.

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