Skip to main content
Glama

onedrive_write_file

Write or upload files to OneDrive, allowing AI agents to save documents directly to your cloud storage.

Instructions

Write or upload file to OneDrive

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • server.js:54-54 (registration)
    The tool 'onedrive_write_file' is registered as a name in the TOOLS array. However, this entire server.js is described as a 'minimal MCP stub for Glama inspection' — the real server is a native binary, so there is no actual JS implementation of the handler logic in this codebase.
    ["onedrive_write_file", "Write or upload file to OneDrive"],
Behavior2/5

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

With no annotations, the description carries the full burden. It states the tool writes/upload a file, implying mutation, but offers no details on side effects (e.g., overwrite behavior), permissions needed, or error conditions. Critical transparency is missing.

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

Conciseness3/5

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

At one sentence, the description is concise, but it is overly terse and lacks any structural breakdown (e.g., what to provide, behavior). It earns its place minimally but could be expanded without losing conciseness.

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

Completeness1/5

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

Given no parameters, no output schema, and a two-word description, the tool definition is extremely incomplete. For a write operation, one would expect details on file specification, content encoding, conflict handling, and response. The context provides no such information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0 parameters, and description coverage is 100% by default, but the description adds no meaningful guidance on how to specify file content, path, or name. This is a major gap; a user/agent cannot infer how to provide the file data. Baseline for 0 params is 4, but the description fails to compensate, so score is reduced.

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 'Write or upload file to OneDrive' clearly identifies the tool's action (write/upload) and resource (OneDrive). It distinguishes from sibling tools like onedrive_read_file or onedrive_delete_file. However, it does not specify whether it supports overwriting or appending, which slightly reduces clarity.

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?

No usage guidelines are provided. The description does not indicate when to use this tool versus alternatives like onedrive_move_file or when one would not use it. There is no mention of prerequisites or conditions.

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/lanchuske/local-mcp-releases'

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