Skip to main content
Glama

download_document

Download SharePoint documents to your local filesystem by specifying file names and save locations for offline access.

Instructions

Download a document from SharePoint to the local filesystem

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folder_pathNoSharePoint folder containing the document
file_nameYesName of the file to download
local_pathYesLocal path to save the file (including filename)
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 of behavioral disclosure. It states the action but lacks critical details: it doesn't specify if this overwrites existing local files, requires specific permissions, handles errors (e.g., missing files), or has rate limits. For a tool that writes to the local filesystem, this omission is significant and could lead to misuse.

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?

The description is a single, direct sentence that efficiently conveys the core action without any fluff. It's front-loaded with the key verb ('Download') and resource, making it easy to parse. Every word earns its place, and there's no redundancy or unnecessary elaboration.

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 complexity of a file operation with no annotations and no output schema, the description is incomplete. It doesn't explain what happens on success (e.g., file saved, path returned) or failure, nor does it cover behavioral aspects like overwriting or permissions. For a tool that interacts with both SharePoint and the local filesystem, more context is needed to use it safely and effectively.

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 schema already documents all three parameters ('folder_path', 'file_name', 'local_path') with clear descriptions. The description adds no additional meaning beyond implying a download operation, which is already evident from the tool name. This meets the baseline for high schema coverage but doesn't enhance understanding.

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 action ('Download') and resource ('a document from SharePoint to the local filesystem'), making the purpose immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'get_document_content' (which might retrieve content without saving locally) or 'upload_document' (the inverse operation), leaving some ambiguity about when this specific tool is preferred.

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?

The description provides no guidance on when to use this tool versus alternatives. For example, it doesn't mention whether this is for saving files locally versus just viewing content (compared to 'get_document_content'), or if it requires authentication first (though 'authenticate' is a sibling). There's no context about prerequisites, exclusions, or typical scenarios.

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

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