Skip to main content
Glama
mdwsk88

MS 365-21V MCP Server

by mdwsk88

Download OneDrive File

drive_download_file

Download a OneDrive file by its item ID and receive the file contents as base64-encoded bytes, with responses limited to 10 MB.

Instructions

Download a OneDrive file and return its bytes as base64. The MCP response is limited to 10 MB. Chinese intents / 中文意图: 下载OneDrive文件, 读取网盘文件内容, 获取文件base64.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIdYesFile item ID.
Behavior3/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 usefully states that output is base64 and that the MCP response is limited to 10 MB, which is critical for size expectations. However, it does not mention permissions, read-only status, or failure behavior on missing/invalid item IDs, leaving room for more transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core behavior and the 10 MB limitation are stated in the first two sentences, keeping the most important information front-loaded. The third sentence with Chinese intent alternatives is somewhat extra but serves multilingual intent recognition without being verbose. Overall the description is compact and free of unnecessary filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter download tool with no output schema, the description explains the return format (base64), the key constraint (10 MB), and the resource type (OneDrive file), which is enough for invocation. It does not cover error handling or large-file alternatives, but the simplicity of the tool makes this acceptable.

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 schema fully documents the only parameter itemId as 'File item ID', giving 100% schema coverage. The description does not add additional parameter-level meaning or format guidance beyond what the schema already provides. The baseline of 3 is appropriate since the schema carries the parameter semantics.

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 opens with 'Download a OneDrive file' – a specific verb and resource – and further clarifies it returns base64 bytes. This distinguishes it from metadata tools like drive_get_item and from sharepoint_download_file by scoping to OneDrive. The added Chinese intent examples reinforce the purpose.

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 implies usage for downloading file content, but it does not explicitly state when to prefer this tool over siblings like drive_get_item or sharepoint_download_file. It also does not mention exclusions such as files larger than 10 MB being unsuitable. The Chinese intent mapping offers some context but no tool-selection boundary.

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/mdwsk88/ms-365-21v-mcp-server'

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