Skip to main content
Glama

manage_drive_file

Copy, move, or delete Feishu Drive files and folders. Provide file token, resource type, and action; optionally specify destination folder or new name.

Instructions

[Official API] Manage a Drive file/doc/folder. action=copy (duplicate to a new name + folder), move (relocate, returns task_id), delete (remove, returns task_id). type is always required (Feishu rejects with 1061002 / 1062501 otherwise).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesOperation to perform
file_tokenYesFile/folder token to operate on (required for all actions).
typeYesResource type — Feishu requires this to know which API table to look up.
nameNoNew name — required for action=copy.
folder_tokenNoDestination folder token — required for action=move; optional for action=copy (defaults to root).
Behavior4/5

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

With no annotations, the description discloses behavioral traits: actions return task_id for move/delete, type field is required with specific error codes. This provides useful transparency, though it could mention if operations are synchronous or destructive.

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 concise, front-loaded with purpose, then breaks down actions in one sentence each. Every word adds value—no fluff.

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 no output schema, the description describes return values for move/delete (task_id) but omits copy's return. It covers required fields and error conditions, satisfying most contextual needs for a 5-param tool.

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%, but the description adds context beyond enum labels: explains why type is always required (Feishu API table), and clarifies parameter conditions (name required for copy, folder_token for move).

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 clearly states the tool manages Drive files with three specific actions (copy, move, delete), each with a brief explanation. This distinguishes it from sibling tools like upload_drive_file or delete_calendar_event.

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 provides important requirements (type is always required) and error codes, but lacks explicit guidance on when to use this tool versus alternatives like move_wiki_node or create_doc. Usage is implied but not contrasted.

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/EthanQC/feishu-user-plugin'

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