Skip to main content
Glama

nworks_drive_upload

Upload files to LINE WORKS Drive using base64 content or a local file path. Specify destination folder and overwrite option to manage existing files.

Instructions

파일을 드라이브에 업로드합니다 (User OAuth file scope 필요). content(base64)와 fileName으로 전달하거나, filePath로 로컬 파일 경로를 지정합니다. MCP 클라이언트에서는 content+fileName 방식을 권장합니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userIdNo대상 사용자 ID (미지정 시 me)
contentNo업로드할 파일 내용 (base64 인코딩). filePath 대신 사용
fileNameNo파일명 (content 사용 시 필수)
filePathNo업로드할 로컬 파일 경로 (content 대신 사용, 로컬 환경에서만 동작)
folderIdNo업로드할 폴더 ID (미지정 시 루트)
overwriteNo동일 파일명 덮어쓰기 (기본: false)
Behavior4/5

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

The description adds behavioral details beyond annotations: it specifies the required User OAuth file scope and the local-only constraint for filePath. It also implies the tool is a write operation (consistent with readOnlyHint=false) but does not disclose side effects like size limits or conflict handling beyond the overwrite parameter (already in schema). No contradiction with annotations.

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 three concise sentences with no redundant wording. It front-loads the core purpose and OAuth requirement, then explains the two input methods, and concludes with a practical recommendation. Every sentence earns its place, and the structure is easy to scan.

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?

Given the lack of an output schema, the description covers the essential invocation details: authentication scope, content delivery options, and parameter composition. It does not explain the return value or error behavior, but for an upload operation that is typically not critical. The schema covers folderId and overwrite defaults, so the description is sufficiently complete for an agent to call the tool correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description enhances parameter semantics by emphasizing the recommended combination (content+fileName) over filePath, and clarifies that filePath is local-only. This adds value beyond the schema's descriptions, which are already detailed but do not convey usage preference or environment constraints.

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 explicitly states 'Uploads file to drive' with a clear verb and resource. It distinguishes from siblings like nworks_drive_list and nworks_drive_download by focusing on the upload action and specifying two content delivery methods. The OAuth scope requirement adds operational context, making the tool's purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear usage guidance for the two input methods: it recommends content+fileName for MCP clients and notes that filePath works only in local environments. This helps the agent decide which parameters to use. However, it does not explicitly compare this tool to other drive operations (e.g., when to upload vs. list), though the name makes that obvious.

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/yjcho9317/nworks'

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