Skip to main content
Glama

nworks_drive_upload

Upload files to LINE WORKS drive using base64 content or local file paths. Supports user-specific folders and optional overwrite functionality.

Instructions

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

Input Schema

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

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

Without annotations, the description effectively discloses the OAuth authentication requirement ('User OAuth file scope 필요') and explains the dual input methods. However, it lacks details on return values, side effects, or size constraints typical for file upload operations.

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?

Three well-structured sentences efficiently convey the tool's purpose, authentication requirements, parameter usage patterns, and contextual recommendations without redundancy.

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?

The description adequately covers the 6-parameter input schema and authentication needs for this mutation tool, but lacks disclosure of return values or mutation side effects expected for a write operation given the absence of both annotations and output schema.

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?

With 100% schema coverage establishing a baseline of 3, the description adds crucial semantic context by explaining the mutual exclusivity of content+fileName versus filePath approaches and recommending the appropriate method for MCP environments.

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 phrase '파일을 드라이브에 업로드합니다' provides a specific verb (upload) and resource (file to drive), clearly distinguishing this tool from siblings like nworks_drive_download and nworks_drive_list.

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 explicitly contrasts two parameter approaches ('content(base64)와 fileName으로 전달하거나, filePath로...') and provides a clear contextual recommendation ('MCP 클라이언트에서는 content+fileName 방식을 권장합니다'), though it does not explicitly state when to use upload versus other drive operations.

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