Skip to main content
Glama
mdwsk88

MS 365-21V MCP Server

by mdwsk88

Rename SharePoint Library Item

sharepoint_rename_drive_item

Rename a file or folder in a SharePoint document library by providing its drive ID, item ID, and new name. Simplifies updating document names in Microsoft 365.

Instructions

Rename a file or folder in a SharePoint document library. Chinese intents / 中文意图: 重命名SharePoint文件, 修改文档库文件名, 重命名团队文件夹.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIdYesFile or folder item ID.
driveIdYesDocument-library drive ID.
newNameYesNew name.
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only states 'Rename a file or folder' without mentioning side effects, permanence, permissions, or error behavior. It does not contradict anything, but it also adds minimal behavioral context beyond the obvious mutation.

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 two short sentences, with the core English sentence first and Chinese translations appended for multilingual support. No unnecessary words or repetition. It is front-loaded and efficient.

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

Completeness2/5

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

As a mutation tool with no annotations and no output schema, the description should explain what happens after the rename (e.g., successful response, updated item) or any prerequisites. It only states the action, leaving out behavioral expectations like whether the rename is immediate or if there are restrictions. This is a notable gap for a simple but state-changing operation.

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?

All three parameters (driveId, itemId, newName) are fully described in the input schema (100% coverage). The description adds no additional parameter-level detail, so it relies entirely on the schema, which is adequate. Baseline 3 is appropriate.

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 uses a specific verb ('Rename') and identifies the exact resource ('file or folder in a SharePoint document library'). This clearly distinguishes it from sibling drive_rename_item (which targets OneDrive/Drive) and sharepoint_move_drive_item. The Chinese intent strings further 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 use for SharePoint document libraries, which differentiates from the generic drive_rename_item. However, it does not explicitly say when to prefer this over alternatives, nor does it mention any exclusions or prerequisites. The context is clear but not contrasted with siblings.

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